标签: c# oracle linq
Oracle有一个有趣的功能,可以通过使用父字段来构建行的路径。我需要将其转换为C#...如何使用LINQ或简洁的方式实现?
SELECT sys_connect_by_path(AL.AL_DESCRIPTION, '\') FullPath FROM ALL_LISTS AL CONNECT BY (PRIOR AL.AL_ITEM_ID = AL.AL_FATHER_ID) START WITH (AL.AL_FATHER_ID = 0)