// ===================================================================================== // Copyright � 2006 SmartCodeGenerator created by Shahed Khan. /* //Microsoft Shared Source Community License (MS-CL) //Published: October 18, 2005 */ // If you like this code then feel free to go ahead and use it. // Your use of this software is entirely at your own risk. // I make no claims or warrantees about the reliability or fitness of this code for any particular purpose. // website www.smartcodegenerator.com, email shahed.khan@gmail.com // ===================================================================================== using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using SmartCodeGen.WebUtil.Base; using System.Collections.Generic; using SmartCodeGen.WebUtil.Objects; using SmartCodeGen.Providers; using BusnessObjects.Templates; public partial class BaseDataClassTemplate : BaseTemplate { protected void Page_Load(object sender, EventArgs e) { } #region ScFrameworkSpecific public override void PreGenerateTemplateCode(object sender, EventArgs e) { //PreGenerate is Called before the generation of code //To do //testProperty = TheProperties.TestProperty; } public TheProperties TheProperties { get { return (TheProperties)ParentPage.TheProperties; } } #endregion //private string testProperty; //public string TheTestProperty //{ // get { return testProperty; } // set { testProperty = value; } //} }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)