Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. resharper intellisense problem with extension methods
  2. IQueryable<Customer> Customers{...}
  3.        
  4. public static IQueryable<Customer> WithID(this IQueryable<Customer> customers, int ID){...}
  5.        
  6. var c = repo.Customers().WithID(5).Single();
  7.        
  8. var c = repo.Customers().Wi
  9.        
  10. var c = CustomerExtensions.WithID(repo.Customers())