private BECommonConfig PreaperCommonConfigObject(NULLHandler nullHandler)
        {
            BECommonConfig CommonConfig = new BECommonConfig();

            CommonConfig.CommonConfigId   = nullHandler.GetInt("CommonConfigId");
            CommonConfig.CommonConfigName = nullHandler.GetString("CommonConfigName");
            CommonConfig.GroupName        = nullHandler.GetString("GroupName");
            return(CommonConfig);
        }
Ejemplo n.º 2
0
        private BECategory PreaperCategoryObject(NULLHandler nullHandler)
        {
            BECategory category = new BECategory();

            category.IsNew        = false;
            category.CategoryName = nullHandler.GetString("CategoryName");
            category.CategoryId   = nullHandler.GetInt("CategoryId");
            category.Code         = nullHandler.GetString("Code");
            category.CreatedBy    = nullHandler.GetInt("CreatedBy");
            category.CreatedDate  = nullHandler.GetDateTime("CreatedDate");
            category.UpdatedBy    = nullHandler.GetInt("UpdatedBy");
            category.UpdatedDate  = nullHandler.GetDateTime("UpdatedDate");
            category.IsDeleted    = nullHandler.GetBoolean("IsDeleted");

            return(category);
        }
        private BESIMREG_REQUESTEDBY PreaperSIMREG_REQUESTEDBYObject(NULLHandler nullHandler)
        {
            BESIMREG_REQUESTEDBY SIMREG_REQUESTEDBY = new BESIMREG_REQUESTEDBY();

            SIMREG_REQUESTEDBY.IsNew = false;
            SIMREG_REQUESTEDBY.REQUESTEDBYID = nullHandler.GetInt("REQUESTEDBYID");
            SIMREG_REQUESTEDBY.TITLE = nullHandler.GetString("TITLE");

            SIMREG_REQUESTEDBY.IDATE = nullHandler.GetDateTime("IDATE");
            SIMREG_REQUESTEDBY.IUSER = nullHandler.GetInt("IUSER");
            SIMREG_REQUESTEDBY.EDATE = nullHandler.GetDateTime("EDATE");
            SIMREG_REQUESTEDBY.EUSER = nullHandler.GetInt("EUSER");

            return SIMREG_REQUESTEDBY;
        }
        private BESIMREG_DELIVEREDBY PreaperSIMREG_DELIVEREDBYObject(NULLHandler nullHandler)
        {
            BESIMREG_DELIVEREDBY SIMREG_DELIVEREDBY = new BESIMREG_DELIVEREDBY();

            SIMREG_DELIVEREDBY.IsNew = false;
            SIMREG_DELIVEREDBY.DELIVEREDBYID = nullHandler.GetInt("DELIVEREDBYID");
            SIMREG_DELIVEREDBY.TITLE = nullHandler.GetString("TITLE");
            SIMREG_DELIVEREDBY.USERNAME = nullHandler.GetString("USERNAME");
            SIMREG_DELIVEREDBY.CANEDIT = nullHandler.GetBoolean("CANEDIT");

            SIMREG_DELIVEREDBY.IDATE = nullHandler.GetDateTime("IDATE");
            SIMREG_DELIVEREDBY.IUSER = nullHandler.GetInt("IUSER");
            SIMREG_DELIVEREDBY.EDATE = nullHandler.GetDateTime("EDATE");
            SIMREG_DELIVEREDBY.EUSER = nullHandler.GetInt("EUSER");

            return SIMREG_DELIVEREDBY;
        }
        private BESIMREG_MSISDN PreaperSIMREG_MSISDNObject(NULLHandler nullHandler)
        {
            BESIMREG_MSISDN SIMREG_MSISDN = new BESIMREG_MSISDN();

            SIMREG_MSISDN.IsNew = false;
            SIMREG_MSISDN.MSISDNID = nullHandler.GetInt("MSISDNID");
            SIMREG_MSISDN.TITLE = nullHandler.GetString("TITLE");

            SIMREG_MSISDN.IDATE = nullHandler.GetDateTime("IDATE");
            SIMREG_MSISDN.IUSER = nullHandler.GetInt("IUSER");
            SIMREG_MSISDN.EDATE = nullHandler.GetDateTime("EDATE");
            SIMREG_MSISDN.EUSER = nullHandler.GetInt("EUSER");

            return SIMREG_MSISDN;
        }
        private BESIMREG_NEWFORM PreaperSIMREG_NEWFORMObject(NULLHandler nullHandler)
        {
            BESIMREG_NEWFORM SIMREG_NEWFORM = new BESIMREG_NEWFORM();

            SIMREG_NEWFORM.IsNew = false;
            SIMREG_NEWFORM.ID = nullHandler.GetInt("ID");
            SIMREG_NEWFORM.MSISDNID = nullHandler.GetInt("MSISDNID");
            SIMREG_NEWFORM.MSISDNTITLE = nullHandler.GetString("MSISDNTITLE");
            SIMREG_NEWFORM.REQUESTEDDATE = nullHandler.GetDateTime("REQUESTEDDATE");
            SIMREG_NEWFORM.REQUESTEDBYID = nullHandler.GetInt("REQUESTEDBYID");
            SIMREG_NEWFORM.REQUESTEDTYPEID = nullHandler.GetInt("REQUESTEDTYPEID");
            SIMREG_NEWFORM.DELIVEREDBYDATE = nullHandler.GetDateTime("DELIVEREDBYDATE");
            SIMREG_NEWFORM.DELIVEREDBYID = nullHandler.GetInt("DELIVEREDBYID");

            SIMREG_NEWFORM.IDATE = nullHandler.GetDateTime("IDATE");
            SIMREG_NEWFORM.IUSER = nullHandler.GetInt("IUSER");
            SIMREG_NEWFORM.EDATE = nullHandler.GetDateTime("EDATE");
            SIMREG_NEWFORM.EUSER = nullHandler.GetInt("EUSER");

            return SIMREG_NEWFORM;
        }
        private BESIMREG_REQUESTEDTYPE PreaperSIMREG_REQUESTEDTYPEObject(NULLHandler nullHandler)
        {
            BESIMREG_REQUESTEDTYPE SIMREG_REQUESTEDTYPE = new BESIMREG_REQUESTEDTYPE();

            SIMREG_REQUESTEDTYPE.IsNew = false;
            SIMREG_REQUESTEDTYPE.REQUESTEDTYPEID = nullHandler.GetInt("REQUESTEDTYPEID");
            SIMREG_REQUESTEDTYPE.TITLE = nullHandler.GetString("TITLE");

            SIMREG_REQUESTEDTYPE.IDATE = nullHandler.GetDateTime("IDATE");
            SIMREG_REQUESTEDTYPE.IUSER = nullHandler.GetInt("IUSER");
            SIMREG_REQUESTEDTYPE.EDATE = nullHandler.GetDateTime("EDATE");
            SIMREG_REQUESTEDTYPE.EUSER = nullHandler.GetInt("EUSER");

            return SIMREG_REQUESTEDTYPE;
        }
        private BESIMREG_DOMAINUSER PreaperObject(NULLHandler nullHandler)
        {
            BESIMREG_DOMAINUSER SIMREG_DOMAINUSER = new BESIMREG_DOMAINUSER();

            try
            {
                SIMREG_DOMAINUSER.IsNew = false;
                SIMREG_DOMAINUSER.userid = nullHandler.GetInt("userid");
                SIMREG_DOMAINUSER.loginname = nullHandler.GetString("loginname");
                SIMREG_DOMAINUSER.username = nullHandler.GetString("username");
                SIMREG_DOMAINUSER.IsDeleted = nullHandler.GetBoolean("IsDeleted");
                SIMREG_DOMAINUSER.IsActive = nullHandler.GetBoolean("IsActive");
                SIMREG_DOMAINUSER.IDATE = nullHandler.GetDateTime("IDATE");
                SIMREG_DOMAINUSER.IUSER = nullHandler.GetInt("IUSER");
                SIMREG_DOMAINUSER.EDATE = nullHandler.GetDateTime("EDATE");
                SIMREG_DOMAINUSER.EUSER = nullHandler.GetInt("EUSER");
                SIMREG_DOMAINUSER.DeletedBy = nullHandler.GetInt("DeletedBy");
                SIMREG_DOMAINUSER.DeletedDate = nullHandler.GetDateTime("DeletedDate");
                SIMREG_DOMAINUSER.Serial = nullHandler.GetInt("Serial");
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
            return SIMREG_DOMAINUSER;
        }