entity framework - Linq-to-entities - Include() method not loading -
If I use one join, then the Include () method is no longer working, for example :
FromJoin DC.INT.IN ("Properties"). ID is equal to I.Member.ID on I.EM (select i.collection.ID == Collection ID)>
E . Propertiesnot loadedinclude, without joining () works
li
Icons using the Include () The E-Framework has known limitations. Some operations are not included in the included only.
It seems that you can run on those boundaries as one, to work around it, you should try to do something like this:
Var result = e not included in dc.Entities // Notice E at d.Items. IID is equal to I.Member.ID where (i.Collection.ID == collectionID) select new {unit = e, property = e. Property}; This property will return, and if the relation between entity and property is multiple (but not many), you will find that each resulting anonymous type is similar in these values: AnonType.Entity.Properties anonType.Properties
This unit is a side-effect of a feature in the framework called Relation Fixup.
For more information see this in me.
Comments
Post a Comment