Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...LINQ To SQL vs.  DNN DAL LINQ To SQL vs. DNN DAL
Previous
 
Next
New Post
9/4/2009 9:59 PM
 

andyb12 wrote
 

If you are only going to use a single install for each database, then the objectQualifier doesn't make any difference, just use linq to sql normally, otherwise use the dnn linq adaptor.

I just want to clairify a little here...

This could still be a issue for commercial module sales. There are cases of single installs with a object qualifier on them in the wild. Even if you think now this will always be a in house module It still gives flexibility down the road to work in all situations if they change.

 
New Post
9/5/2009 2:33 PM
 

Thanks for thoughts and suggestions !

 
New Post
9/5/2009 4:00 PM
 

Simply put, use:

http://dnnlinqtosqladapter.codeplex.com/

and you can use Linq to SQL with DotNetNuke without any issues.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/7/2009 10:17 AM
 

I had a similar question. See the answer of the author of "Professional DotNetNuke Module Programming" here:

http://p2p.wrox.com/book-professional-dotnetnuke-module-programming-isbn-978-0-470-17116-5/75656-linq-sql-not.html#post245579

 
New Post
9/9/2009 8:28 AM
 

Note that Mitchel's comment was written before I released the LINQ to SQL model adapter; though his opinion about its overall utility may not have changed, the objectQualifier/databaseOwner consideration is largely assuaged.

That said, ORM technology has improved over the last few years to the point where it is likely to be viewed as a preferred-practice by a majority audience.  While I am relatively agnostic about the particular technology choice that is made (L2S, EF, Hibernate, et cetera), I would expect more and more module developers to be moving in this direction.

Brandon

(Coincidentally, I released a similar set of adapters targeted at the Entity Framework yesterday which, in a manner similar to my L2S adapters, allows runtime-adaptation of a DotNetNuke installation's objectQualifier and databaseOwner.)


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...LINQ To SQL vs.  DNN DAL LINQ To SQL vs. DNN DAL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out