Multiple Item support for same property in where clause : LinqExtender

April 7, 2008 01:11 by Admin

Mehfuz's adds the ability to use the same property multiple times in the where clause of a query to LinqExtender.  That's a little confusing, so here is the example that he gave:

var query = from book in _context.Books
            where book.PublishedDate > someDate 
            and book.PublishedDate < someDate
            select book;
 
 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

January 5. 2009 23:14