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 9:21 AM
 
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 10:29 AM
 
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)



Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
11/7/2006 11:03 AM
 
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 11:08 AM
 
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? ;)

Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
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?


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.