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.0Is it just me or are data providers done wrong?Is it just me or are data providers done wrong?
Previous
 
Next
New Post
11/7/2006 1:21 PM
 
Rodney:

How hard would it be to modify your CodeSmith templates to remove all the portions related to the creation of the DAL objects and just leave the creation of the CRUD SPs? I have no experience with CodeSmith by the way.

Carlos
 
New Post
11/7/2006 2:29 PM
 
I haven't looked at the DAL+ SPs but this is usually the easiest part (they are separate templaters, so no need to remove the non-DB parts).

I don't the datalayer has changed but but this should not be too hard... (I use the DNNJungle templates modified slightly for paging and sorting in the DB)



Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
11/7/2006 3:03 PM
 
Rodney:

You now have another alternative when dealing with the DAL+, instead of creating all the DAL components for a given module, you can just use methods similar (or basically the same) to the MS Data Access Application Block. You may want to take a look a this excellent tutorial by Michael Washington (go directly to Page2):

http://www.adefwebserver.com/DotNetNukeHELP/DNN_ShowMeThePages/Default.htm

This is what I'm doing and it works well for me. (If only I could automate the SP creation it would be great).

Carlos
 
New Post
11/7/2006 3:08 PM
 
Thanks for that Carlos,

I will be looking into all of this at some point in the future when I get some time to spare (ever? ;)

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Is it just me or are data providers done wrong?Is it just me or are data providers done wrong?


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