예제 #1
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Ths_ID)))
     {
         this._Ths_ID = reader.GetInt32(_.Ths_ID);
     }
     if ((false == reader.IsDBNull(_.Ths_Name)))
     {
         this._Ths_Name = reader.GetString(_.Ths_Name);
     }
     if ((false == reader.IsDBNull(_.Ths_Tax)))
     {
         this._Ths_Tax = reader.GetInt32(_.Ths_Tax);
     }
     if ((false == reader.IsDBNull(_.Ths_Intro)))
     {
         this._Ths_Intro = reader.GetString(_.Ths_Intro);
     }
     if ((false == reader.IsDBNull(_.Ths_IsUse)))
     {
         this._Ths_IsUse = reader.GetBoolean(_.Ths_IsUse);
     }
     if ((false == reader.IsDBNull(_.Ths_IsDefault)))
     {
         this._Ths_IsDefault = reader.GetBoolean(_.Ths_IsDefault);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #2
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.MMP_Id)))
     {
         this._MMP_Id = reader.GetInt32(_.MMP_Id);
     }
     if ((false == reader.IsDBNull(_.MMP_FileName)))
     {
         this._MMP_FileName = reader.GetString(_.MMP_FileName);
     }
     if ((false == reader.IsDBNull(_.MMP_IsUse)))
     {
         this._MMP_IsUse = reader.GetBoolean(_.MMP_IsUse);
     }
     if ((false == reader.IsDBNull(_.MMP_IsShow)))
     {
         this._MMP_IsShow = reader.GetBoolean(_.MMP_IsShow);
     }
     if ((false == reader.IsDBNull(_.MM_Id)))
     {
         this._MM_Id = reader.GetInt16(_.MM_Id);
     }
     if ((false == reader.IsDBNull(_.FPI_Id)))
     {
         this._FPI_Id = reader.GetInt16(_.FPI_Id);
     }
 }
예제 #3
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Eg_ID)))
     {
         this._Eg_ID = reader.GetInt32(_.Eg_ID);
     }
     if ((false == reader.IsDBNull(_.Eg_Type)))
     {
         this._Eg_Type = reader.GetInt32(_.Eg_Type);
     }
     if ((false == reader.IsDBNull(_.Sts_ID)))
     {
         this._Sts_ID = reader.GetInt32(_.Sts_ID);
     }
     if ((false == reader.IsDBNull(_.Exam_UID)))
     {
         this._Exam_UID = reader.GetString(_.Exam_UID);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #4
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Posi_Id)))
     {
         this._Posi_Id = reader.GetInt32(_.Posi_Id);
     }
     if ((false == reader.IsDBNull(_.Posi_Name)))
     {
         this._Posi_Name = reader.GetString(_.Posi_Name);
     }
     if ((false == reader.IsDBNull(_.Posi_IsUse)))
     {
         this._Posi_IsUse = reader.GetBoolean(_.Posi_IsUse);
     }
     if ((false == reader.IsDBNull(_.Posi_Tax)))
     {
         this._Posi_Tax = reader.GetInt32(_.Posi_Tax);
     }
     if ((false == reader.IsDBNull(_.Posi_Intro)))
     {
         this._Posi_Intro = reader.GetString(_.Posi_Intro);
     }
     if ((false == reader.IsDBNull(_.Posi_IsAdmin)))
     {
         this._Posi_IsAdmin = reader.GetBoolean(_.Posi_IsAdmin);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #5
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Ads_Id)))
     {
         this._Ads_Id = reader.GetInt32(_.Ads_Id);
     }
     if ((false == reader.IsDBNull(_.Ads_Name)))
     {
         this._Ads_Name = reader.GetString(_.Ads_Name);
     }
     if ((false == reader.IsDBNull(_.Ads_IsUse)))
     {
         this._Ads_IsUse = reader.GetBoolean(_.Ads_IsUse);
     }
     if ((false == reader.IsDBNull(_.Ads_CrtTime)))
     {
         this._Ads_CrtTime = reader.GetDateTime(_.Ads_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Ads_Tax)))
     {
         this._Ads_Tax = reader.GetInt32(_.Ads_Tax);
     }
     if ((false == reader.IsDBNull(_.Acc_Id)))
     {
         this._Acc_Id = reader.GetInt32(_.Acc_Id);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #6
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Dty_Id)))
     {
         this._Dty_Id = reader.GetInt32(_.Dty_Id);
     }
     if ((false == reader.IsDBNull(_.Dty_Name)))
     {
         this._Dty_Name = reader.GetString(_.Dty_Name);
     }
     if ((false == reader.IsDBNull(_.Dty_Intro)))
     {
         this._Dty_Intro = reader.GetString(_.Dty_Intro);
     }
     if ((false == reader.IsDBNull(_.Dty_Details)))
     {
         this._Dty_Details = reader.GetString(_.Dty_Details);
     }
     if ((false == reader.IsDBNull(_.Dty_IsUse)))
     {
         this._Dty_IsUse = reader.GetBoolean(_.Dty_IsUse);
     }
     if ((false == reader.IsDBNull(_.Dty_Tax)))
     {
         this._Dty_Tax = reader.GetInt32(_.Dty_Tax);
     }
     if ((false == reader.IsDBNull(_.Org_Id)))
     {
         this._Org_Id = reader.GetInt32(_.Org_Id);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #7
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Tq_Id)))
     {
         this._Tq_Id = reader.GetInt32(_.Tq_Id);
     }
     if ((false == reader.IsDBNull(_.Qk_Id)))
     {
         this._Qk_Id = reader.GetInt32(_.Qk_Id);
     }
     if ((false == reader.IsDBNull(_.Tp_Id)))
     {
         this._Tp_Id = reader.GetInt32(_.Tp_Id);
     }
     if ((false == reader.IsDBNull(_.Tq_Number)))
     {
         this._Tq_Number = reader.GetFloat(_.Tq_Number);
     }
     if ((false == reader.IsDBNull(_.Tq_Percent)))
     {
         this._Tq_Percent = reader.GetInt32(_.Tq_Percent);
     }
     if ((false == reader.IsDBNull(_.Tq_Type)))
     {
         this._Tq_Type = reader.GetInt32(_.Tq_Type);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #8
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Stc_ID)))
     {
         this._Stc_ID = reader.GetInt32(_.Stc_ID);
     }
     if ((false == reader.IsDBNull(_.Ac_ID)))
     {
         this._Ac_ID = reader.GetInt32(_.Ac_ID);
     }
     if ((false == reader.IsDBNull(_.Cou_ID)))
     {
         this._Cou_ID = reader.GetInt32(_.Cou_ID);
     }
     if ((false == reader.IsDBNull(_.Stc_CrtTime)))
     {
         this._Stc_CrtTime = reader.GetDateTime(_.Stc_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Stc_Money)))
     {
         this._Stc_Money = reader.GetFloat(_.Stc_Money);
     }
     if ((false == reader.IsDBNull(_.Stc_StartTime)))
     {
         this._Stc_StartTime = reader.GetDateTime(_.Stc_StartTime);
     }
     if ((false == reader.IsDBNull(_.Stc_EndTime)))
     {
         this._Stc_EndTime = reader.GetDateTime(_.Stc_EndTime);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Rc_Code)))
     {
         this._Rc_Code = reader.GetString(_.Rc_Code);
     }
     if ((false == reader.IsDBNull(_.Stc_IsFree)))
     {
         this._Stc_IsFree = reader.GetBoolean(_.Stc_IsFree);
     }
     if ((false == reader.IsDBNull(_.Stc_IsTry)))
     {
         this._Stc_IsTry = reader.GetBoolean(_.Stc_IsTry);
     }
     if ((false == reader.IsDBNull(_.Stc_QuesScore)))
     {
         this._Stc_QuesScore = reader.GetDouble(_.Stc_QuesScore);
     }
     if ((false == reader.IsDBNull(_.Stc_StudyScore)))
     {
         this._Stc_StudyScore = reader.GetDouble(_.Stc_StudyScore);
     }
     if ((false == reader.IsDBNull(_.Stc_ExamScore)))
     {
         this._Stc_ExamScore = reader.GetDouble(_.Stc_ExamScore);
     }
 }
