LINQ4SPIf you are a SharePoint developer, most probably you have heard about
the LINQ to SharePoint project on CodePlex. You may have also tried it
several times. Our company did that too, but after deeper
investigations we decided to create our own LINQ implementation,
LINQ4SP. Why?
Here you can find our reasons:
- Our architecture is built on design patterns and has a clean and
easy maintainable structure. We make use of the visitor pattern by
evaluating the LINQ expressions as is the case in other LINQ
implementations. This reduces the code, simplifies the structure and
creates an easy extendable solution.
- Our code generator operates SPWeb based, not SPSite based, so it’s
not limited to the lists on the root web of every site collection.
- We make use of internal names instead of the display names, which
makes it possible to alter the list definitions and wording as the end
users whish, it will not crash the applications developed with this
library.
- Support for all built in column types of SharePoint 2007 and plan to add support for custom fields too.
- This solution will be well and thoroughly tested, supported and
further developed, because it’s already used in our everyday work in
our running implementation projects.
- Our implementation has support for list item creation, altering and deletion.
- Our implementation has support for content types both in the code
generator and in the query syntax. It’s possible to query list based on
the assigned content types.
- Support for content type inheritance. This means: for example, you
have content type A and B, where both inherit from C. If you have a
list, where you only attach A and B to, you will still be able to query
the list based on the common content type C.
- Support for special content types:
- Our implementation comes with an operation based context based (a separate context for every session)
LINQ4SP RC2 is released and can be
downloaded. If you are interested, you can find the install kit and Release Notes on
this URL.
If
you have tried it or just generally have some thougths please feel free
to comment here or e-mail me at molnar.agnes{at}lmsolutions.hu
If you find any bugs, and would like to report it to the developers, here is the issue tracker of the project: bugs.lmsolutions.hu - after opening site select project LINQ4SP.
As
this will be a commercial product in the near future, active testers
will be rewarded if they decide to buy our solution later on.
This page was last modified on November 21, 2008 09:22