Language: C#
Code Sample
1: ParameterExpression pc = Expression.Parameter(typeof(Customer), "c"); 2: 3: IQueryable<Customer> q3 = 4: dc.Customers.Where<Customer> 5: ( 6: Expression.Lambda<Func<Customer, bool>> 7: ( 8: Expression.Equal( 9: Expression.Property(pc, typeof(Customer).GetProperty("City")), 10: Expression.Constant("London", typeof(string)) 11: ), 12: new ParameterExpression[] { pc } 13: ) 14: );
Tags:
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

