HOME         User: Anonymous search for  in 
Login
Username:

Password:

Navigation
Registered User Functions:
  1. Register New Account
Anonymous Functions:
  1. Home
  2. Users
  3. Archives
  4. Templates
  5. Articles
  6. MyGeneration Website
  7. MyGeneration Forums
Categories
    Application Type
    1. Command Line
    2. Graphical User Interface
    3. Library
    4. Sample
    5. Web Application
    Architecture Type
    1. Client-Server
    2. Distributed Computing
    3. Multi-Tier
    4. Peer-to-peer
    Operating System
    1. Linux
    2. Win32
    Programming Language
    1. ASP
    2. ASP.Net
    3. C#
    4. C++
    5. Firebird SQL
    6. J#
    7. Java
    8. Jet SQL
    9. JScript
    10. JSP
    11. MySQL
    12. Perl
    13. PHP
    14. PL/SQL
    15. PostgreSQL
    16. SQL
    17. Transact-SQL
    18. VB.Net
    19. VBScript
    20. XSLT
    Archive: DotNetNuke C# Templates
    Author: Dave A-W
    Created: 7/3/2005 6:40:41 AM
    Last Updated: 7/19/2005 2:18:09 AM


    DotNetNuke is a content management system ideal for creating and deploying projects such as commercial web sites, corporate intranets and extranets, and online publishing portals. DotNetNuke is an open source project available from www.dotnetnuke.com

    These templates build the Info, Controller, DataProvider, SQLDataProvider, and stored procedures for your custom modules.

    They are based on lunchins templates posted 10-June (thanks lunchin!), with a few differences:

    • Only one single base namespace needs to be provided for each template - eg, CompanyName.DNN.Modules.MyModule Templates will automatically add any relevant suffix to this as per core framework - eg, CompanyName.DNN.Modules.MyModule.Business and CompanyName.DNN.Modules.MyModule.Data
    • Option for an additional stored procedure qualifier to distinguish your procedures from the bulk of core DotNetNuke procedures - eg, dnn_MyModule_AddEntity
    • Pluralises entity names for list procedures: dnn_MyModule_GetAllEntity -> dnn_MyModule_GetEntities
    • Stored procedures return generated identities as a select (ExecuteScalar) rather than output parameter, as per core framework
    • Info classes are not passed down to the SQL Data Provider layer, as per core framework
    • Some fixes around primary key / identity fields and the C# methods generated

    If you have any improvements or fixes, please email them to me and I'll update these templates!
    Cheers, Dave.

    Templates (by Title)
    UpdatedTitleOutput LanguageUsername# Downloads# Views
    7/4/2005 DotNetNuke Controller C# Dave A-W 60263686
    7/3/2005 DotNetNuke Data Provider C# Dave A-W 56913119
    7/3/2005 DotNetNuke Info C# Dave A-W 57172315
    7/19/2005 DotNetNuke Microsoft SQL Server Stored Procedures Transact-SQL Dave A-W 57732708
    7/4/2005 DotNetNuke Sql Data Provider C# Dave A-W 58512888
    Files (by FileName)
    No matching records found.
    Articles (by Title)
    No matching records found.
    Related Archives (by Title)
    No matching records found.
    Messages (by Date Created)
    Date Created
    7/19/2005 2:22:47 AM by Dave A-W :
    Updated "Add" stored procedure to perform a cast on the newly created identity returned to the DNN framework - it was causing a "Specified cast is not valid exception".
    7/3/2005 11:37:01 AM by my.generation :
    Thanx Dave, I have really turned into a DNN fan since we converted MyGeneration over to it. I haven't created a DNN module yet but this very template library we're in will be one when we release MyGeneration 2.0. Good work !!
    Copyright © 2004 MyGeneration Software. All rights reserved.
    Feedback: feedback@mygenerationsoftware.com
    Support: support@mygenerationsoftware.com