public void Setup(
            Keys Keys
            , Layer01_Common.Common.Layer01_Constants.eSystem_Modules pSystem_ModulesID
            , ClsBase pObjBase
            , string pModuleName = "")
        {
            this.mSystem_ModulesID = (Int64)pSystem_ModulesID;
            this.ViewState[CnsSystem_ModulesID] = pSystem_ModulesID;
            this.ViewState[CnsModuleName]       = pModuleName;
            this.mObj_Base = pObjBase;
            this.mObj_Base.Load(Keys);

            this.mCurrentUser         = this.mMaster.pCurrentUser;
            this.mObjID               = this.mCurrentUser.GetNewPageObjectID();
            this.ViewState[CnsObjID]  = this.mObjID;
            this.Session[this.mObjID] = this.mObj_Base;
        }
Example #2
0
        public void Setup(
            Layer01_Common.Common.Layer01_Constants.eSystem_Modules pSystem_ModulesID
            , ClsBase pObjBase
            , string pSystem_BindDefinition_Name
            , string pOverride_PageUrl_Details_New = ""
            , string pSource     = ""
            , string pSourceKey  = ""
            , bool pIsNoSelect   = false
            , string pModuleName = "")
        {
            this.mSystem_ModulesID          = (Int64)pSystem_ModulesID;
            this.mObj_Base                  = pObjBase;
            this.mSystem_BinDefinition_Name = pSystem_BindDefinition_Name;

            this.ViewState[CnsSystem_ModulesID]             = pSystem_ModulesID;
            this.ViewState[CnsOverride_PageUrl_Details_New] = pOverride_PageUrl_Details_New;
            this.ViewState[CnsSystem_BindDefinition_Name]   = pSystem_BindDefinition_Name;
            this.ViewState[CnsSource]     = pSource;
            this.ViewState[CnsSourceKey]  = pSourceKey;
            this.ViewState[CnsIsNoSelect] = pIsNoSelect;
            this.ViewState[CnsModuleName] = pModuleName;
        }