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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Development with multiple tablesModule Development with multiple tables
Previous
 
Next
New Post
1/18/2008 7:03 PM
 

Hi here,

im still searching for answers of my questions for Module Development with Multiple Tables. All what i can find around the whole world are explanations oubout Module Development with one table. But what is when you need create a more complex Module. 

I have still 31 tables with a lot of Relations and from this i need create a Module. Anybody here can tell me how i can realize it???

Thanks for answers or hyperlinks where i can still  solutions,
James

 
New Post
1/19/2008 10:42 AM
 

see:

Creating a DotNetNuke Module using LINQ to SQL (Part 2)

Also:

DynamicForms

This has 5 tables:



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/19/2008 12:47 PM
 

Hi Michael,

thanks a lot for the fast and detailed answer. This have help me a lot.
James

 
New Post
1/20/2008 11:01 AM
 

Hi James,

You might want to check out MyGeneration.  They have some templates that will build your DNN data layer for you automatically based on your database strucure.  It's a great tool that we use for all our modules.  31 tables sound like alot to do by hand!

Good Luck!
Mike

 
New Post
1/20/2008 10:07 PM
 

I think it is based on your approach when developing an application.

A module is just an asp .net application-like based on DNN terminology. Using database or not is based on your business scenario. I what you accomplish is just to simplified your development when working with a lot of tables, for example to reduce about writing a lot of custom class, then you can use an ORM tools. If you have time, then you write your own custom class one by one or, as an alternative, you can using code generator. There are a lot of ORM tools like :

Those are comes with different advantages and disadvantages. But the main goal is the same, to easier your development time. For example, by using SubSonic you will be helped to generate custom class based on your table on the fly. So does the stored procedure. SubSonic will generate all for you. By using LINQ, you can simplified your query using sql-like syntax but in expression level. You can choose whatever ORM tool you like.

CMIIW.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Development with multiple tablesModule Development with multiple tables


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