예제 #9
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Ca_ID)))
     {
         this._Ca_ID = reader.GetInt32(_.Ca_ID);
     }
     if ((false == reader.IsDBNull(_.Ac_ID)))
     {
         this._Ac_ID = reader.GetInt32(_.Ac_ID);
     }
     if ((false == reader.IsDBNull(_.Ca_Total)))
     {
         this._Ca_Total = reader.GetInt32(_.Ca_Total);
     }
     if ((false == reader.IsDBNull(_.Ca_TotalAmount)))
     {
         this._Ca_TotalAmount = reader.GetInt32(_.Ca_TotalAmount);
     }
     if ((false == reader.IsDBNull(_.Ca_Value)))
     {
         this._Ca_Value = reader.GetInt32(_.Ca_Value);
     }
     if ((false == reader.IsDBNull(_.Ca_Source)))
     {
         this._Ca_Source = reader.GetString(_.Ca_Source);
     }
     if ((false == reader.IsDBNull(_.Ca_Type)))
     {
         this._Ca_Type = reader.GetInt32(_.Ca_Type);
     }
     if ((false == reader.IsDBNull(_.Ca_Info)))
     {
         this._Ca_Info = reader.GetString(_.Ca_Info);
     }
     if ((false == reader.IsDBNull(_.Ca_Remark)))
     {
         this._Ca_Remark = reader.GetString(_.Ca_Remark);
     }
     if ((false == reader.IsDBNull(_.Ca_CrtTime)))
     {
         this._Ca_CrtTime = reader.GetDateTime(_.Ca_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Ca_Serial)))
     {
         this._Ca_Serial = reader.GetString(_.Ca_Serial);
     }
     if ((false == reader.IsDBNull(_.Ca_From)))
     {
         this._Ca_From = reader.GetInt32(_.Ca_From);
     }
     if ((false == reader.IsDBNull(_.Rc_Code)))
     {
         this._Rc_Code = reader.GetString(_.Rc_Code);
     }
 }
