c# - Oracle CONNECT BY PRIOR equivalent in LINQ? -


how achieve oraclel's connect prior output using linq? need hierarchy , level using linq?

there isn't one. linq not have special support recursive queries.

an approach can use write method fetches top level using linq query, method calls recursively children each of items received far. can result in lot of small linq queries might not desiarable.

a different approach use stored procedure containing recursive query , call using linq.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -