Guest User

Untitled

a guest
Jul 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. from row in Parent_Table
  2. select new{
  3. Parent_Table.include("child_table").Select("SomeField").Max(),
  4. row
  5. }
  6.  
  7. myObjectQuery.Include("Proj_PF_" + state_Year).Select("phisicalImprovement").Max();
  8.  
  9. 'phisicalImprovement' is not a member of 'Transient.collection[NezaratModel.Proj_PF_58_89(Nullable=True,DefaultValue=)]'. To extract a property of a collection element, use a subquery to iterate over the collection. Near simple identifier
  10.  
  11. var query = (new ObjectQuery<YourEntity>("SELECT VALUE ...")).Include("SomerRelation");
Add Comment
Please, Sign In to add comment