예제 #10
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.No_Id)))
     {
         this._No_Id = reader.GetInt32(_.No_Id);
     }
     if ((false == reader.IsDBNull(_.No_Ttl)))
     {
         this._No_Ttl = reader.GetString(_.No_Ttl);
     }
     if ((false == reader.IsDBNull(_.No_Context)))
     {
         this._No_Context = reader.GetString(_.No_Context);
     }
     if ((false == reader.IsDBNull(_.No_IsShow)))
     {
         this._No_IsShow = reader.GetBoolean(_.No_IsShow);
     }
     if ((false == reader.IsDBNull(_.No_IsOpen)))
     {
         this._No_IsOpen = reader.GetBoolean(_.No_IsOpen);
     }
     if ((false == reader.IsDBNull(_.No_IsTop)))
     {
         this._No_IsTop = reader.GetBoolean(_.No_IsTop);
     }
     if ((false == reader.IsDBNull(_.No_CrtTime)))
     {
         this._No_CrtTime = reader.GetDateTime(_.No_CrtTime);
     }
     if ((false == reader.IsDBNull(_.No_StartTime)))
     {
         this._No_StartTime = reader.GetDateTime(_.No_StartTime);
     }
     if ((false == reader.IsDBNull(_.No_EndTime)))
     {
         this._No_EndTime = reader.GetDateTime(_.No_EndTime);
     }
     if ((false == reader.IsDBNull(_.Acc_Id)))
     {
         this._Acc_Id = reader.GetInt32(_.Acc_Id);
     }
     if ((false == reader.IsDBNull(_.Acc_Name)))
     {
         this._Acc_Name = reader.GetString(_.Acc_Name);
     }
     if ((false == reader.IsDBNull(_.No_Organ)))
     {
         this._No_Organ = reader.GetString(_.No_Organ);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #11
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Team_ID)))
     {
         this._Team_ID = reader.GetInt32(_.Team_ID);
     }
     if ((false == reader.IsDBNull(_.Sbj_ID)))
     {
         this._Sbj_ID = reader.GetInt32(_.Sbj_ID);
     }
     if ((false == reader.IsDBNull(_.Sbj_Name)))
     {
         this._Sbj_Name = reader.GetString(_.Sbj_Name);
     }
     if ((false == reader.IsDBNull(_.Team_Name)))
     {
         this._Team_Name = reader.GetString(_.Team_Name);
     }
     if ((false == reader.IsDBNull(_.Team_ByName)))
     {
         this._Team_ByName = reader.GetString(_.Team_ByName);
     }
     if ((false == reader.IsDBNull(_.Team_Intro)))
     {
         this._Team_Intro = reader.GetString(_.Team_Intro);
     }
     if ((false == reader.IsDBNull(_.Team_Tax)))
     {
         this._Team_Tax = reader.GetInt32(_.Team_Tax);
     }
     if ((false == reader.IsDBNull(_.Team_IsUse)))
     {
         this._Team_IsUse = reader.GetBoolean(_.Team_IsUse);
     }
     if ((false == reader.IsDBNull(_.Team_Count)))
     {
         this._Team_Count = reader.GetInt32(_.Team_Count);
     }
     if ((false == reader.IsDBNull(_.Dep_ID)))
     {
         this._Dep_ID = reader.GetInt32(_.Dep_ID);
     }
     if ((false == reader.IsDBNull(_.Dep_Name)))
     {
         this._Dep_Name = reader.GetString(_.Dep_Name);
     }
     if ((false == reader.IsDBNull(_.Team_CrtTime)))
     {
         this._Team_CrtTime = reader.GetDateTime(_.Team_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #12
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Pai_ID)))
     {
         this._Pai_ID = reader.GetInt32(_.Pai_ID);
     }
     if ((false == reader.IsDBNull(_.Pai_Name)))
     {
         this._Pai_Name = reader.GetString(_.Pai_Name);
     }
     if ((false == reader.IsDBNull(_.Pai_Pattern)))
     {
         this._Pai_Pattern = reader.GetString(_.Pai_Pattern);
     }
     if ((false == reader.IsDBNull(_.Pai_Tax)))
     {
         this._Pai_Tax = reader.GetInt32(_.Pai_Tax);
     }
     if ((false == reader.IsDBNull(_.Pai_Intro)))
     {
         this._Pai_Intro = reader.GetString(_.Pai_Intro);
     }
     if ((false == reader.IsDBNull(_.Pai_Currency)))
     {
         this._Pai_Currency = reader.GetString(_.Pai_Currency);
     }
     if ((false == reader.IsDBNull(_.Pai_Platform)))
     {
         this._Pai_Platform = reader.GetString(_.Pai_Platform);
     }
     if ((false == reader.IsDBNull(_.Pai_ParterID)))
     {
         this._Pai_ParterID = reader.GetString(_.Pai_ParterID);
     }
     if ((false == reader.IsDBNull(_.Pai_Key)))
     {
         this._Pai_Key = reader.GetString(_.Pai_Key);
     }
     if ((false == reader.IsDBNull(_.Pai_InterfaceType)))
     {
         this._Pai_InterfaceType = reader.GetString(_.Pai_InterfaceType);
     }
     if ((false == reader.IsDBNull(_.Pai_Feerate)))
     {
         this._Pai_Feerate = reader.GetFloat(_.Pai_Feerate);
     }
     if ((false == reader.IsDBNull(_.Pai_Config)))
     {
         this._Pai_Config = reader.GetString(_.Pai_Config);
     }
     if ((false == reader.IsDBNull(_.Pai_IsEnable)))
     {
         this._Pai_IsEnable = reader.GetBoolean(_.Pai_IsEnable);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
 }
예제 #13
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Rs_ID)))
     {
         this._Rs_ID = reader.GetInt32(_.Rs_ID);
     }
     if ((false == reader.IsDBNull(_.Rs_Count)))
     {
         this._Rs_Count = reader.GetInt32(_.Rs_Count);
     }
     if ((false == reader.IsDBNull(_.Rs_Price)))
     {
         this._Rs_Price = reader.GetInt32(_.Rs_Price);
     }
     if ((false == reader.IsDBNull(_.Rs_CrtTime)))
     {
         this._Rs_CrtTime = reader.GetDateTime(_.Rs_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Rs_Theme)))
     {
         this._Rs_Theme = reader.GetString(_.Rs_Theme);
     }
     if ((false == reader.IsDBNull(_.Rs_Intro)))
     {
         this._Rs_Intro = reader.GetString(_.Rs_Intro);
     }
     if ((false == reader.IsDBNull(_.Rs_Pw)))
     {
         this._Rs_Pw = reader.GetString(_.Rs_Pw);
     }
     if ((false == reader.IsDBNull(_.Rs_UsedCount)))
     {
         this._Rs_UsedCount = reader.GetInt32(_.Rs_UsedCount);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Rs_LimitStart)))
     {
         this._Rs_LimitStart = reader.GetDateTime(_.Rs_LimitStart);
     }
     if ((false == reader.IsDBNull(_.Rs_LimitEnd)))
     {
         this._Rs_LimitEnd = reader.GetDateTime(_.Rs_LimitEnd);
     }
     if ((false == reader.IsDBNull(_.Rs_IsEnable)))
     {
         this._Rs_IsEnable = reader.GetBoolean(_.Rs_IsEnable);
     }
     if ((false == reader.IsDBNull(_.Rs_CodeLength)))
     {
         this._Rs_CodeLength = reader.GetInt32(_.Rs_CodeLength);
     }
     if ((false == reader.IsDBNull(_.Rs_PwLength)))
     {
         this._Rs_PwLength = reader.GetInt32(_.Rs_PwLength);
     }
 }
예제 #14
0
파일: Logs.cs 프로젝트: zzti/LearningSystem
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Log_Id)))
     {
         this._Log_Id = reader.GetInt32(_.Log_Id);
     }
     if ((false == reader.IsDBNull(_.Acc_Id)))
     {
         this._Acc_Id = reader.GetInt32(_.Acc_Id);
     }
     if ((false == reader.IsDBNull(_.Acc_Name)))
     {
         this._Acc_Name = reader.GetString(_.Acc_Name);
     }
     if ((false == reader.IsDBNull(_.Log_Type)))
     {
         this._Log_Type = reader.GetString(_.Log_Type);
     }
     if ((false == reader.IsDBNull(_.Log_Time)))
     {
         this._Log_Time = reader.GetDateTime(_.Log_Time);
     }
     if ((false == reader.IsDBNull(_.Log_IP)))
     {
         this._Log_IP = reader.GetString(_.Log_IP);
     }
     if ((false == reader.IsDBNull(_.Log_OS)))
     {
         this._Log_OS = reader.GetString(_.Log_OS);
     }
     if ((false == reader.IsDBNull(_.Log_Browser)))
     {
         this._Log_Browser = reader.GetString(_.Log_Browser);
     }
     if ((false == reader.IsDBNull(_.Log_MenuName)))
     {
         this._Log_MenuName = reader.GetString(_.Log_MenuName);
     }
     if ((false == reader.IsDBNull(_.Log_MenuId)))
     {
         this._Log_MenuId = reader.GetInt32(_.Log_MenuId);
     }
     if ((false == reader.IsDBNull(_.Log_FileName)))
     {
         this._Log_FileName = reader.GetString(_.Log_FileName);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #15
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Nn_Id)))
     {
         this._Nn_Id = reader.GetInt32(_.Nn_Id);
     }
     if ((false == reader.IsDBNull(_.Art_Id)))
     {
         this._Art_Id = reader.GetInt32(_.Art_Id);
     }
     if ((false == reader.IsDBNull(_.Nn_Name)))
     {
         this._Nn_Name = reader.GetString(_.Nn_Name);
     }
     if ((false == reader.IsDBNull(_.Nn_Title)))
     {
         this._Nn_Title = reader.GetString(_.Nn_Title);
     }
     if ((false == reader.IsDBNull(_.Nn_Details)))
     {
         this._Nn_Details = reader.GetString(_.Nn_Details);
     }
     if ((false == reader.IsDBNull(_.Nn_CrtTime)))
     {
         this._Nn_CrtTime = reader.GetDateTime(_.Nn_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Nn_IP)))
     {
         this._Nn_IP = reader.GetString(_.Nn_IP);
     }
     if ((false == reader.IsDBNull(_.Nn_IsShow)))
     {
         this._Nn_IsShow = reader.GetBoolean(_.Nn_IsShow);
     }
     if ((false == reader.IsDBNull(_.Nn_Email)))
     {
         this._Nn_Email = reader.GetString(_.Nn_Email);
     }
     if ((false == reader.IsDBNull(_.Nn_Province)))
     {
         this._Nn_Province = reader.GetString(_.Nn_Province);
     }
     if ((false == reader.IsDBNull(_.Nn_City)))
     {
         this._Nn_City = reader.GetString(_.Nn_City);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #16
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.SSO_ID)))
     {
         this._SSO_ID = reader.GetInt32(_.SSO_ID);
     }
     if ((false == reader.IsDBNull(_.SSO_Name)))
     {
         this._SSO_Name = reader.GetString(_.SSO_Name);
     }
     if ((false == reader.IsDBNull(_.SSO_IsUse)))
     {
         this._SSO_IsUse = reader.GetBoolean(_.SSO_IsUse);
     }
     if ((false == reader.IsDBNull(_.SSO_APPID)))
     {
         this._SSO_APPID = reader.GetString(_.SSO_APPID);
     }
     if ((false == reader.IsDBNull(_.SSO_IsAdd)))
     {
         this._SSO_IsAdd = reader.GetBoolean(_.SSO_IsAdd);
     }
     if ((false == reader.IsDBNull(_.SSO_Domain)))
     {
         this._SSO_Domain = reader.GetString(_.SSO_Domain);
     }
     if ((false == reader.IsDBNull(_.SSO_Direction)))
     {
         this._SSO_Direction = reader.GetString(_.SSO_Direction);
     }
     if ((false == reader.IsDBNull(_.SSO_Phone)))
     {
         this._SSO_Phone = reader.GetString(_.SSO_Phone);
     }
     if ((false == reader.IsDBNull(_.SSO_Email)))
     {
         this._SSO_Email = reader.GetString(_.SSO_Email);
     }
     if ((false == reader.IsDBNull(_.SSO_Info)))
     {
         this._SSO_Info = reader.GetString(_.SSO_Info);
     }
     if ((false == reader.IsDBNull(_.SSO_CrtTime)))
     {
         this._SSO_CrtTime = reader.GetDateTime(_.SSO_CrtTime);
     }
     if ((false == reader.IsDBNull(_.SSO_Power)))
     {
         this._SSO_Power = reader.GetString(_.SSO_Power);
     }
     if ((false == reader.IsDBNull(_.SSO_Config)))
     {
         this._SSO_Config = reader.GetString(_.SSO_Config);
     }
 }
예제 #17
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Thc_ID)))
     {
         this._Thc_ID = reader.GetInt32(_.Thc_ID);
     }
     if ((false == reader.IsDBNull(_.Ac_ID)))
     {
         this._Ac_ID = reader.GetInt32(_.Ac_ID);
     }
     if ((false == reader.IsDBNull(_.Th_ID)))
     {
         this._Th_ID = reader.GetInt32(_.Th_ID);
     }
     if ((false == reader.IsDBNull(_.Th_Name)))
     {
         this._Th_Name = reader.GetString(_.Th_Name);
     }
     if ((false == reader.IsDBNull(_.Thc_Score)))
     {
         this._Thc_Score = reader.GetDouble(_.Thc_Score);
     }
     if ((false == reader.IsDBNull(_.Thc_Comment)))
     {
         this._Thc_Comment = reader.GetString(_.Thc_Comment);
     }
     if ((false == reader.IsDBNull(_.Thc_Reply)))
     {
         this._Thc_Reply = reader.GetString(_.Thc_Reply);
     }
     if ((false == reader.IsDBNull(_.Thc_CrtTime)))
     {
         this._Thc_CrtTime = reader.GetDateTime(_.Thc_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Thc_Device)))
     {
         this._Thc_Device = reader.GetString(_.Thc_Device);
     }
     if ((false == reader.IsDBNull(_.Thc_IP)))
     {
         this._Thc_IP = reader.GetString(_.Thc_IP);
     }
     if ((false == reader.IsDBNull(_.Thc_IsUse)))
     {
         this._Thc_IsUse = reader.GetBoolean(_.Thc_IsUse);
     }
     if ((false == reader.IsDBNull(_.Thc_IsShow)))
     {
         this._Thc_IsShow = reader.GetBoolean(_.Thc_IsShow);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
 }
예제 #18
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Ls_Id)))
     {
         this._Ls_Id = reader.GetInt32(_.Ls_Id);
     }
     if ((false == reader.IsDBNull(_.Ls_PatId)))
     {
         this._Ls_PatId = reader.GetInt32(_.Ls_PatId);
     }
     if ((false == reader.IsDBNull(_.Ls_Name)))
     {
         this._Ls_Name = reader.GetString(_.Ls_Name);
     }
     if ((false == reader.IsDBNull(_.Ls_Tax)))
     {
         this._Ls_Tax = reader.GetInt32(_.Ls_Tax);
     }
     if ((false == reader.IsDBNull(_.Ls_IsUse)))
     {
         this._Ls_IsUse = reader.GetBoolean(_.Ls_IsUse);
     }
     if ((false == reader.IsDBNull(_.Ls_Logo)))
     {
         this._Ls_Logo = reader.GetString(_.Ls_Logo);
     }
     if ((false == reader.IsDBNull(_.Ls_IsShow)))
     {
         this._Ls_IsShow = reader.GetBoolean(_.Ls_IsShow);
     }
     if ((false == reader.IsDBNull(_.Ls_Tootip)))
     {
         this._Ls_Tootip = reader.GetString(_.Ls_Tootip);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
     if ((false == reader.IsDBNull(_.Ls_IsImg)))
     {
         this._Ls_IsImg = reader.GetBoolean(_.Ls_IsImg);
     }
     if ((false == reader.IsDBNull(_.Ls_IsText)))
     {
         this._Ls_IsText = reader.GetBoolean(_.Ls_IsText);
     }
 }
