IdeaBlade.Linq Assembly > IdeaBlade.Linq Namespace : PredicateDescription Class |
'Declaration
Public Class PredicateDescription
'Usage
Dim instance As PredicateDescription
public class PredicateDescription
public void PredicateBuilderMake() { var mgr = new DomainModelEntityManager(); var expr1 = PredicateBuilder.Make(typeof(Product), "UnitPrice", FilterOperator.IsLessThanOrEqualTo, 10); var expr2 = PredicateBuilder.Make(typeof(Product), "Discontinued", FilterOperator.IsEqualTo, false); var results = mgr.Products.Where(expr1.And(expr2)).ToList(); }
System.Object
IdeaBlade.Linq.PredicateDescription
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2