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
Post a Comment