c# - EF Check a Lazy Property without load it -


i have instance of class loaded db.myclassset.asnotracking(). entity not tracked on context. need know if onetomany property of myclass loaded.

if try access reflections exception:

when object returned notracking merge option, load can called when entitycollection or entityreference not contain objects.

any idea?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -