Search Wiki:
Project Description
LinqExtender is a toolkit for creating custom LINQ providers without knowing anything of how expression is parsed or processed and focusing on only the business logic. You just need to extend its query class , declare the query object and override some methods to put your logic and its done.

linqExtender.jpg

Getting Started
You can start creating LINQ providers using LinqExtender by either of the two following ways:

Download the LinqExtender.dll from LinqExtenderPack.zip, reference it in your project. It is required to add the reference of System.Core namespace , for Core LINQ capabilities on which the LinqExtender depends.
OR
Use the template package for visual studio from LinqExtenderPack.zip

Note: visual studio project template is installed under documents/Visual Studio 2008/Templates/ProjectTemplates folder.

Requirement
.Net 3.5 to use this query framework.

IDE Environment to run source
Visual Studio 2008, Express or Better

News
Current extender version : 1.3.2.0

Please check out Features wiki page

Reference
  1. LINQ.Flickr is already created with LinqExtender api, you may want to check that out at http://www.codeplex.com/LINQFlickr
  2. How to create custom provider with LinqExtender at http://dotnetslackers.com/articles/csharp/CreatingCustomLINQProviderUsingLinqExtender.aspx

To get more idea about LINQ providers, you can also check my blog at http://weblogs.asp.net/mehfuzh, where i tried to make couple of posts regarding LINQ providers.


Misc
To run the test project, the following line should be executed.
Run the script from OpenLinqToSql.Test\Database folder


Last Updated Features Page on July 2008
Last edited Jul 13 at 5:36 AM  by mehfuzh, version 39
Comments
funky81 wrote  Dec 8 2007 at 10:47 PM  
Do you have start up guide?

mehfuzh wrote  Dec 9 2007 at 5:01 PM  
Not a formal doc, but you can see this,
http://weblogs.asp.net/mehfuzh/archive/2007/12/02/linqextender.aspx

Also, check out the LINQ.Flickr project, to see live example of it.

In addition, in the new release , i wll upload a TinyLINQToSql provider, that will give more light on using LinqExtender.

Hope this helps

funky81 wrote  Dec 10 2007 at 1:44 AM  
I've read your blog about LINQ.Flickr. very interesting and very helpful also.
In this case, I dont have to think alot about this new toy, expression.
Will you make part 2 for Expression Basic in your blog? I'll look forward to see your next release which support grouping and projection.

mehfuzh wrote  Dec 10 2007 at 4:14 AM  
Sure i will, in the meantime , check this out as well
http://dotnetslackers.com/articles/csharp/LINQProviderBasics.aspx

lprichar wrote  Mar 18 at 1:29 PM  
Mehfuz, Thanks for this project, it's really a wonderful idea, and once it's mature will be a fantastic starting point for custom linq providers. However, until it can support more than one "where" clause per field, I'm sorry to say it's relatively unusable (e.g. from e in Events where e.StartDate > dateOne && e.EndDate < dateTwo). I was tempted to make the change myself and submit as a feature, but any changes would break any existing users of the project since it would change the underlying data structures. Please keep up the good work though, it is a fantastic idea and I'm sure will be extremely useful in the near future.

mehfuzh wrote  Mar 26 at 8:31 PM  
Multiple where clause per field is implemented in Rev 9584

Updating...