How to implement IQueryable (by Kevin Halverson)

Published 11 July 07 03:15 PM

Here’s a link to a post I just finished on ‘How to implement IQueryable’ (create a custom Linq provider).

http://blogs.msdn.com/kevin_halverson/archive/2007/07/10/how-to-implement-iqueryable.aspx

My example project allows you to query the Windows Vista (Desktop) Search engine for files on your local machine.  For example:

        Dim index As New WDSQueryObject

        Dim cutoffDate = #6/28/2007#

 

        Dim r = From file In index _

                Where file.CreationTime > cutoffDate And _

                file.Name Like "%.exe" _

                Select file.FullName, file.CreationTime

 

Comments

# jared halverson said on June 7, 2008 8:02 AM:

PingBack from http://christianplace.yourfreehosting.net/jaredhalverson.html

New Comments to this post are disabled

This Blog

Syndication

Page view tracker