예제 #19
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Stn_ID)))
     {
         this._Stn_ID = reader.GetInt32(_.Stn_ID);
     }
     if ((false == reader.IsDBNull(_.Stn_PID)))
     {
         this._Stn_PID = reader.GetInt32(_.Stn_PID);
     }
     if ((false == reader.IsDBNull(_.Ac_ID)))
     {
         this._Ac_ID = reader.GetInt32(_.Ac_ID);
     }
     if ((false == reader.IsDBNull(_.Cou_ID)))
     {
         this._Cou_ID = reader.GetInt32(_.Cou_ID);
     }
     if ((false == reader.IsDBNull(_.Qus_ID)))
     {
         this._Qus_ID = reader.GetInt32(_.Qus_ID);
     }
     if ((false == reader.IsDBNull(_.Qus_Type)))
     {
         this._Qus_Type = reader.GetInt32(_.Qus_Type);
     }
     if ((false == reader.IsDBNull(_.Qus_Title)))
     {
         this._Qus_Title = reader.GetString(_.Qus_Title);
     }
     if ((false == reader.IsDBNull(_.Stn_Title)))
     {
         this._Stn_Title = reader.GetString(_.Stn_Title);
     }
     if ((false == reader.IsDBNull(_.Stn_Context)))
     {
         this._Stn_Context = reader.GetString(_.Stn_Context);
     }
     if ((false == reader.IsDBNull(_.Stn_CrtTime)))
     {
         this._Stn_CrtTime = reader.GetDateTime(_.Stn_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #20
0
파일: Test.cs 프로젝트: zzti/LearningSystem
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Test_ID)))
     {
         this._Test_ID = reader.GetInt32(_.Test_ID);
     }
     if ((false == reader.IsDBNull(_.Test_Name)))
     {
         this._Test_Name = reader.GetString(_.Test_Name);
     }
     if ((false == reader.IsDBNull(_.Test_StartTime)))
     {
         this._Test_StartTime = reader.GetDateTime(_.Test_StartTime);
     }
     if ((false == reader.IsDBNull(_.Test_Span)))
     {
         this._Test_Span = reader.GetInt32(_.Test_Span);
     }
     if ((false == reader.IsDBNull(_.Test_Tearcher)))
     {
         this._Test_Tearcher = reader.GetString(_.Test_Tearcher);
     }
     if ((false == reader.IsDBNull(_.Test_Room)))
     {
         this._Test_Room = reader.GetString(_.Test_Room);
     }
     if ((false == reader.IsDBNull(_.Tp_Id)))
     {
         this._Tp_Id = reader.GetInt32(_.Tp_Id);
     }
     if ((false == reader.IsDBNull(_.Tp_Name)))
     {
         this._Tp_Name = reader.GetString(_.Tp_Name);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
     if ((false == reader.IsDBNull(_.Th_ID)))
     {
         this._Th_ID = reader.GetInt32(_.Th_ID);
     }
     if ((false == reader.IsDBNull(_.Th_Name)))
     {
         this._Th_Name = reader.GetString(_.Th_Name);
     }
 }
예제 #21
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Kns_ID)))
     {
         this._Kns_ID = reader.GetInt32(_.Kns_ID);
     }
     if ((false == reader.IsDBNull(_.Kns_Name)))
     {
         this._Kns_Name = reader.GetString(_.Kns_Name);
     }
     if ((false == reader.IsDBNull(_.Kns_ByName)))
     {
         this._Kns_ByName = reader.GetString(_.Kns_ByName);
     }
     if ((false == reader.IsDBNull(_.Kns_PID)))
     {
         this._Kns_PID = reader.GetInt32(_.Kns_PID);
     }
     if ((false == reader.IsDBNull(_.Kns_Tax)))
     {
         this._Kns_Tax = reader.GetInt32(_.Kns_Tax);
     }
     if ((false == reader.IsDBNull(_.Kns_IsUse)))
     {
         this._Kns_IsUse = reader.GetBoolean(_.Kns_IsUse);
     }
     if ((false == reader.IsDBNull(_.Kns_Type)))
     {
         this._Kns_Type = reader.GetString(_.Kns_Type);
     }
     if ((false == reader.IsDBNull(_.Kns_Intro)))
     {
         this._Kns_Intro = reader.GetString(_.Kns_Intro);
     }
     if ((false == reader.IsDBNull(_.Kns_CrtTime)))
     {
         this._Kns_CrtTime = reader.GetDateTime(_.Kns_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
     if ((false == reader.IsDBNull(_.Cou_ID)))
     {
         this._Cou_ID = reader.GetInt32(_.Cou_ID);
     }
 }
예제 #22
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Thc_ID)))
     {
         this._Thc_ID = reader.GetInt32(_.Thc_ID);
     }
     if ((false == reader.IsDBNull(_.Th_ID)))
     {
         this._Th_ID = reader.GetInt32(_.Th_ID);
     }
     if ((false == reader.IsDBNull(_.Cou_ID)))
     {
         this._Cou_ID = reader.GetInt32(_.Cou_ID);
     }
 }
예제 #23
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Ps_ID)))
     {
         this._Ps_ID = reader.GetInt32(_.Ps_ID);
     }
     if ((false == reader.IsDBNull(_.Ps_IsTheme)))
     {
         this._Ps_IsTheme = reader.GetBoolean(_.Ps_IsTheme);
     }
     if ((false == reader.IsDBNull(_.Ps_IsUse)))
     {
         this._Ps_IsUse = reader.GetBoolean(_.Ps_IsUse);
     }
     if ((false == reader.IsDBNull(_.Ps_Level)))
     {
         this._Ps_Level = reader.GetInt32(_.Ps_Level);
     }
     if ((false == reader.IsDBNull(_.Ps_Intro)))
     {
         this._Ps_Intro = reader.GetString(_.Ps_Intro);
     }
     if ((false == reader.IsDBNull(_.Ps_Moneyratio)))
     {
         this._Ps_Moneyratio = reader.GetInt32(_.Ps_Moneyratio);
     }
     if ((false == reader.IsDBNull(_.Ps_Couponratio)))
     {
         this._Ps_Couponratio = reader.GetInt32(_.Ps_Couponratio);
     }
     if ((false == reader.IsDBNull(_.Ps_MoneyValue)))
     {
         this._Ps_MoneyValue = reader.GetDecimal(_.Ps_MoneyValue);
     }
     if ((false == reader.IsDBNull(_.Ps_CouponValue)))
     {
         this._Ps_CouponValue = reader.GetInt32(_.Ps_CouponValue);
     }
     if ((false == reader.IsDBNull(_.Ps_PID)))
     {
         this._Ps_PID = reader.GetInt32(_.Ps_PID);
     }
     if ((false == reader.IsDBNull(_.Ps_Name)))
     {
         this._Ps_Name = reader.GetString(_.Ps_Name);
     }
 }
