Usage C# with Example



Usage C# with Example

Collection filters = new List(); QueryFilter filter = new QueryFilter("Name", "Burger", Operator.StartsWith); 
filters.Add(filter); 
Expression> query = ExpressionBuilder.GetExpression(filters); 
In this case, it is a query against the Food entity, that want to find all foods that start with "Burger" in the name. 
Output: 
query = {parm => a.parm.StartsWith("Burger")} 
Expression> GetExpression(IList filters) 
 

0 Comment's

Comment Form

Submit Comment