Welcome to weblogs.com.pk Sign in | Join | Help

DLINQ

Here is a simple web app using DLINQ. In case you are curious how to setup LINQ/DLINQ for web apps; read this...

For the DLINQ; you need to create a class decorating it with DLINQ attributes. I have created one such class below.

Once you have all such classes; you need to implement another class inheriting it from System.Data.Dlinq.DataContext.

With things being setup; querying is quite straight forward. I guess you must have realized by now the productivity gain with DLINQ. Don’t forget to include using System.Query

Creating Dlinq decorated classes is combursom; CodeSmith is here to rescue. You can use template like this one to create these classes.

Published Friday, April 14, 2006 8:40 PM by khurram
Filed under:

Comments

No Comments

New Comments to this post are disabled