예제 #24
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.SMS_Id)))
     {
         this._SMS_Id = reader.GetInt32(_.SMS_Id);
     }
     if ((false == reader.IsDBNull(_.Sms_Context)))
     {
         this._Sms_Context = reader.GetString(_.Sms_Context);
     }
     if ((false == reader.IsDBNull(_.Sms_SendTime)))
     {
         this._Sms_SendTime = reader.GetDateTime(_.Sms_SendTime);
     }
     if ((false == reader.IsDBNull(_.Sms_CrtTime)))
     {
         this._Sms_CrtTime = reader.GetDateTime(_.Sms_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Sms_Type)))
     {
         this._Sms_Type = reader.GetInt32(_.Sms_Type);
     }
     if ((false == reader.IsDBNull(_.Sms_SendId)))
     {
         this._Sms_SendId = reader.GetInt32(_.Sms_SendId);
     }
     if ((false == reader.IsDBNull(_.Sms_SendName)))
     {
         this._Sms_SendName = reader.GetString(_.Sms_SendName);
     }
     if ((false == reader.IsDBNull(_.Sms_MailBox)))
     {
         this._Sms_MailBox = reader.GetInt32(_.Sms_MailBox);
     }
     if ((false == reader.IsDBNull(_.Sms_State)))
     {
         this._Sms_State = reader.GetInt32(_.Sms_State);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #25
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Sts_ID)))
     {
         this._Sts_ID = reader.GetInt32(_.Sts_ID);
     }
     if ((false == reader.IsDBNull(_.Sts_Name)))
     {
         this._Sts_Name = reader.GetString(_.Sts_Name);
     }
     if ((false == reader.IsDBNull(_.Sts_Tax)))
     {
         this._Sts_Tax = reader.GetInt32(_.Sts_Tax);
     }
     if ((false == reader.IsDBNull(_.Sts_Intro)))
     {
         this._Sts_Intro = reader.GetString(_.Sts_Intro);
     }
     if ((false == reader.IsDBNull(_.Sts_IsUse)))
     {
         this._Sts_IsUse = reader.GetBoolean(_.Sts_IsUse);
     }
     if ((false == reader.IsDBNull(_.Sts_IsDefault)))
     {
         this._Sts_IsDefault = reader.GetBoolean(_.Sts_IsDefault);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
     if ((false == reader.IsDBNull(_.Dep_CnName)))
     {
         this._Dep_CnName = reader.GetString(_.Dep_CnName);
     }
     if ((false == reader.IsDBNull(_.Dep_Id)))
     {
         this._Dep_Id = reader.GetInt32(_.Dep_Id);
     }
     if ((false == reader.IsDBNull(_.Sts_SwitchPlay)))
     {
         this._Sts_SwitchPlay = reader.GetBoolean(_.Sts_SwitchPlay);
     }
 }
예제 #26
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Exr_ID)))
     {
         this._Exr_ID = reader.GetInt32(_.Exr_ID);
     }
     if ((false == reader.IsDBNull(_.Exr_Score)))
     {
         this._Exr_Score = reader.GetFloat(_.Exr_Score);
     }
     if ((false == reader.IsDBNull(_.Exr_Results)))
     {
         this._Exr_Results = reader.GetString(_.Exr_Results);
     }
     if ((false == reader.IsDBNull(_.Exr_CrtTime)))
     {
         this._Exr_CrtTime = reader.GetDateTime(_.Exr_CrtTime);
     }
     if ((false == reader.IsDBNull(_.Exr_IP)))
     {
         this._Exr_IP = reader.GetString(_.Exr_IP);
     }
     if ((false == reader.IsDBNull(_.Exr_Mac)))
     {
         this._Exr_Mac = reader.GetString(_.Exr_Mac);
     }
     if ((false == reader.IsDBNull(_.Exr_IsSubmit)))
     {
         this._Exr_IsSubmit = reader.GetBoolean(_.Exr_IsSubmit);
     }
     if ((false == reader.IsDBNull(_.Exam_ID)))
     {
         this._Exam_ID = reader.GetInt32(_.Exam_ID);
     }
     if ((false == reader.IsDBNull(_.Sbj_ID)))
     {
         this._Sbj_ID = reader.GetInt32(_.Sbj_ID);
     }
     if ((false == reader.IsDBNull(_.Tp_Id)))
     {
         this._Tp_Id = reader.GetInt32(_.Tp_Id);
     }
     if ((false == reader.IsDBNull(_.Acc_Id)))
     {
         this._Acc_Id = reader.GetInt32(_.Acc_Id);
     }
 }
