CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: Iver
C#
ParameterExpression pc = Expression.Parameter(typeof(Customer), "c");
 
IQueryable<Customer> q3 =
    dc.Customers.Where<Customer>
    (
        Expression.Lambda<Func<Customer, bool>>
        (
            Expression.Equal(
            Expression.Property(pc, typeof(Customer).GetProperty("City")),
            Expression.Constant("London", typeof(string))
by Iver   January 19, 2010 @ 8:13pm
Tags: Linq
369 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate