The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact [email protected].

DotNetNuke Linq to Sql Model Adapter

Brandon Haynes has created a Linq to SQL adapter that works with the database owner and the object qualifier setting in DotNetNuke. Previously this was impossible. I have to admit I kinda begged him to release this to the community and he agreed. He has a project on CodePlex (and the DNN Forge):

So using this code and code from LinqPrep (to automatically add the keys to the web.config to support LInq to SQL) you can now use Linq to SQL (and Linq to Entities) in your commercial DotNetNuke modules in DNN4. DNN5 does not need LinqPrep because the functionality to support Linq to SQL is already built in.

You can show your appreciation to Brandon by providing your feedback on his site or on the CodePlex project site.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.