Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- context.GetEntities<Product>().Select(a => new { a.Name,a.Cost }).ToList();
- public object GetEntities<T>(IEnumerable<string> proeprtyNames)
- {
- return //anonymous entities which have only proeprtyNames properties
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement