LINQ in Action roller

how to support dynamic-conditioned queries?

i know i can write code like this: Code Snippet List ReadEntities() where T : class { //db is DBContext var tCollection = from tObj in db.GetTable() select tObj; return tCollection.ToList(); } to dynamically return a List of entities. However if i wanna add some condition, how it should go? i need support Generic. Thanks Read More...
Published Tuesday, July 31, 2007 7:04 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication