Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. context.GetEntities<Product>().Select(a => new { a.Name,a.Cost }).ToList();
  2.  
  3. public object GetEntities<T>(IEnumerable<string> proeprtyNames)
  4. {
  5. return //anonymous entities which have only proeprtyNames properties
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement