Hello, Let say that i have in datacontext a class called Product It's possible to add new methods or properties at Product class and than used them in a linq statement. something like this Code Snippet public partial class Product { public int NewProperty { get {return this.ID*2;} } //or public int Property() { return this.ID*2; } } .............. var q=from item in context.Products where item.NewProperty==2 select item ; I tried with expression functions delegate but i didn't succeed.
Read More...