예제 #27
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.PPK_Id)))
     {
         this._PPK_Id = reader.GetInt32(_.PPK_Id);
     }
     if ((false == reader.IsDBNull(_.PPK_Name)))
     {
         this._PPK_Name = reader.GetString(_.PPK_Name);
     }
     if ((false == reader.IsDBNull(_.PPK_IsUse)))
     {
         this._PPK_IsUse = reader.GetBoolean(_.PPK_IsUse);
     }
     if ((false == reader.IsDBNull(_.PPK_Logo)))
     {
         this._PPK_Logo = reader.GetString(_.PPK_Logo);
     }
     if ((false == reader.IsDBNull(_.PPK_Price)))
     {
         this._PPK_Price = reader.GetInt32(_.PPK_Price);
     }
     if ((false == reader.IsDBNull(_.PPK_DiscountPrice)))
     {
         this._PPK_DiscountPrice = reader.GetInt32(_.PPK_DiscountPrice);
     }
     if ((false == reader.IsDBNull(_.PPK_StartTime)))
     {
         this._PPK_StartTime = reader.GetDateTime(_.PPK_StartTime);
     }
     if ((false == reader.IsDBNull(_.PPK_EndTime)))
     {
         this._PPK_EndTime = reader.GetDateTime(_.PPK_EndTime);
     }
     if ((false == reader.IsDBNull(_.PPK_Intro)))
     {
         this._PPK_Intro = reader.GetString(_.PPK_Intro);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #28
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Mu_Id)))
     {
         this._Mu_Id = reader.GetInt32(_.Mu_Id);
     }
     if ((false == reader.IsDBNull(_.Mu_Phone)))
     {
         this._Mu_Phone = reader.GetString(_.Mu_Phone);
     }
     if ((false == reader.IsDBNull(_.Mu_LastTime)))
     {
         this._Mu_LastTime = reader.GetDateTime(_.Mu_LastTime);
     }
     if ((false == reader.IsDBNull(_.Mu_Sex)))
     {
         this._Mu_Sex = reader.GetInt32(_.Mu_Sex);
     }
     if ((false == reader.IsDBNull(_.Mu_Age)))
     {
         this._Mu_Age = reader.GetInt32(_.Mu_Age);
     }
     if ((false == reader.IsDBNull(_.Mu_Post)))
     {
         this._Mu_Post = reader.GetString(_.Mu_Post);
     }
     if ((false == reader.IsDBNull(_.Mu_Depart)))
     {
         this._Mu_Depart = reader.GetString(_.Mu_Depart);
     }
     if ((false == reader.IsDBNull(_.Mu_Number)))
     {
         this._Mu_Number = reader.GetInt32(_.Mu_Number);
     }
     if ((false == reader.IsDBNull(_.Mu_Version)))
     {
         this._Mu_Version = reader.GetString(_.Mu_Version);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #29
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.Pmin_Id)))
     {
         this._Pmin_Id = reader.GetInt32(_.Pmin_Id);
     }
     if ((false == reader.IsDBNull(_.Pmin_Tax)))
     {
         this._Pmin_Tax = reader.GetInt32(_.Pmin_Tax);
     }
     if ((false == reader.IsDBNull(_.Pmin_Width)))
     {
         this._Pmin_Width = reader.GetInt32(_.Pmin_Width);
     }
     if ((false == reader.IsDBNull(_.Pmin_Height)))
     {
         this._Pmin_Height = reader.GetInt32(_.Pmin_Height);
     }
     if ((false == reader.IsDBNull(_.Pmin_Unit)))
     {
         this._Pmin_Unit = reader.GetString(_.Pmin_Unit);
     }
     if ((false == reader.IsDBNull(_.Pmin_IsRestrain)))
     {
         this._Pmin_IsRestrain = reader.GetBoolean(_.Pmin_IsRestrain);
     }
     if ((false == reader.IsDBNull(_.Pmin_RestrainObj)))
     {
         this._Pmin_RestrainObj = reader.GetString(_.Pmin_RestrainObj);
     }
     if ((false == reader.IsDBNull(_.Pmin_IsUse)))
     {
         this._Pmin_IsUse = reader.GetBoolean(_.Pmin_IsUse);
     }
     if ((false == reader.IsDBNull(_.Pmin_File)))
     {
         this._Pmin_File = reader.GetString(_.Pmin_File);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.Org_Name)))
     {
         this._Org_Name = reader.GetString(_.Org_Name);
     }
 }
예제 #30
0
 /// <summary>
 /// 给当前实体赋值
 /// </summary>
 protected override void SetValues(WeiSha.Data.IRowReader reader)
 {
     if ((false == reader.IsDBNull(_.CP_ID)))
     {
         this._CP_ID = reader.GetInt32(_.CP_ID);
     }
     if ((false == reader.IsDBNull(_.CP_Tax)))
     {
         this._CP_Tax = reader.GetInt32(_.CP_Tax);
     }
     if ((false == reader.IsDBNull(_.CP_Price)))
     {
         this._CP_Price = reader.GetInt32(_.CP_Price);
     }
     if ((false == reader.IsDBNull(_.CP_Span)))
     {
         this._CP_Span = reader.GetInt32(_.CP_Span);
     }
     if ((false == reader.IsDBNull(_.CP_Unit)))
     {
         this._CP_Unit = reader.GetString(_.CP_Unit);
     }
     if ((false == reader.IsDBNull(_.CP_IsUse)))
     {
         this._CP_IsUse = reader.GetBoolean(_.CP_IsUse);
     }
     if ((false == reader.IsDBNull(_.CP_Group)))
     {
         this._CP_Group = reader.GetString(_.CP_Group);
     }
     if ((false == reader.IsDBNull(_.Cou_ID)))
     {
         this._Cou_ID = reader.GetInt32(_.Cou_ID);
     }
     if ((false == reader.IsDBNull(_.Cou_UID)))
     {
         this._Cou_UID = reader.GetString(_.Cou_UID);
     }
     if ((false == reader.IsDBNull(_.Org_ID)))
     {
         this._Org_ID = reader.GetInt32(_.Org_ID);
     }
     if ((false == reader.IsDBNull(_.CP_Coupon)))
     {
         this._CP_Coupon = reader.GetInt32(_.CP_Coupon);
     }
 }