D:\NorthwindForWeb\Northwind\CS\DotNet\ADO.Net\Northwind\WebControls\WebEnv.cs
/*
* This file was generated by ProCG version 2.0
*
* File name: Northwind\WebControls\WebEnv.cs
* Language: C# - ADO.Net
* Database: My Sql
*
* Copyright (c) 2002-2019 iGenXSoft.
* For more information visit http://www.igenxsoft.com
*/
//ProCG Section 1_0_Using - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.
using System;
using System.Web.UI.WebControls;
using System.Web.UI;
using Northwind.Data;
//End ProCG Section 1_0_Using
using System.Web;
using System.Data;
using Northwind.General;
namespace Northwind.WebControls
{
/// <summary>
/// Summary description for NorthwindWebEnv.
/// </summary>
public class NorthwindWebEnv : NorthwindWebEnvBase
{
//ProCG Section 3_0_Body - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.
public NorthwindWebEnv()
{
}
//End ProCG Section 3_0_Body
// you can ovveride this function for each record and struct
// to set initial values per user logged in
/* see this as an example
public override void SetInitialValues(CProduct product)
{
product.SetInitialValues();
product.HotelId = SessionManager.User.CurrentHotelId;
}
*/
//ProCG Section 999_0_EndOfClass - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.
}
}
//End ProCG Section 999_0_EndOfClass
// 1600 ProCG uses this line - don't edit it