From 2e14c723c8bd0e5295441a4ab697f91f67b94d25 Mon Sep 17 00:00:00 2001 From: shecs <408299694@qq.com> Date: Mon, 11 Nov 2024 16:09:21 +0800 Subject: [PATCH] 11 --- .gitignore | 2 + EProject/FineUIPro.Web/Web.config | 169 - EProject/Model/Model.cs | 36258 ---------------------------- 3 files changed, 2 insertions(+), 36427 deletions(-) delete mode 100644 EProject/FineUIPro.Web/Web.config delete mode 100644 EProject/Model/Model.cs diff --git a/.gitignore b/.gitignore index cbb2dad..8fb8373 100644 --- a/.gitignore +++ b/.gitignore @@ -1068,3 +1068,5 @@ EProject/WebApi/obj/Release/WebApi.pdb /EProject/FineUIPro.Web/ErrLog.txt /DataBase /EProject.rar +/EProject/Model/Model.cs +/EProject/FineUIPro.Web/Web.config diff --git a/EProject/FineUIPro.Web/Web.config b/EProject/FineUIPro.Web/Web.config deleted file mode 100644 index 20e8c89..0000000 --- a/EProject/FineUIPro.Web/Web.config +++ /dev/null @@ -1,169 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/EProject/Model/Model.cs b/EProject/Model/Model.cs deleted file mode 100644 index dd82008..0000000 --- a/EProject/Model/Model.cs +++ /dev/null @@ -1,36258 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace Model -{ - using System.Data.Linq; - using System.Data.Linq.Mapping; - using System.Data; - using System.Collections.Generic; - using System.Reflection; - using System.Linq; - using System.Linq.Expressions; - using System.ComponentModel; - using System; - - - public partial class EProjectDB : System.Data.Linq.DataContext - { - - private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); - - #region 可扩展性方法定义 - partial void OnCreated(); - partial void OnCreated() - { - this.CommandTimeout = 600; - } - partial void InsertAttachFile(AttachFile instance); - partial void UpdateAttachFile(AttachFile instance); - partial void DeleteAttachFile(AttachFile instance); - partial void InsertAudiFlow(AudiFlow instance); - partial void UpdateAudiFlow(AudiFlow instance); - partial void DeleteAudiFlow(AudiFlow instance); - partial void InsertBase_ActType(Base_ActType instance); - partial void UpdateBase_ActType(Base_ActType instance); - partial void DeleteBase_ActType(Base_ActType instance); - partial void InsertBase_Const(Base_Const instance); - partial void UpdateBase_Const(Base_Const instance); - partial void DeleteBase_Const(Base_Const instance); - partial void InsertBase_Contractor(Base_Contractor instance); - partial void UpdateBase_Contractor(Base_Contractor instance); - partial void DeleteBase_Contractor(Base_Contractor instance); - partial void InsertBase_Depart(Base_Depart instance); - partial void UpdateBase_Depart(Base_Depart instance); - partial void DeleteBase_Depart(Base_Depart instance); - partial void InsertBase_DisciplinesWBS(Base_DisciplinesWBS instance); - partial void UpdateBase_DisciplinesWBS(Base_DisciplinesWBS instance); - partial void DeleteBase_DisciplinesWBS(Base_DisciplinesWBS instance); - partial void InsertBase_HyperLinkSet(Base_HyperLinkSet instance); - partial void UpdateBase_HyperLinkSet(Base_HyperLinkSet instance); - partial void DeleteBase_HyperLinkSet(Base_HyperLinkSet instance); - partial void InsertDesign_Input(Design_Input instance); - partial void UpdateDesign_Input(Design_Input instance); - partial void DeleteDesign_Input(Design_Input instance); - partial void InsertDesign_Notice(Design_Notice instance); - partial void UpdateDesign_Notice(Design_Notice instance); - partial void DeleteDesign_Notice(Design_Notice instance); - partial void InsertDesign_NoticeFlow(Design_NoticeFlow instance); - partial void UpdateDesign_NoticeFlow(Design_NoticeFlow instance); - partial void DeleteDesign_NoticeFlow(Design_NoticeFlow instance); - partial void InsertDesign_Rect_Init(Design_Rect_Init instance); - partial void UpdateDesign_Rect_Init(Design_Rect_Init instance); - partial void DeleteDesign_Rect_Init(Design_Rect_Init instance); - partial void InsertEditor_AreaConcern(Editor_AreaConcern instance); - partial void UpdateEditor_AreaConcern(Editor_AreaConcern instance); - partial void DeleteEditor_AreaConcern(Editor_AreaConcern instance); - partial void InsertEditor_CM_HTD(Editor_CM_HTD instance); - partial void UpdateEditor_CM_HTD(Editor_CM_HTD instance); - partial void DeleteEditor_CM_HTD(Editor_CM_HTD instance); - partial void InsertEditor_CostReport(Editor_CostReport instance); - partial void UpdateEditor_CostReport(Editor_CostReport instance); - partial void DeleteEditor_CostReport(Editor_CostReport instance); - partial void InsertEditor_EProject(Editor_EProject instance); - partial void UpdateEditor_EProject(Editor_EProject instance); - partial void DeleteEditor_EProject(Editor_EProject instance); - partial void InsertEditor_FCRLog(Editor_FCRLog instance); - partial void UpdateEditor_FCRLog(Editor_FCRLog instance); - partial void DeleteEditor_FCRLog(Editor_FCRLog instance); - partial void InsertEditor_LessonsLearned(Editor_LessonsLearned instance); - partial void UpdateEditor_LessonsLearned(Editor_LessonsLearned instance); - partial void DeleteEditor_LessonsLearned(Editor_LessonsLearned instance); - partial void InsertEditor_PM(Editor_PM instance); - partial void UpdateEditor_PM(Editor_PM instance); - partial void DeleteEditor_PM(Editor_PM instance); - partial void InsertEditor_Punch(Editor_Punch instance); - partial void UpdateEditor_Punch(Editor_Punch instance); - partial void DeleteEditor_Punch(Editor_Punch instance); - partial void InsertEditor_TDC(Editor_TDC instance); - partial void UpdateEditor_TDC(Editor_TDC instance); - partial void DeleteEditor_TDC(Editor_TDC instance); - partial void InsertEmail_Params(Email_Params instance); - partial void UpdateEmail_Params(Email_Params instance); - partial void DeleteEmail_Params(Email_Params instance); - partial void InsertEmail_Pop(Email_Pop instance); - partial void UpdateEmail_Pop(Email_Pop instance); - partial void DeleteEmail_Pop(Email_Pop instance); - partial void InsertEmail_SendLog(Email_SendLog instance); - partial void UpdateEmail_SendLog(Email_SendLog instance); - partial void DeleteEmail_SendLog(Email_SendLog instance); - partial void InsertEmail_SendTemplate(Email_SendTemplate instance); - partial void UpdateEmail_SendTemplate(Email_SendTemplate instance); - partial void DeleteEmail_SendTemplate(Email_SendTemplate instance); - partial void InsertEmail_ToPeople(Email_ToPeople instance); - partial void UpdateEmail_ToPeople(Email_ToPeople instance); - partial void DeleteEmail_ToPeople(Email_ToPeople instance); - partial void InsertFile_Template(File_Template instance); - partial void UpdateFile_Template(File_Template instance); - partial void DeleteFile_Template(File_Template instance); - partial void InsertFile_UserGuideAndQA(File_UserGuideAndQA instance); - partial void UpdateFile_UserGuideAndQA(File_UserGuideAndQA instance); - partial void DeleteFile_UserGuideAndQA(File_UserGuideAndQA instance); - partial void InsertManHours_Actual(ManHours_Actual instance); - partial void UpdateManHours_Actual(ManHours_Actual instance); - partial void DeleteManHours_Actual(ManHours_Actual instance); - partial void InsertManHours_Plan(ManHours_Plan instance); - partial void UpdateManHours_Plan(ManHours_Plan instance); - partial void DeleteManHours_Plan(ManHours_Plan instance); - partial void InsertManHours_PlanDetail(ManHours_PlanDetail instance); - partial void UpdateManHours_PlanDetail(ManHours_PlanDetail instance); - partial void DeleteManHours_PlanDetail(ManHours_PlanDetail instance); - partial void InsertManHours_PlanManHours(ManHours_PlanManHours instance); - partial void UpdateManHours_PlanManHours(ManHours_PlanManHours instance); - partial void DeleteManHours_PlanManHours(ManHours_PlanManHours instance); - partial void InsertResource_Plan(Resource_Plan instance); - partial void UpdateResource_Plan(Resource_Plan instance); - partial void DeleteResource_Plan(Resource_Plan instance); - partial void InsertResource_PlanDetail(Resource_PlanDetail instance); - partial void UpdateResource_PlanDetail(Resource_PlanDetail instance); - partial void DeleteResource_PlanDetail(Resource_PlanDetail instance); - partial void InsertSyncDataUserLogs(SyncDataUserLogs instance); - partial void UpdateSyncDataUserLogs(SyncDataUserLogs instance); - partial void DeleteSyncDataUserLogs(SyncDataUserLogs instance); - partial void InsertSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet instance); - partial void UpdateSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet instance); - partial void DeleteSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet instance); - partial void InsertSys_ButtonPower(Sys_ButtonPower instance); - partial void UpdateSys_ButtonPower(Sys_ButtonPower instance); - partial void DeleteSys_ButtonPower(Sys_ButtonPower instance); - partial void InsertSys_ButtonToMenu(Sys_ButtonToMenu instance); - partial void UpdateSys_ButtonToMenu(Sys_ButtonToMenu instance); - partial void DeleteSys_ButtonToMenu(Sys_ButtonToMenu instance); - partial void InsertSys_Const(Sys_Const instance); - partial void UpdateSys_Const(Sys_Const instance); - partial void DeleteSys_Const(Sys_Const instance); - partial void InsertSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void UpdateSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void DeleteSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void InsertSys_Log(Sys_Log instance); - partial void UpdateSys_Log(Sys_Log instance); - partial void DeleteSys_Log(Sys_Log instance); - partial void InsertSys_Menu(Sys_Menu instance); - partial void UpdateSys_Menu(Sys_Menu instance); - partial void DeleteSys_Menu(Sys_Menu instance); - partial void InsertSys_Role(Sys_Role instance); - partial void UpdateSys_Role(Sys_Role instance); - partial void DeleteSys_Role(Sys_Role instance); - partial void InsertSys_RolePower(Sys_RolePower instance); - partial void UpdateSys_RolePower(Sys_RolePower instance); - partial void DeleteSys_RolePower(Sys_RolePower instance); - partial void InsertSys_Set(Sys_Set instance); - partial void UpdateSys_Set(Sys_Set instance); - partial void DeleteSys_Set(Sys_Set instance); - partial void InsertSys_System(Sys_System instance); - partial void UpdateSys_System(Sys_System instance); - partial void DeleteSys_System(Sys_System instance); - partial void InsertSys_User(Sys_User instance); - partial void UpdateSys_User(Sys_User instance); - partial void DeleteSys_User(Sys_User instance); - #endregion - - public EProjectDB(string connection) : - base(connection, mappingSource) - { - OnCreated(); - } - - public EProjectDB(System.Data.IDbConnection connection) : - base(connection, mappingSource) - { - OnCreated(); - } - - public EProjectDB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : - base(connection, mappingSource) - { - OnCreated(); - } - - public EProjectDB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : - base(connection, mappingSource) - { - OnCreated(); - } - - public System.Data.Linq.Table AttachFile - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table AudiFlow - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_ActType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Const - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Contractor - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Depart - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_DisciplinesWBS - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_HyperLinkSet - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Design_Input - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Design_Notice - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Design_NoticeFlow - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Design_Rect_Init - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_AreaConcern - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_CM_HTD - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_CostReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_EProject - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_FCRLog - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_LessonsLearned - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_PM - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_Punch - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Editor_TDC - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Email_Params - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Email_Pop - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Email_SendLog - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Email_SendTemplate - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Email_ToPeople - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table File_Template - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table File_UserGuideAndQA - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table ManHours_Actual - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table ManHours_Plan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table ManHours_PlanDetail - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table ManHours_PlanManHours - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table OriginDatas - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Resource_Plan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Resource_PlanDetail - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table SyncDataUserLogs - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ActualManHourMonthSet - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ButtonPower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ButtonToMenu - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Const - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ErrLogInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Log - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Menu - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Role - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_RolePower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Set - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_System - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_User - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ConcernReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Disciplines - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_EprojectAPI - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_FCR_Report - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_GaReport_ScheduleGanttBar - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_HomePage_Permits - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_InDetailedDesign_GetCivil - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_InDetailedDesign_GetMechEI - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Job_List - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ManHours_Actual - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ManHours_Plan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ManHours_PlanDetail - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_NewManHours_Plan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Project_Closure_Report - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ProjectListReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Punch - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_DocumentationStatusIFC - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_DocumentationStatusMC - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_DocumentationStatusMC_OUT - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_DocumentationTakeoverReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table VIEW_Report_Overview - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_Permit_PressurePipingVesse - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_PermitGeneral - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_ProjectCostReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_Rolesview - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Report_ScheduleGanttBar - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Resource_PlanDetai - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ResourceDisc - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ResourcePlanDetailWBS - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_ScheduleDate - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Sys_Users - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_TDCDiscValue - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_UserDepartDropDownList - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_UserDropDownList - { - get - { - return this.GetTable(); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AttachFile")] - public partial class AttachFile : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AttachFileId; - - private string _ToKeyId; - - private string _AttachSource; - - private string _AttachUrl; - - private string _MenuId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAttachFileIdChanging(string value); - partial void OnAttachFileIdChanged(); - partial void OnToKeyIdChanging(string value); - partial void OnToKeyIdChanged(); - partial void OnAttachSourceChanging(string value); - partial void OnAttachSourceChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - #endregion - - public AttachFile() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachFileId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AttachFileId - { - get - { - return this._AttachFileId; - } - set - { - if ((this._AttachFileId != value)) - { - this.OnAttachFileIdChanging(value); - this.SendPropertyChanging(); - this._AttachFileId = value; - this.SendPropertyChanged("AttachFileId"); - this.OnAttachFileIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(50)")] - public string ToKeyId - { - get - { - return this._ToKeyId; - } - set - { - if ((this._ToKeyId != value)) - { - this.OnToKeyIdChanging(value); - this.SendPropertyChanging(); - this._ToKeyId = value; - this.SendPropertyChanged("ToKeyId"); - this.OnToKeyIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachSource", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string AttachSource - { - get - { - return this._AttachSource; - } - set - { - if ((this._AttachSource != value)) - { - this.OnAttachSourceChanging(value); - this.SendPropertyChanging(); - this._AttachSource = value; - this.SendPropertyChanged("AttachSource"); - this.OnAttachSourceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(1000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AudiFlow")] - public partial class AudiFlow : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AudiFlowId; - - private int _AudiFlowStep; - - private string _FlowModule; - - private string _AuditFlowName; - - private string _NextAuditFlow; - - private string _RoleId; - - private System.Nullable _IsFlowEnd; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAudiFlowIdChanging(string value); - partial void OnAudiFlowIdChanged(); - partial void OnAudiFlowStepChanging(int value); - partial void OnAudiFlowStepChanged(); - partial void OnFlowModuleChanging(string value); - partial void OnFlowModuleChanged(); - partial void OnAuditFlowNameChanging(string value); - partial void OnAuditFlowNameChanged(); - partial void OnNextAuditFlowChanging(string value); - partial void OnNextAuditFlowChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnIsFlowEndChanging(System.Nullable value); - partial void OnIsFlowEndChanged(); - #endregion - - public AudiFlow() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AudiFlowId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AudiFlowId - { - get - { - return this._AudiFlowId; - } - set - { - if ((this._AudiFlowId != value)) - { - this.OnAudiFlowIdChanging(value); - this.SendPropertyChanging(); - this._AudiFlowId = value; - this.SendPropertyChanged("AudiFlowId"); - this.OnAudiFlowIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AudiFlowStep", DbType="Int NOT NULL")] - public int AudiFlowStep - { - get - { - return this._AudiFlowStep; - } - set - { - if ((this._AudiFlowStep != value)) - { - this.OnAudiFlowStepChanging(value); - this.SendPropertyChanging(); - this._AudiFlowStep = value; - this.SendPropertyChanged("AudiFlowStep"); - this.OnAudiFlowStepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FlowModule", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string FlowModule - { - get - { - return this._FlowModule; - } - set - { - if ((this._FlowModule != value)) - { - this.OnFlowModuleChanging(value); - this.SendPropertyChanging(); - this._FlowModule = value; - this.SendPropertyChanged("FlowModule"); - this.OnFlowModuleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditFlowName", DbType="NVarChar(20)")] - public string AuditFlowName - { - get - { - return this._AuditFlowName; - } - set - { - if ((this._AuditFlowName != value)) - { - this.OnAuditFlowNameChanging(value); - this.SendPropertyChanging(); - this._AuditFlowName = value; - this.SendPropertyChanged("AuditFlowName"); - this.OnAuditFlowNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NextAuditFlow", DbType="NVarChar(30)")] - public string NextAuditFlow - { - get - { - return this._NextAuditFlow; - } - set - { - if ((this._NextAuditFlow != value)) - { - this.OnNextAuditFlowChanging(value); - this.SendPropertyChanging(); - this._NextAuditFlow = value; - this.SendPropertyChanged("NextAuditFlow"); - this.OnNextAuditFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(500)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFlowEnd", DbType="Bit")] - public System.Nullable IsFlowEnd - { - get - { - return this._IsFlowEnd; - } - set - { - if ((this._IsFlowEnd != value)) - { - this.OnIsFlowEndChanging(value); - this.SendPropertyChanging(); - this._IsFlowEnd = value; - this.SendPropertyChanged("IsFlowEnd"); - this.OnIsFlowEndChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_ActType")] - public partial class Base_ActType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ActTypeId; - - private string _ActType; - - private string _Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnActTypeIdChanging(string value); - partial void OnActTypeIdChanged(); - partial void OnActTypeChanging(string value); - partial void OnActTypeChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Base_ActType() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActTypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ActTypeId - { - get - { - return this._ActTypeId; - } - set - { - if ((this._ActTypeId != value)) - { - this.OnActTypeIdChanging(value); - this.SendPropertyChanging(); - this._ActTypeId = value; - this.SendPropertyChanged("ActTypeId"); - this.OnActTypeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActType", DbType="NVarChar(50)")] - public string ActType - { - get - { - return this._ActType; - } - set - { - if ((this._ActType != value)) - { - this.OnActTypeChanging(value); - this.SendPropertyChanging(); - this._ActType = value; - this.SendPropertyChanged("ActType"); - this.OnActTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Const")] - public partial class Base_Const : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ConstId; - - private string _ConstValue; - - private string _ConstText; - - private string _GroupId; - - private EntitySet _Editor_AreaConcern; - - private EntitySet _Editor_FCRLog; - - private EntitySet _Const; - - private EntitySet _Editor_FCRLog_Base_Const2; - - private EntitySet _Editor_Punch; - - private EntitySet _Editor_Punch_Base_Const1; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnConstIdChanging(string value); - partial void OnConstIdChanged(); - partial void OnConstValueChanging(string value); - partial void OnConstValueChanged(); - partial void OnConstTextChanging(string value); - partial void OnConstTextChanged(); - partial void OnGroupIdChanging(string value); - partial void OnGroupIdChanged(); - #endregion - - public Base_Const() - { - this._Editor_AreaConcern = new EntitySet(new Action(this.attach_Editor_AreaConcern), new Action(this.detach_Editor_AreaConcern)); - this._Editor_FCRLog = new EntitySet(new Action(this.attach_Editor_FCRLog), new Action(this.detach_Editor_FCRLog)); - this._Const = new EntitySet(new Action(this.attach_Const), new Action(this.detach_Const)); - this._Editor_FCRLog_Base_Const2 = new EntitySet(new Action(this.attach_Editor_FCRLog_Base_Const2), new Action(this.detach_Editor_FCRLog_Base_Const2)); - this._Editor_Punch = new EntitySet(new Action(this.attach_Editor_Punch), new Action(this.detach_Editor_Punch)); - this._Editor_Punch_Base_Const1 = new EntitySet(new Action(this.attach_Editor_Punch_Base_Const1), new Action(this.detach_Editor_Punch_Base_Const1)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ConstId - { - get - { - return this._ConstId; - } - set - { - if ((this._ConstId != value)) - { - this.OnConstIdChanging(value); - this.SendPropertyChanging(); - this._ConstId = value; - this.SendPropertyChanged("ConstId"); - this.OnConstIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(50)")] - public string ConstValue - { - get - { - return this._ConstValue; - } - set - { - if ((this._ConstValue != value)) - { - this.OnConstValueChanging(value); - this.SendPropertyChanging(); - this._ConstValue = value; - this.SendPropertyChanged("ConstValue"); - this.OnConstValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstText", DbType="NVarChar(50)")] - public string ConstText - { - get - { - return this._ConstText; - } - set - { - if ((this._ConstText != value)) - { - this.OnConstTextChanging(value); - this.SendPropertyChanging(); - this._ConstText = value; - this.SendPropertyChanged("ConstText"); - this.OnConstTextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupId", DbType="NVarChar(50)")] - public string GroupId - { - get - { - return this._GroupId; - } - set - { - if ((this._GroupId != value)) - { - this.OnGroupIdChanging(value); - this.SendPropertyChanging(); - this._GroupId = value; - this.SendPropertyChanged("GroupId"); - this.OnGroupIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Base_Const", Storage="_Editor_AreaConcern", ThisKey="ConstId", OtherKey="CategoryCauseId", DeleteRule="NO ACTION")] - public EntitySet Editor_AreaConcern - { - get - { - return this._Editor_AreaConcern; - } - set - { - this._Editor_AreaConcern.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const", Storage="_Editor_FCRLog", ThisKey="ConstId", OtherKey="CategoryId", DeleteRule="NO ACTION")] - public EntitySet Editor_FCRLog - { - get - { - return this._Editor_FCRLog; - } - set - { - this._Editor_FCRLog.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const1", Storage="_Const", ThisKey="ConstId", OtherKey="CDIId", DeleteRule="NO ACTION")] - public EntitySet Const - { - get - { - return this._Const; - } - set - { - this._Const.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const2", Storage="_Editor_FCRLog_Base_Const2", ThisKey="ConstId", OtherKey="DisciplineId", DeleteRule="NO ACTION")] - public EntitySet Editor_FCRLog_Base_Const2 - { - get - { - return this._Editor_FCRLog_Base_Const2; - } - set - { - this._Editor_FCRLog_Base_Const2.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const", Storage="_Editor_Punch", ThisKey="ConstId", OtherKey="DisciplineId", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch - { - get - { - return this._Editor_Punch; - } - set - { - this._Editor_Punch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const1", Storage="_Editor_Punch_Base_Const1", ThisKey="ConstId", OtherKey="ClassId", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch_Base_Const1 - { - get - { - return this._Editor_Punch_Base_Const1; - } - set - { - this._Editor_Punch_Base_Const1.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Base_Const = this; - } - - private void detach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Base_Const = null; - } - - private void attach_Editor_FCRLog(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Base_Const = this; - } - - private void detach_Editor_FCRLog(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Base_Const = null; - } - - private void attach_Const(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.CDI = this; - } - - private void detach_Const(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.CDI = null; - } - - private void attach_Editor_FCRLog_Base_Const2(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Discipline = this; - } - - private void detach_Editor_FCRLog_Base_Const2(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Discipline = null; - } - - private void attach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Base_Const = this; - } - - private void detach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Base_Const = null; - } - - private void attach_Editor_Punch_Base_Const1(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Class = this; - } - - private void detach_Editor_Punch_Base_Const1(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Class = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Contractor")] - public partial class Base_Contractor : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ContractorId; - - private string _ContractorName; - - private string _ContractorShortName; - - private string _Remark; - - private EntitySet _Editor_CM_HTD; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnContractorIdChanging(string value); - partial void OnContractorIdChanged(); - partial void OnContractorNameChanging(string value); - partial void OnContractorNameChanged(); - partial void OnContractorShortNameChanging(string value); - partial void OnContractorShortNameChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Base_Contractor() - { - this._Editor_CM_HTD = new EntitySet(new Action(this.attach_Editor_CM_HTD), new Action(this.detach_Editor_CM_HTD)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ContractorId - { - get - { - return this._ContractorId; - } - set - { - if ((this._ContractorId != value)) - { - this.OnContractorIdChanging(value); - this.SendPropertyChanging(); - this._ContractorId = value; - this.SendPropertyChanged("ContractorId"); - this.OnContractorIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorName", DbType="NVarChar(150)")] - public string ContractorName - { - get - { - return this._ContractorName; - } - set - { - if ((this._ContractorName != value)) - { - this.OnContractorNameChanging(value); - this.SendPropertyChanging(); - this._ContractorName = value; - this.SendPropertyChanged("ContractorName"); - this.OnContractorNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorShortName", DbType="NVarChar(50)")] - public string ContractorShortName - { - get - { - return this._ContractorShortName; - } - set - { - if ((this._ContractorShortName != value)) - { - this.OnContractorShortNameChanging(value); - this.SendPropertyChanging(); - this._ContractorShortName = value; - this.SendPropertyChanged("ContractorShortName"); - this.OnContractorShortNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_CM_HTD_Base_Contractor", Storage="_Editor_CM_HTD", ThisKey="ContractorId", OtherKey="ContractorId", DeleteRule="NO ACTION")] - public EntitySet Editor_CM_HTD - { - get - { - return this._Editor_CM_HTD; - } - set - { - this._Editor_CM_HTD.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Editor_CM_HTD(Editor_CM_HTD entity) - { - this.SendPropertyChanging(); - entity.Base_Contractor = this; - } - - private void detach_Editor_CM_HTD(Editor_CM_HTD entity) - { - this.SendPropertyChanging(); - entity.Base_Contractor = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Depart")] - public partial class Base_Depart : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DepartId; - - private string _DepartCode; - - private string _DepartName; - - private string _Remark; - - private string _SupCheckItem; - - private string _DepartLeader; - - private EntitySet _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnDepartCodeChanging(string value); - partial void OnDepartCodeChanged(); - partial void OnDepartNameChanging(string value); - partial void OnDepartNameChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnSupCheckItemChanging(string value); - partial void OnSupCheckItemChanged(); - partial void OnDepartLeaderChanging(string value); - partial void OnDepartLeaderChanged(); - #endregion - - public Base_Depart() - { - this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")] - public string DepartCode - { - get - { - return this._DepartCode; - } - set - { - if ((this._DepartCode != value)) - { - this.OnDepartCodeChanging(value); - this.SendPropertyChanging(); - this._DepartCode = value; - this.SendPropertyChanged("DepartCode"); - this.OnDepartCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(20)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this.OnDepartNameChanging(value); - this.SendPropertyChanging(); - this._DepartName = value; - this.SendPropertyChanged("DepartName"); - this.OnDepartNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupCheckItem", DbType="NVarChar(50)")] - public string SupCheckItem - { - get - { - return this._SupCheckItem; - } - set - { - if ((this._SupCheckItem != value)) - { - this.OnSupCheckItemChanging(value); - this.SendPropertyChanging(); - this._SupCheckItem = value; - this.SendPropertyChanged("SupCheckItem"); - this.OnSupCheckItemChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartLeader", DbType="NVarChar(50)")] - public string DepartLeader - { - get - { - return this._DepartLeader; - } - set - { - if ((this._DepartLeader != value)) - { - this.OnDepartLeaderChanging(value); - this.SendPropertyChanging(); - this._DepartLeader = value; - this.SendPropertyChanged("DepartLeader"); - this.OnDepartLeaderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Sys_User", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")] - public EntitySet Sys_User - { - get - { - return this._Sys_User; - } - set - { - this._Sys_User.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Depart = this; - } - - private void detach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Depart = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_DisciplinesWBS")] - public partial class Base_DisciplinesWBS : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DisciplinesWBSId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private string _DepartId; - - private string _DepartName; - - private string _NetworkOper; - - private string _WorkorderOper; - - private string _Designer; - - private string _Checker; - - private string _Approver; - - private string _Leader; - - private string _Roles; - - private string _Remark; - - private string _Type; - - private string _NetworkOper1; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDisciplinesWBSIdChanging(string value); - partial void OnDisciplinesWBSIdChanged(); - partial void OnDisciplinesWBSCodeChanging(string value); - partial void OnDisciplinesWBSCodeChanged(); - partial void OnDisciplinesWBSNameChanging(string value); - partial void OnDisciplinesWBSNameChanged(); - partial void OnWBSChanging(string value); - partial void OnWBSChanged(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnDepartNameChanging(string value); - partial void OnDepartNameChanged(); - partial void OnNetworkOperChanging(string value); - partial void OnNetworkOperChanged(); - partial void OnWorkorderOperChanging(string value); - partial void OnWorkorderOperChanged(); - partial void OnDesignerChanging(string value); - partial void OnDesignerChanged(); - partial void OnCheckerChanging(string value); - partial void OnCheckerChanged(); - partial void OnApproverChanging(string value); - partial void OnApproverChanged(); - partial void OnLeaderChanging(string value); - partial void OnLeaderChanged(); - partial void OnRolesChanging(string value); - partial void OnRolesChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnNetworkOper1Changing(string value); - partial void OnNetworkOper1Changed(); - #endregion - - public Base_DisciplinesWBS() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DisciplinesWBSId - { - get - { - return this._DisciplinesWBSId; - } - set - { - if ((this._DisciplinesWBSId != value)) - { - this.OnDisciplinesWBSIdChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSId = value; - this.SendPropertyChanged("DisciplinesWBSId"); - this.OnDisciplinesWBSIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this.OnDisciplinesWBSCodeChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSCode = value; - this.SendPropertyChanged("DisciplinesWBSCode"); - this.OnDisciplinesWBSCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this.OnDisciplinesWBSNameChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSName = value; - this.SendPropertyChanged("DisciplinesWBSName"); - this.OnDisciplinesWBSNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this.OnWBSChanging(value); - this.SendPropertyChanging(); - this._WBS = value; - this.SendPropertyChanged("WBS"); - this.OnWBSChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(50)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this.OnDepartNameChanging(value); - this.SendPropertyChanging(); - this._DepartName = value; - this.SendPropertyChanged("DepartName"); - this.OnDepartNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetworkOper", DbType="NVarChar(50)")] - public string NetworkOper - { - get - { - return this._NetworkOper; - } - set - { - if ((this._NetworkOper != value)) - { - this.OnNetworkOperChanging(value); - this.SendPropertyChanging(); - this._NetworkOper = value; - this.SendPropertyChanged("NetworkOper"); - this.OnNetworkOperChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkorderOper", DbType="NVarChar(50)")] - public string WorkorderOper - { - get - { - return this._WorkorderOper; - } - set - { - if ((this._WorkorderOper != value)) - { - this.OnWorkorderOperChanging(value); - this.SendPropertyChanging(); - this._WorkorderOper = value; - this.SendPropertyChanged("WorkorderOper"); - this.OnWorkorderOperChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Designer", DbType="NVarChar(50)")] - public string Designer - { - get - { - return this._Designer; - } - set - { - if ((this._Designer != value)) - { - this.OnDesignerChanging(value); - this.SendPropertyChanging(); - this._Designer = value; - this.SendPropertyChanged("Designer"); - this.OnDesignerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Checker", DbType="NVarChar(50)")] - public string Checker - { - get - { - return this._Checker; - } - set - { - if ((this._Checker != value)) - { - this.OnCheckerChanging(value); - this.SendPropertyChanging(); - this._Checker = value; - this.SendPropertyChanged("Checker"); - this.OnCheckerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Approver", DbType="NVarChar(50)")] - public string Approver - { - get - { - return this._Approver; - } - set - { - if ((this._Approver != value)) - { - this.OnApproverChanging(value); - this.SendPropertyChanging(); - this._Approver = value; - this.SendPropertyChanged("Approver"); - this.OnApproverChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Leader", DbType="NVarChar(50)")] - public string Leader - { - get - { - return this._Leader; - } - set - { - if ((this._Leader != value)) - { - this.OnLeaderChanging(value); - this.SendPropertyChanging(); - this._Leader = value; - this.SendPropertyChanged("Leader"); - this.OnLeaderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this.OnRolesChanging(value); - this.SendPropertyChanging(); - this._Roles = value; - this.SendPropertyChanged("Roles"); - this.OnRolesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetworkOper1", DbType="NVarChar(50)")] - public string NetworkOper1 - { - get - { - return this._NetworkOper1; - } - set - { - if ((this._NetworkOper1 != value)) - { - this.OnNetworkOper1Changing(value); - this.SendPropertyChanging(); - this._NetworkOper1 = value; - this.SendPropertyChanged("NetworkOper1"); - this.OnNetworkOper1Changed(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_HyperLinkSet")] - public partial class Base_HyperLinkSet : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HyperLinkId; - - private string _HyperLinkName; - - private string _HyperLinkUrl; - - private string _Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHyperLinkIdChanging(string value); - partial void OnHyperLinkIdChanged(); - partial void OnHyperLinkNameChanging(string value); - partial void OnHyperLinkNameChanged(); - partial void OnHyperLinkUrlChanging(string value); - partial void OnHyperLinkUrlChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Base_HyperLinkSet() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HyperLinkId - { - get - { - return this._HyperLinkId; - } - set - { - if ((this._HyperLinkId != value)) - { - this.OnHyperLinkIdChanging(value); - this.SendPropertyChanging(); - this._HyperLinkId = value; - this.SendPropertyChanged("HyperLinkId"); - this.OnHyperLinkIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkName", DbType="NVarChar(100)")] - public string HyperLinkName - { - get - { - return this._HyperLinkName; - } - set - { - if ((this._HyperLinkName != value)) - { - this.OnHyperLinkNameChanging(value); - this.SendPropertyChanging(); - this._HyperLinkName = value; - this.SendPropertyChanged("HyperLinkName"); - this.OnHyperLinkNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkUrl", DbType="NVarChar(150)")] - public string HyperLinkUrl - { - get - { - return this._HyperLinkUrl; - } - set - { - if ((this._HyperLinkUrl != value)) - { - this.OnHyperLinkUrlChanging(value); - this.SendPropertyChanging(); - this._HyperLinkUrl = value; - this.SendPropertyChanged("HyperLinkUrl"); - this.OnHyperLinkUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Input")] - public partial class Design_Input : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DesignInputId; - - private System.Nullable _DesignRectId; - - private string _EProjectId; - - private string _DesignInputChName; - - private string _DesignInputEnName; - - private string _DesignInputNo; - - private string _IssuedDiscipline; - - private string _IssuedDisciplineCode; - - private string _ReceivedDiscipline; - - private string _IssuedMan; - - private string _ReceivedMan; - - private System.Nullable _PlanStartDate; - - private System.Nullable _PlanEndDate; - - private System.Nullable _ActStartDate; - - private System.Nullable _ActEndDate; - - private System.Nullable _IsComplete; - - private string _ReceivedDisciplineCode; - - private System.Nullable _MailIsWarn; - - private EntityRef _Design_Rect_Init; - - private EntityRef _Editor_EProject; - - private EntityRef _Sys_User; - - private EntityRef _ReceivedManSys_User; - - private EntitySet _Design_Notice; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDesignInputIdChanging(string value); - partial void OnDesignInputIdChanged(); - partial void OnDesignRectIdChanging(System.Nullable value); - partial void OnDesignRectIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnDesignInputChNameChanging(string value); - partial void OnDesignInputChNameChanged(); - partial void OnDesignInputEnNameChanging(string value); - partial void OnDesignInputEnNameChanged(); - partial void OnDesignInputNoChanging(string value); - partial void OnDesignInputNoChanged(); - partial void OnIssuedDisciplineChanging(string value); - partial void OnIssuedDisciplineChanged(); - partial void OnIssuedDisciplineCodeChanging(string value); - partial void OnIssuedDisciplineCodeChanged(); - partial void OnReceivedDisciplineChanging(string value); - partial void OnReceivedDisciplineChanged(); - partial void OnIssuedManChanging(string value); - partial void OnIssuedManChanged(); - partial void OnReceivedManChanging(string value); - partial void OnReceivedManChanged(); - partial void OnPlanStartDateChanging(System.Nullable value); - partial void OnPlanStartDateChanged(); - partial void OnPlanEndDateChanging(System.Nullable value); - partial void OnPlanEndDateChanged(); - partial void OnActStartDateChanging(System.Nullable value); - partial void OnActStartDateChanged(); - partial void OnActEndDateChanging(System.Nullable value); - partial void OnActEndDateChanged(); - partial void OnIsCompleteChanging(System.Nullable value); - partial void OnIsCompleteChanged(); - partial void OnReceivedDisciplineCodeChanging(string value); - partial void OnReceivedDisciplineCodeChanged(); - partial void OnMailIsWarnChanging(System.Nullable value); - partial void OnMailIsWarnChanged(); - #endregion - - public Design_Input() - { - this._Design_Rect_Init = default(EntityRef); - this._Editor_EProject = default(EntityRef); - this._Sys_User = default(EntityRef); - this._ReceivedManSys_User = default(EntityRef); - this._Design_Notice = new EntitySet(new Action(this.attach_Design_Notice), new Action(this.detach_Design_Notice)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DesignInputId - { - get - { - return this._DesignInputId; - } - set - { - if ((this._DesignInputId != value)) - { - this.OnDesignInputIdChanging(value); - this.SendPropertyChanging(); - this._DesignInputId = value; - this.SendPropertyChanged("DesignInputId"); - this.OnDesignInputIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignRectId", DbType="Int")] - public System.Nullable DesignRectId - { - get - { - return this._DesignRectId; - } - set - { - if ((this._DesignRectId != value)) - { - if (this._Design_Rect_Init.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDesignRectIdChanging(value); - this.SendPropertyChanging(); - this._DesignRectId = value; - this.SendPropertyChanged("DesignRectId"); - this.OnDesignRectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputChName", DbType="NVarChar(100)")] - public string DesignInputChName - { - get - { - return this._DesignInputChName; - } - set - { - if ((this._DesignInputChName != value)) - { - this.OnDesignInputChNameChanging(value); - this.SendPropertyChanging(); - this._DesignInputChName = value; - this.SendPropertyChanged("DesignInputChName"); - this.OnDesignInputChNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputEnName", DbType="NVarChar(100)")] - public string DesignInputEnName - { - get - { - return this._DesignInputEnName; - } - set - { - if ((this._DesignInputEnName != value)) - { - this.OnDesignInputEnNameChanging(value); - this.SendPropertyChanging(); - this._DesignInputEnName = value; - this.SendPropertyChanged("DesignInputEnName"); - this.OnDesignInputEnNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputNo", DbType="NVarChar(100)")] - public string DesignInputNo - { - get - { - return this._DesignInputNo; - } - set - { - if ((this._DesignInputNo != value)) - { - this.OnDesignInputNoChanging(value); - this.SendPropertyChanging(); - this._DesignInputNo = value; - this.SendPropertyChanged("DesignInputNo"); - this.OnDesignInputNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDiscipline", DbType="NVarChar(50)")] - public string IssuedDiscipline - { - get - { - return this._IssuedDiscipline; - } - set - { - if ((this._IssuedDiscipline != value)) - { - this.OnIssuedDisciplineChanging(value); - this.SendPropertyChanging(); - this._IssuedDiscipline = value; - this.SendPropertyChanged("IssuedDiscipline"); - this.OnIssuedDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDisciplineCode", DbType="NVarChar(50)")] - public string IssuedDisciplineCode - { - get - { - return this._IssuedDisciplineCode; - } - set - { - if ((this._IssuedDisciplineCode != value)) - { - this.OnIssuedDisciplineCodeChanging(value); - this.SendPropertyChanging(); - this._IssuedDisciplineCode = value; - this.SendPropertyChanged("IssuedDisciplineCode"); - this.OnIssuedDisciplineCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedDiscipline", DbType="NVarChar(50)")] - public string ReceivedDiscipline - { - get - { - return this._ReceivedDiscipline; - } - set - { - if ((this._ReceivedDiscipline != value)) - { - this.OnReceivedDisciplineChanging(value); - this.SendPropertyChanging(); - this._ReceivedDiscipline = value; - this.SendPropertyChanged("ReceivedDiscipline"); - this.OnReceivedDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedMan", DbType="NVarChar(50)")] - public string IssuedMan - { - get - { - return this._IssuedMan; - } - set - { - if ((this._IssuedMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnIssuedManChanging(value); - this.SendPropertyChanging(); - this._IssuedMan = value; - this.SendPropertyChanged("IssuedMan"); - this.OnIssuedManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedMan", DbType="NVarChar(50)")] - public string ReceivedMan - { - get - { - return this._ReceivedMan; - } - set - { - if ((this._ReceivedMan != value)) - { - if (this._ReceivedManSys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnReceivedManChanging(value); - this.SendPropertyChanging(); - this._ReceivedMan = value; - this.SendPropertyChanged("ReceivedMan"); - this.OnReceivedManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")] - public System.Nullable PlanStartDate - { - get - { - return this._PlanStartDate; - } - set - { - if ((this._PlanStartDate != value)) - { - this.OnPlanStartDateChanging(value); - this.SendPropertyChanging(); - this._PlanStartDate = value; - this.SendPropertyChanged("PlanStartDate"); - this.OnPlanStartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")] - public System.Nullable PlanEndDate - { - get - { - return this._PlanEndDate; - } - set - { - if ((this._PlanEndDate != value)) - { - this.OnPlanEndDateChanging(value); - this.SendPropertyChanging(); - this._PlanEndDate = value; - this.SendPropertyChanged("PlanEndDate"); - this.OnPlanEndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActStartDate", DbType="DateTime")] - public System.Nullable ActStartDate - { - get - { - return this._ActStartDate; - } - set - { - if ((this._ActStartDate != value)) - { - this.OnActStartDateChanging(value); - this.SendPropertyChanging(); - this._ActStartDate = value; - this.SendPropertyChanged("ActStartDate"); - this.OnActStartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActEndDate", DbType="DateTime")] - public System.Nullable ActEndDate - { - get - { - return this._ActEndDate; - } - set - { - if ((this._ActEndDate != value)) - { - this.OnActEndDateChanging(value); - this.SendPropertyChanging(); - this._ActEndDate = value; - this.SendPropertyChanged("ActEndDate"); - this.OnActEndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsComplete", DbType="Bit")] - public System.Nullable IsComplete - { - get - { - return this._IsComplete; - } - set - { - if ((this._IsComplete != value)) - { - this.OnIsCompleteChanging(value); - this.SendPropertyChanging(); - this._IsComplete = value; - this.SendPropertyChanged("IsComplete"); - this.OnIsCompleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedDisciplineCode", DbType="NVarChar(50)")] - public string ReceivedDisciplineCode - { - get - { - return this._ReceivedDisciplineCode; - } - set - { - if ((this._ReceivedDisciplineCode != value)) - { - this.OnReceivedDisciplineCodeChanging(value); - this.SendPropertyChanging(); - this._ReceivedDisciplineCode = value; - this.SendPropertyChanged("ReceivedDisciplineCode"); - this.OnReceivedDisciplineCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MailIsWarn", DbType="Bit")] - public System.Nullable MailIsWarn - { - get - { - return this._MailIsWarn; - } - set - { - if ((this._MailIsWarn != value)) - { - this.OnMailIsWarnChanging(value); - this.SendPropertyChanging(); - this._MailIsWarn = value; - this.SendPropertyChanged("MailIsWarn"); - this.OnMailIsWarnChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Design_Rect_Init", Storage="_Design_Rect_Init", ThisKey="DesignRectId", OtherKey="DesignRectId", IsForeignKey=true)] - public Design_Rect_Init Design_Rect_Init - { - get - { - return this._Design_Rect_Init.Entity; - } - set - { - Design_Rect_Init previousValue = this._Design_Rect_Init.Entity; - if (((previousValue != value) - || (this._Design_Rect_Init.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Design_Rect_Init.Entity = null; - previousValue.Design_Input.Remove(this); - } - this._Design_Rect_Init.Entity = value; - if ((value != null)) - { - value.Design_Input.Add(this); - this._DesignRectId = value.DesignRectId; - } - else - { - this._DesignRectId = default(Nullable); - } - this.SendPropertyChanged("Design_Rect_Init"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Design_Input.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Design_Input.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User", Storage="_Sys_User", ThisKey="IssuedMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Design_Input.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Design_Input.Add(this); - this._IssuedMan = value.UserId; - } - else - { - this._IssuedMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User1", Storage="_ReceivedManSys_User", ThisKey="ReceivedMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User ReceivedManSys_User - { - get - { - return this._ReceivedManSys_User.Entity; - } - set - { - Sys_User previousValue = this._ReceivedManSys_User.Entity; - if (((previousValue != value) - || (this._ReceivedManSys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._ReceivedManSys_User.Entity = null; - previousValue.User.Remove(this); - } - this._ReceivedManSys_User.Entity = value; - if ((value != null)) - { - value.User.Add(this); - this._ReceivedMan = value.UserId; - } - else - { - this._ReceivedMan = default(string); - } - this.SendPropertyChanged("ReceivedManSys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Design_Input", Storage="_Design_Notice", ThisKey="DesignInputId", OtherKey="DesignInputId", DeleteRule="NO ACTION")] - public EntitySet Design_Notice - { - get - { - return this._Design_Notice; - } - set - { - this._Design_Notice.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Design_Notice(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.Design_Input = this; - } - - private void detach_Design_Notice(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.Design_Input = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Notice")] - public partial class Design_Notice : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DesignNoticeId; - - private string _DesignInputId; - - private string _DesignStage; - - private string _MutualIssuedNo; - - private string _MutualIssuedName; - - private string _MutualIssuedDef; - - private System.Nullable _PlanMutualIssuedDate; - - private System.Nullable _ActMutualIssuedDate; - - private string _IssuedMan; - - private string _ReceivedMan; - - private System.Nullable _IsNeedConfirm; - - private string _ConfirmResult; - - private string _Flag; - - private string _Sup_DesignNoticeId; - - private string _ProjectManagerId; - - private string _ReceivedManDef; - - private EntityRef _Design_Input; - - private EntityRef _Sys_User; - - private EntityRef _ReceivedManSys_User; - - private EntitySet _Design_NoticeFlow; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDesignNoticeIdChanging(string value); - partial void OnDesignNoticeIdChanged(); - partial void OnDesignInputIdChanging(string value); - partial void OnDesignInputIdChanged(); - partial void OnDesignStageChanging(string value); - partial void OnDesignStageChanged(); - partial void OnMutualIssuedNoChanging(string value); - partial void OnMutualIssuedNoChanged(); - partial void OnMutualIssuedNameChanging(string value); - partial void OnMutualIssuedNameChanged(); - partial void OnMutualIssuedDefChanging(string value); - partial void OnMutualIssuedDefChanged(); - partial void OnPlanMutualIssuedDateChanging(System.Nullable value); - partial void OnPlanMutualIssuedDateChanged(); - partial void OnActMutualIssuedDateChanging(System.Nullable value); - partial void OnActMutualIssuedDateChanged(); - partial void OnIssuedManChanging(string value); - partial void OnIssuedManChanged(); - partial void OnReceivedManChanging(string value); - partial void OnReceivedManChanged(); - partial void OnIsNeedConfirmChanging(System.Nullable value); - partial void OnIsNeedConfirmChanged(); - partial void OnConfirmResultChanging(string value); - partial void OnConfirmResultChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - partial void OnSup_DesignNoticeIdChanging(string value); - partial void OnSup_DesignNoticeIdChanged(); - partial void OnProjectManagerIdChanging(string value); - partial void OnProjectManagerIdChanged(); - partial void OnReceivedManDefChanging(string value); - partial void OnReceivedManDefChanged(); - #endregion - - public Design_Notice() - { - this._Design_Input = default(EntityRef); - this._Sys_User = default(EntityRef); - this._ReceivedManSys_User = default(EntityRef); - this._Design_NoticeFlow = new EntitySet(new Action(this.attach_Design_NoticeFlow), new Action(this.detach_Design_NoticeFlow)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignNoticeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DesignNoticeId - { - get - { - return this._DesignNoticeId; - } - set - { - if ((this._DesignNoticeId != value)) - { - this.OnDesignNoticeIdChanging(value); - this.SendPropertyChanging(); - this._DesignNoticeId = value; - this.SendPropertyChanged("DesignNoticeId"); - this.OnDesignNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputId", DbType="NVarChar(50)")] - public string DesignInputId - { - get - { - return this._DesignInputId; - } - set - { - if ((this._DesignInputId != value)) - { - if (this._Design_Input.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDesignInputIdChanging(value); - this.SendPropertyChanging(); - this._DesignInputId = value; - this.SendPropertyChanged("DesignInputId"); - this.OnDesignInputIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignStage", DbType="NVarChar(50)")] - public string DesignStage - { - get - { - return this._DesignStage; - } - set - { - if ((this._DesignStage != value)) - { - this.OnDesignStageChanging(value); - this.SendPropertyChanging(); - this._DesignStage = value; - this.SendPropertyChanged("DesignStage"); - this.OnDesignStageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MutualIssuedNo", DbType="NVarChar(50)")] - public string MutualIssuedNo - { - get - { - return this._MutualIssuedNo; - } - set - { - if ((this._MutualIssuedNo != value)) - { - this.OnMutualIssuedNoChanging(value); - this.SendPropertyChanging(); - this._MutualIssuedNo = value; - this.SendPropertyChanged("MutualIssuedNo"); - this.OnMutualIssuedNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MutualIssuedName", DbType="NVarChar(200)")] - public string MutualIssuedName - { - get - { - return this._MutualIssuedName; - } - set - { - if ((this._MutualIssuedName != value)) - { - this.OnMutualIssuedNameChanging(value); - this.SendPropertyChanging(); - this._MutualIssuedName = value; - this.SendPropertyChanged("MutualIssuedName"); - this.OnMutualIssuedNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MutualIssuedDef", DbType="NVarChar(500)")] - public string MutualIssuedDef - { - get - { - return this._MutualIssuedDef; - } - set - { - if ((this._MutualIssuedDef != value)) - { - this.OnMutualIssuedDefChanging(value); - this.SendPropertyChanging(); - this._MutualIssuedDef = value; - this.SendPropertyChanged("MutualIssuedDef"); - this.OnMutualIssuedDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanMutualIssuedDate", DbType="DateTime")] - public System.Nullable PlanMutualIssuedDate - { - get - { - return this._PlanMutualIssuedDate; - } - set - { - if ((this._PlanMutualIssuedDate != value)) - { - this.OnPlanMutualIssuedDateChanging(value); - this.SendPropertyChanging(); - this._PlanMutualIssuedDate = value; - this.SendPropertyChanged("PlanMutualIssuedDate"); - this.OnPlanMutualIssuedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActMutualIssuedDate", DbType="DateTime")] - public System.Nullable ActMutualIssuedDate - { - get - { - return this._ActMutualIssuedDate; - } - set - { - if ((this._ActMutualIssuedDate != value)) - { - this.OnActMutualIssuedDateChanging(value); - this.SendPropertyChanging(); - this._ActMutualIssuedDate = value; - this.SendPropertyChanged("ActMutualIssuedDate"); - this.OnActMutualIssuedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedMan", DbType="NVarChar(50)")] - public string IssuedMan - { - get - { - return this._IssuedMan; - } - set - { - if ((this._IssuedMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnIssuedManChanging(value); - this.SendPropertyChanging(); - this._IssuedMan = value; - this.SendPropertyChanged("IssuedMan"); - this.OnIssuedManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedMan", DbType="NVarChar(50)")] - public string ReceivedMan - { - get - { - return this._ReceivedMan; - } - set - { - if ((this._ReceivedMan != value)) - { - if (this._ReceivedManSys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnReceivedManChanging(value); - this.SendPropertyChanging(); - this._ReceivedMan = value; - this.SendPropertyChanged("ReceivedMan"); - this.OnReceivedManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedConfirm", DbType="Bit")] - public System.Nullable IsNeedConfirm - { - get - { - return this._IsNeedConfirm; - } - set - { - if ((this._IsNeedConfirm != value)) - { - this.OnIsNeedConfirmChanging(value); - this.SendPropertyChanging(); - this._IsNeedConfirm = value; - this.SendPropertyChanged("IsNeedConfirm"); - this.OnIsNeedConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmResult", DbType="NVarChar(500)")] - public string ConfirmResult - { - get - { - return this._ConfirmResult; - } - set - { - if ((this._ConfirmResult != value)) - { - this.OnConfirmResultChanging(value); - this.SendPropertyChanging(); - this._ConfirmResult = value; - this.SendPropertyChanged("ConfirmResult"); - this.OnConfirmResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="NChar(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sup_DesignNoticeId", DbType="NVarChar(50)")] - public string Sup_DesignNoticeId - { - get - { - return this._Sup_DesignNoticeId; - } - set - { - if ((this._Sup_DesignNoticeId != value)) - { - this.OnSup_DesignNoticeIdChanging(value); - this.SendPropertyChanging(); - this._Sup_DesignNoticeId = value; - this.SendPropertyChanged("Sup_DesignNoticeId"); - this.OnSup_DesignNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectManagerId", DbType="NVarChar(50)")] - public string ProjectManagerId - { - get - { - return this._ProjectManagerId; - } - set - { - if ((this._ProjectManagerId != value)) - { - this.OnProjectManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectManagerId = value; - this.SendPropertyChanged("ProjectManagerId"); - this.OnProjectManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedManDef", DbType="NVarChar(500)")] - public string ReceivedManDef - { - get - { - return this._ReceivedManDef; - } - set - { - if ((this._ReceivedManDef != value)) - { - this.OnReceivedManDefChanging(value); - this.SendPropertyChanging(); - this._ReceivedManDef = value; - this.SendPropertyChanged("ReceivedManDef"); - this.OnReceivedManDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Design_Input", Storage="_Design_Input", ThisKey="DesignInputId", OtherKey="DesignInputId", IsForeignKey=true)] - public Design_Input Design_Input - { - get - { - return this._Design_Input.Entity; - } - set - { - Design_Input previousValue = this._Design_Input.Entity; - if (((previousValue != value) - || (this._Design_Input.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Design_Input.Entity = null; - previousValue.Design_Notice.Remove(this); - } - this._Design_Input.Entity = value; - if ((value != null)) - { - value.Design_Notice.Add(this); - this._DesignInputId = value.DesignInputId; - } - else - { - this._DesignInputId = default(string); - } - this.SendPropertyChanged("Design_Input"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Sys_User", Storage="_Sys_User", ThisKey="IssuedMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Design_Notice.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Design_Notice.Add(this); - this._IssuedMan = value.UserId; - } - else - { - this._IssuedMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Sys_User1", Storage="_ReceivedManSys_User", ThisKey="ReceivedMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User ReceivedManSys_User - { - get - { - return this._ReceivedManSys_User.Entity; - } - set - { - Sys_User previousValue = this._ReceivedManSys_User.Entity; - if (((previousValue != value) - || (this._ReceivedManSys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._ReceivedManSys_User.Entity = null; - previousValue.Design_Notice_Sys_User1.Remove(this); - } - this._ReceivedManSys_User.Entity = value; - if ((value != null)) - { - value.Design_Notice_Sys_User1.Add(this); - this._ReceivedMan = value.UserId; - } - else - { - this._ReceivedMan = default(string); - } - this.SendPropertyChanged("ReceivedManSys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_NoticeFlow_Design_Notice", Storage="_Design_NoticeFlow", ThisKey="DesignNoticeId", OtherKey="DesignNoticeId", DeleteRule="NO ACTION")] - public EntitySet Design_NoticeFlow - { - get - { - return this._Design_NoticeFlow; - } - set - { - this._Design_NoticeFlow.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Design_NoticeFlow(Design_NoticeFlow entity) - { - this.SendPropertyChanging(); - entity.Design_Notice = this; - } - - private void detach_Design_NoticeFlow(Design_NoticeFlow entity) - { - this.SendPropertyChanging(); - entity.Design_Notice = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_NoticeFlow")] - public partial class Design_NoticeFlow : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _NoticeFlowId; - - private string _DesignNoticeId; - - private string _SubmitStep; - - private string _SubmitMan; - - private System.Nullable _SubmitDate; - - private string _HandleState; - - private string _HandleIdea; - - private System.Nullable _MailIsWarn; - - private EntityRef _Design_Notice; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNoticeFlowIdChanging(string value); - partial void OnNoticeFlowIdChanged(); - partial void OnDesignNoticeIdChanging(string value); - partial void OnDesignNoticeIdChanged(); - partial void OnSubmitStepChanging(string value); - partial void OnSubmitStepChanged(); - partial void OnSubmitManChanging(string value); - partial void OnSubmitManChanged(); - partial void OnSubmitDateChanging(System.Nullable value); - partial void OnSubmitDateChanged(); - partial void OnHandleStateChanging(string value); - partial void OnHandleStateChanged(); - partial void OnHandleIdeaChanging(string value); - partial void OnHandleIdeaChanged(); - partial void OnMailIsWarnChanging(System.Nullable value); - partial void OnMailIsWarnChanged(); - #endregion - - public Design_NoticeFlow() - { - this._Design_Notice = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeFlowId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string NoticeFlowId - { - get - { - return this._NoticeFlowId; - } - set - { - if ((this._NoticeFlowId != value)) - { - this.OnNoticeFlowIdChanging(value); - this.SendPropertyChanging(); - this._NoticeFlowId = value; - this.SendPropertyChanged("NoticeFlowId"); - this.OnNoticeFlowIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignNoticeId", DbType="NVarChar(50)")] - public string DesignNoticeId - { - get - { - return this._DesignNoticeId; - } - set - { - if ((this._DesignNoticeId != value)) - { - if (this._Design_Notice.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDesignNoticeIdChanging(value); - this.SendPropertyChanging(); - this._DesignNoticeId = value; - this.SendPropertyChanged("DesignNoticeId"); - this.OnDesignNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubmitStep", DbType="NVarChar(20)")] - public string SubmitStep - { - get - { - return this._SubmitStep; - } - set - { - if ((this._SubmitStep != value)) - { - this.OnSubmitStepChanging(value); - this.SendPropertyChanging(); - this._SubmitStep = value; - this.SendPropertyChanged("SubmitStep"); - this.OnSubmitStepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubmitMan", DbType="NVarChar(50)")] - public string SubmitMan - { - get - { - return this._SubmitMan; - } - set - { - if ((this._SubmitMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSubmitManChanging(value); - this.SendPropertyChanging(); - this._SubmitMan = value; - this.SendPropertyChanged("SubmitMan"); - this.OnSubmitManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubmitDate", DbType="DateTime")] - public System.Nullable SubmitDate - { - get - { - return this._SubmitDate; - } - set - { - if ((this._SubmitDate != value)) - { - this.OnSubmitDateChanging(value); - this.SendPropertyChanging(); - this._SubmitDate = value; - this.SendPropertyChanged("SubmitDate"); - this.OnSubmitDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleState", DbType="NVarChar(20)")] - public string HandleState - { - get - { - return this._HandleState; - } - set - { - if ((this._HandleState != value)) - { - this.OnHandleStateChanging(value); - this.SendPropertyChanging(); - this._HandleState = value; - this.SendPropertyChanged("HandleState"); - this.OnHandleStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NChar(10)")] - public string HandleIdea - { - get - { - return this._HandleIdea; - } - set - { - if ((this._HandleIdea != value)) - { - this.OnHandleIdeaChanging(value); - this.SendPropertyChanging(); - this._HandleIdea = value; - this.SendPropertyChanged("HandleIdea"); - this.OnHandleIdeaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MailIsWarn", DbType="Bit")] - public System.Nullable MailIsWarn - { - get - { - return this._MailIsWarn; - } - set - { - if ((this._MailIsWarn != value)) - { - this.OnMailIsWarnChanging(value); - this.SendPropertyChanging(); - this._MailIsWarn = value; - this.SendPropertyChanged("MailIsWarn"); - this.OnMailIsWarnChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_NoticeFlow_Design_Notice", Storage="_Design_Notice", ThisKey="DesignNoticeId", OtherKey="DesignNoticeId", IsForeignKey=true)] - public Design_Notice Design_Notice - { - get - { - return this._Design_Notice.Entity; - } - set - { - Design_Notice previousValue = this._Design_Notice.Entity; - if (((previousValue != value) - || (this._Design_Notice.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Design_Notice.Entity = null; - previousValue.Design_NoticeFlow.Remove(this); - } - this._Design_Notice.Entity = value; - if ((value != null)) - { - value.Design_NoticeFlow.Add(this); - this._DesignNoticeId = value.DesignNoticeId; - } - else - { - this._DesignNoticeId = default(string); - } - this.SendPropertyChanged("Design_Notice"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_NoticeFlow_Sys_User", Storage="_Sys_User", ThisKey="SubmitMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Design_NoticeFlow.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Design_NoticeFlow.Add(this); - this._SubmitMan = value.UserId; - } - else - { - this._SubmitMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Rect_Init")] - public partial class Design_Rect_Init : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private int _DesignRectId; - - private string _DesignInputChName; - - private string _DesignInputEnName; - - private string _DesignInputNo; - - private string _IssuedDiscipline; - - private string _IssuedDisciplineCode; - - private EntitySet _Design_Input; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDesignRectIdChanging(int value); - partial void OnDesignRectIdChanged(); - partial void OnDesignInputChNameChanging(string value); - partial void OnDesignInputChNameChanged(); - partial void OnDesignInputEnNameChanging(string value); - partial void OnDesignInputEnNameChanged(); - partial void OnDesignInputNoChanging(string value); - partial void OnDesignInputNoChanged(); - partial void OnIssuedDisciplineChanging(string value); - partial void OnIssuedDisciplineChanged(); - partial void OnIssuedDisciplineCodeChanging(string value); - partial void OnIssuedDisciplineCodeChanged(); - #endregion - - public Design_Rect_Init() - { - this._Design_Input = new EntitySet(new Action(this.attach_Design_Input), new Action(this.detach_Design_Input)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignRectId", DbType="Int NOT NULL", IsPrimaryKey=true)] - public int DesignRectId - { - get - { - return this._DesignRectId; - } - set - { - if ((this._DesignRectId != value)) - { - this.OnDesignRectIdChanging(value); - this.SendPropertyChanging(); - this._DesignRectId = value; - this.SendPropertyChanged("DesignRectId"); - this.OnDesignRectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputChName", DbType="NVarChar(100)")] - public string DesignInputChName - { - get - { - return this._DesignInputChName; - } - set - { - if ((this._DesignInputChName != value)) - { - this.OnDesignInputChNameChanging(value); - this.SendPropertyChanging(); - this._DesignInputChName = value; - this.SendPropertyChanged("DesignInputChName"); - this.OnDesignInputChNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputEnName", DbType="NVarChar(100)")] - public string DesignInputEnName - { - get - { - return this._DesignInputEnName; - } - set - { - if ((this._DesignInputEnName != value)) - { - this.OnDesignInputEnNameChanging(value); - this.SendPropertyChanging(); - this._DesignInputEnName = value; - this.SendPropertyChanged("DesignInputEnName"); - this.OnDesignInputEnNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputNo", DbType="NVarChar(100)")] - public string DesignInputNo - { - get - { - return this._DesignInputNo; - } - set - { - if ((this._DesignInputNo != value)) - { - this.OnDesignInputNoChanging(value); - this.SendPropertyChanging(); - this._DesignInputNo = value; - this.SendPropertyChanged("DesignInputNo"); - this.OnDesignInputNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDiscipline", DbType="NVarChar(50)")] - public string IssuedDiscipline - { - get - { - return this._IssuedDiscipline; - } - set - { - if ((this._IssuedDiscipline != value)) - { - this.OnIssuedDisciplineChanging(value); - this.SendPropertyChanging(); - this._IssuedDiscipline = value; - this.SendPropertyChanged("IssuedDiscipline"); - this.OnIssuedDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDisciplineCode", DbType="NVarChar(50)")] - public string IssuedDisciplineCode - { - get - { - return this._IssuedDisciplineCode; - } - set - { - if ((this._IssuedDisciplineCode != value)) - { - this.OnIssuedDisciplineCodeChanging(value); - this.SendPropertyChanging(); - this._IssuedDisciplineCode = value; - this.SendPropertyChanged("IssuedDisciplineCode"); - this.OnIssuedDisciplineCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Design_Rect_Init", Storage="_Design_Input", ThisKey="DesignRectId", OtherKey="DesignRectId", DeleteRule="NO ACTION")] - public EntitySet Design_Input - { - get - { - return this._Design_Input; - } - set - { - this._Design_Input.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Design_Rect_Init = this; - } - - private void detach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Design_Rect_Init = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_AreaConcern")] - public partial class Editor_AreaConcern : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AreaConcernId; - - private string _EProjectId; - - private string _SN; - - private System.Nullable _EntryDate; - - private string _CreatedById; - - private string _CreatedByName; - - private string _CategoryCauseId; - - private string _CategoryCauseName; - - private string _Remark; - - private EntityRef _Base_Const; - - private EntityRef _Editor_EProject; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAreaConcernIdChanging(string value); - partial void OnAreaConcernIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnSNChanging(string value); - partial void OnSNChanged(); - partial void OnEntryDateChanging(System.Nullable value); - partial void OnEntryDateChanged(); - partial void OnCreatedByIdChanging(string value); - partial void OnCreatedByIdChanged(); - partial void OnCreatedByNameChanging(string value); - partial void OnCreatedByNameChanged(); - partial void OnCategoryCauseIdChanging(string value); - partial void OnCategoryCauseIdChanged(); - partial void OnCategoryCauseNameChanging(string value); - partial void OnCategoryCauseNameChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Editor_AreaConcern() - { - this._Base_Const = default(EntityRef); - this._Editor_EProject = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AreaConcernId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AreaConcernId - { - get - { - return this._AreaConcernId; - } - set - { - if ((this._AreaConcernId != value)) - { - this.OnAreaConcernIdChanging(value); - this.SendPropertyChanging(); - this._AreaConcernId = value; - this.SendPropertyChanged("AreaConcernId"); - this.OnAreaConcernIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SN", DbType="NVarChar(50)")] - public string SN - { - get - { - return this._SN; - } - set - { - if ((this._SN != value)) - { - this.OnSNChanging(value); - this.SendPropertyChanging(); - this._SN = value; - this.SendPropertyChanged("SN"); - this.OnSNChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntryDate", DbType="DateTime")] - public System.Nullable EntryDate - { - get - { - return this._EntryDate; - } - set - { - if ((this._EntryDate != value)) - { - this.OnEntryDateChanging(value); - this.SendPropertyChanging(); - this._EntryDate = value; - this.SendPropertyChanged("EntryDate"); - this.OnEntryDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedById", DbType="NVarChar(50)")] - public string CreatedById - { - get - { - return this._CreatedById; - } - set - { - if ((this._CreatedById != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCreatedByIdChanging(value); - this.SendPropertyChanging(); - this._CreatedById = value; - this.SendPropertyChanged("CreatedById"); - this.OnCreatedByIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedByName", DbType="NVarChar(50)")] - public string CreatedByName - { - get - { - return this._CreatedByName; - } - set - { - if ((this._CreatedByName != value)) - { - this.OnCreatedByNameChanging(value); - this.SendPropertyChanging(); - this._CreatedByName = value; - this.SendPropertyChanged("CreatedByName"); - this.OnCreatedByNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryCauseId", DbType="NVarChar(50)")] - public string CategoryCauseId - { - get - { - return this._CategoryCauseId; - } - set - { - if ((this._CategoryCauseId != value)) - { - if (this._Base_Const.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCategoryCauseIdChanging(value); - this.SendPropertyChanging(); - this._CategoryCauseId = value; - this.SendPropertyChanged("CategoryCauseId"); - this.OnCategoryCauseIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryCauseName", DbType="NVarChar(50)")] - public string CategoryCauseName - { - get - { - return this._CategoryCauseName; - } - set - { - if ((this._CategoryCauseName != value)) - { - this.OnCategoryCauseNameChanging(value); - this.SendPropertyChanging(); - this._CategoryCauseName = value; - this.SendPropertyChanged("CategoryCauseName"); - this.OnCategoryCauseNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Base_Const", Storage="_Base_Const", ThisKey="CategoryCauseId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const Base_Const - { - get - { - return this._Base_Const.Entity; - } - set - { - Base_Const previousValue = this._Base_Const.Entity; - if (((previousValue != value) - || (this._Base_Const.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Const.Entity = null; - previousValue.Editor_AreaConcern.Remove(this); - } - this._Base_Const.Entity = value; - if ((value != null)) - { - value.Editor_AreaConcern.Add(this); - this._CategoryCauseId = value.ConstId; - } - else - { - this._CategoryCauseId = default(string); - } - this.SendPropertyChanged("Base_Const"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_AreaConcern.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_AreaConcern.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Sys_User", Storage="_Sys_User", ThisKey="CreatedById", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Editor_AreaConcern.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Editor_AreaConcern.Add(this); - this._CreatedById = value.UserId; - } - else - { - this._CreatedById = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_CM_HTD")] - public partial class Editor_CM_HTD : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HTDID; - - private string _ContractorId; - - private string _EProjectId; - - private string _Discipline; - - private System.Nullable _ReceiveDate; - - private string _Status; - - private EntityRef _Base_Contractor; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHTDIDChanging(string value); - partial void OnHTDIDChanged(); - partial void OnContractorIdChanging(string value); - partial void OnContractorIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnDisciplineChanging(string value); - partial void OnDisciplineChanged(); - partial void OnReceiveDateChanging(System.Nullable value); - partial void OnReceiveDateChanged(); - partial void OnStatusChanging(string value); - partial void OnStatusChanged(); - #endregion - - public Editor_CM_HTD() - { - this._Base_Contractor = default(EntityRef); - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HTDID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HTDID - { - get - { - return this._HTDID; - } - set - { - if ((this._HTDID != value)) - { - this.OnHTDIDChanging(value); - this.SendPropertyChanging(); - this._HTDID = value; - this.SendPropertyChanged("HTDID"); - this.OnHTDIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorId", DbType="NVarChar(50)")] - public string ContractorId - { - get - { - return this._ContractorId; - } - set - { - if ((this._ContractorId != value)) - { - if (this._Base_Contractor.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnContractorIdChanging(value); - this.SendPropertyChanging(); - this._ContractorId = value; - this.SendPropertyChanged("ContractorId"); - this.OnContractorIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this.OnDisciplineChanging(value); - this.SendPropertyChanging(); - this._Discipline = value; - this.SendPropertyChanged("Discipline"); - this.OnDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveDate", DbType="DateTime")] - public System.Nullable ReceiveDate - { - get - { - return this._ReceiveDate; - } - set - { - if ((this._ReceiveDate != value)) - { - this.OnReceiveDateChanging(value); - this.SendPropertyChanging(); - this._ReceiveDate = value; - this.SendPropertyChanged("ReceiveDate"); - this.OnReceiveDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")] - public string Status - { - get - { - return this._Status; - } - set - { - if ((this._Status != value)) - { - this.OnStatusChanging(value); - this.SendPropertyChanging(); - this._Status = value; - this.SendPropertyChanged("Status"); - this.OnStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_CM_HTD_Base_Contractor", Storage="_Base_Contractor", ThisKey="ContractorId", OtherKey="ContractorId", IsForeignKey=true)] - public Base_Contractor Base_Contractor - { - get - { - return this._Base_Contractor.Entity; - } - set - { - Base_Contractor previousValue = this._Base_Contractor.Entity; - if (((previousValue != value) - || (this._Base_Contractor.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Contractor.Entity = null; - previousValue.Editor_CM_HTD.Remove(this); - } - this._Base_Contractor.Entity = value; - if ((value != null)) - { - value.Editor_CM_HTD.Add(this); - this._ContractorId = value.ContractorId; - } - else - { - this._ContractorId = default(string); - } - this.SendPropertyChanged("Base_Contractor"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_CM_HTD_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_CM_HTD.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_CM_HTD.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_CostReport")] - public partial class Editor_CostReport : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CostReportId; - - private string _EProjectId; - - private string _Monthly; - - private System.Nullable _OrginalBudget; - - private System.Nullable _ChangedBudget; - - private System.Nullable _ActualCost; - - private System.Nullable _CommittedPRPO; - - private System.Nullable _CommittedSSRs; - - private System.Nullable _CostToComplete; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCostReportIdChanging(string value); - partial void OnCostReportIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnMonthlyChanging(string value); - partial void OnMonthlyChanged(); - partial void OnOrginalBudgetChanging(System.Nullable value); - partial void OnOrginalBudgetChanged(); - partial void OnChangedBudgetChanging(System.Nullable value); - partial void OnChangedBudgetChanged(); - partial void OnActualCostChanging(System.Nullable value); - partial void OnActualCostChanged(); - partial void OnCommittedPRPOChanging(System.Nullable value); - partial void OnCommittedPRPOChanged(); - partial void OnCommittedSSRsChanging(System.Nullable value); - partial void OnCommittedSSRsChanged(); - partial void OnCostToCompleteChanging(System.Nullable value); - partial void OnCostToCompleteChanged(); - #endregion - - public Editor_CostReport() - { - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CostReportId - { - get - { - return this._CostReportId; - } - set - { - if ((this._CostReportId != value)) - { - this.OnCostReportIdChanging(value); - this.SendPropertyChanging(); - this._CostReportId = value; - this.SendPropertyChanged("CostReportId"); - this.OnCostReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Monthly", DbType="NVarChar(50)")] - public string Monthly - { - get - { - return this._Monthly; - } - set - { - if ((this._Monthly != value)) - { - this.OnMonthlyChanging(value); - this.SendPropertyChanging(); - this._Monthly = value; - this.SendPropertyChanged("Monthly"); - this.OnMonthlyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrginalBudget", DbType="Decimal(18,2)")] - public System.Nullable OrginalBudget - { - get - { - return this._OrginalBudget; - } - set - { - if ((this._OrginalBudget != value)) - { - this.OnOrginalBudgetChanging(value); - this.SendPropertyChanging(); - this._OrginalBudget = value; - this.SendPropertyChanged("OrginalBudget"); - this.OnOrginalBudgetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChangedBudget", DbType="Decimal(18,2)")] - public System.Nullable ChangedBudget - { - get - { - return this._ChangedBudget; - } - set - { - if ((this._ChangedBudget != value)) - { - this.OnChangedBudgetChanging(value); - this.SendPropertyChanging(); - this._ChangedBudget = value; - this.SendPropertyChanged("ChangedBudget"); - this.OnChangedBudgetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualCost", DbType="Decimal(18,2)")] - public System.Nullable ActualCost - { - get - { - return this._ActualCost; - } - set - { - if ((this._ActualCost != value)) - { - this.OnActualCostChanging(value); - this.SendPropertyChanging(); - this._ActualCost = value; - this.SendPropertyChanged("ActualCost"); - this.OnActualCostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CommittedPRPO", DbType="Decimal(18,2)")] - public System.Nullable CommittedPRPO - { - get - { - return this._CommittedPRPO; - } - set - { - if ((this._CommittedPRPO != value)) - { - this.OnCommittedPRPOChanging(value); - this.SendPropertyChanging(); - this._CommittedPRPO = value; - this.SendPropertyChanged("CommittedPRPO"); - this.OnCommittedPRPOChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CommittedSSRs", DbType="Decimal(18,2)")] - public System.Nullable CommittedSSRs - { - get - { - return this._CommittedSSRs; - } - set - { - if ((this._CommittedSSRs != value)) - { - this.OnCommittedSSRsChanging(value); - this.SendPropertyChanging(); - this._CommittedSSRs = value; - this.SendPropertyChanged("CommittedSSRs"); - this.OnCommittedSSRsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostToComplete", DbType="Decimal(18,2)")] - public System.Nullable CostToComplete - { - get - { - return this._CostToComplete; - } - set - { - if ((this._CostToComplete != value)) - { - this.OnCostToCompleteChanging(value); - this.SendPropertyChanging(); - this._CostToComplete = value; - this.SendPropertyChanged("CostToComplete"); - this.OnCostToCompleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Cost_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_CostReport.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_CostReport.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_EProject")] - public partial class Editor_EProject : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EProjectId; - - private string _PM_General_CDI; - - private System.Nullable _PM_General_CostToComplete; - - private string _PM_General_Priority; - - private string _PM_General_Category; - - private System.Nullable _PM_LLEP_RevisedStart; - - private System.Nullable _PM_LLEP_RevisedEnd; - - private System.Nullable _PM_LLEP_ActualProgress; - - private System.Nullable _PM_SC_ApprovedQty; - - private System.Nullable _PM_SC_ApprovedCost; - - private System.Nullable _PM_SC_PendingQty; - - private System.Nullable _PM_SC_PendingCost; - - private System.Nullable _PM_MA_JobReveive; - - private System.Nullable _PM_MA_KickOffMeeting; - - private System.Nullable _PM_MA_SR; - - private System.Nullable _PM_MA_ProjectApproval; - - private string _PM_Remarks_Engineering; - - private string _PM_Remarks_Procurement; - - private System.Nullable _PM_PP_PressureVessel; - - private System.Nullable _PM_PP_PressurePiping; - - private System.Nullable _PM_PP_SQIB; - - private System.Nullable _PM_Study_StartDate; - - private System.Nullable _PM_Study_EndDate; - - private System.Nullable _CM_CC_RevisedStart; - - private System.Nullable _CM_CC_RevisedEnd; - - private System.Nullable _CM_CC_AcutalProgress; - - private System.Nullable _CM_CM_RevisedStart; - - private System.Nullable _CM_CM_RevisedEnd; - - private System.Nullable _CM_CM_AcutalProgress; - - private System.Nullable _CM_Cost; - - private System.Nullable _CM_Punch_CKilledDate; - - private System.Nullable _CM_KickOffMetting; - - private System.Nullable _CM_MA_MC; - - private System.Nullable _CM_FC; - - private string _CM_Remarks_Construction; - - private string _CM_Remarks_Procurement; - - private string _CM_Remarks_QualityHSE; - - private System.Nullable _CM_Date_of_Registration; - - private System.Nullable _Permit_PPA_EnvAssess; - - private System.Nullable _Permit_PPA_EnergySaving; - - private System.Nullable _Permit_PPA_ProjectRegistration; - - private System.Nullable _Permit_PPA_PlanningPermit; - - private System.Nullable _Permit_PPA_SafetyConRev; - - private System.Nullable _Permit_PPA_SafetyDesignRev; - - private System.Nullable _Permit_PPA_FFDesignReview; - - private System.Nullable _Permit_PS_EnvAssess; - - private System.Nullable _Permit_PS_EnergySaving; - - private System.Nullable _Permit_PS_ProjectRegistr; - - private System.Nullable _Permit_PS_PlanningPermit; - - private System.Nullable _Permit_PS_SafetyConReview; - - private System.Nullable _Permit_PS_SafetyDesginReview; - - private System.Nullable _Permit_PS_FFDesginReview; - - private System.Nullable _Permit_PS_ConstPermit; - - private System.Nullable _Permit_PS_SafetyFinalAcc; - - private System.Nullable _Permit_PS_FFFinalAcc; - - private System.Nullable _Permit_PS_EnvFinalAcc; - - private System.Nullable _Permit_PS_ArchiveAccep; - - private System.Nullable _Permit_PS_PressureVesse; - - private System.Nullable _Permit_PS_3rdConstJian; - - private System.Nullable _Permit_PA_ConstPermit; - - private System.Nullable _Permit_PA_SafetyFinalACC; - - private System.Nullable _Permit_PA_FFFinalACC; - - private System.Nullable _Permit_PA_EnvFinalACC; - - private System.Nullable _SQIB_PressureVessel; - - private System.Nullable _SQIB_PressurePiping; - - private System.Nullable _SQIB_SQIB; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_MOCFormNo; - - private string _ProjectControl_NetworkNo; - - private string _ProjectControl_NotesLink; - - private System.Nullable _ProjectControl_OrginalBudget; - - private string _ProjectControl_Account; - - private System.Nullable _ProjectControl_PVIPrediction; - - private string _ProjectControl_CostEffectvitity; - - private string _ProjectControl_LeadBy; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_ProjectManagerId; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_ConstManagerId; - - private string _ProjectControl_ConstManager; - - private string _ProjectControl_EMManagerId; - - private string _ProjectControl_EMManager; - - private string _ProjectControl_SQIBManagerId; - - private string _ProjectControl_SQIBManager; - - private string _ProjectControl_PermitManagerId; - - private string _ProjectControl_PermitManager; - - private string _ProjectControl_TDCManagerId; - - private string _ProjectControl_TDCManager; - - private string _ProjectControl_ProjectControlManagerId; - - private string _ProjectControl_ProjectControlManager; - - private string _ProjectControl_OperationRepId; - - private string _ProjectControl_OperationRep; - - private string _ProjectControl_Remarks; - - private System.Nullable _ProjectControl_ChangedBudget; - - private System.Nullable _ProjectControl_CommittedPRPO; - - private System.Nullable _ProjectControl_CommittedSSRs; - - private System.Nullable _ProjectControl_Actual; - - private System.Nullable _ProjectControl_MS_ResourcePlanReceived; - - private System.Nullable _ProjectControl_MS_SR; - - private System.Nullable _ProjectControl_MS_Approval; - - private System.Nullable _ProjectControl_MS_MC; - - private System.Nullable _ProjectControl_MS_Close; - - private string _ProjectControl_CI_Process; - - private string _ProjectControl_CI_ProcessName; - - private string _ProjectControl_CI_Equipment; - - private string _ProjectControl_CI_EquipmentName; - - private string _ProjectControl_CI_Instrument; - - private string _ProjectControl_CI_InstrumentName; - - private string _ProjectControl_CI_Electrical; - - private string _ProjectControl_CI_ElectricalName; - - private string _ProjectControl_CI_Civil; - - private string _ProjectControl_CI_CivilName; - - private System.Nullable _ProjectControl_BC_CloseDate; - - private System.Nullable _ProjectControl_LP_SchStart; - - private System.Nullable _ProjectControl_LP_SchEnd; - - private System.Nullable _ProjectControl_LP_Progress; - - private System.Nullable _ProjectControl_CC_SchStart; - - private System.Nullable _ProjectControl_CC_SchEnd; - - private System.Nullable _ProjectControl_CC_Progress; - - private System.Nullable _ProjectControl_CM_SchStart; - - private System.Nullable _ProjectControl_CM_SchEnd; - - private System.Nullable _ProjectControl_CM_Progress; - - private System.Nullable _ProjectControl_PC_CancelDate; - - private System.Nullable _ProjectControl_Study_StartDate; - - private System.Nullable _ProjectControl_Study_EndDate; - - private System.Nullable _ProjectControl_NetworkDate; - - private string _ProjectControl_WBSNo; - - private string _ProjectControl_FilesLink; - - private System.Nullable _ProjectControl_ClosedDate; - - private System.Nullable _Detail_Eng_Civil_SchStart; - - private System.Nullable _Detail_Eng_Civil_SchEnd; - - private System.Nullable _Detail_Eng_Civil_SchProgress; - - private System.Nullable _Detail_Eng_Civil_ReviseStart; - - private System.Nullable _Detail_Eng_Civil_ReviseEnd; - - private System.Nullable _Detail_Eng_Civil_ReviseProgress; - - private System.Nullable _Detail_Eng_MechEI_SchStart; - - private System.Nullable _Detail_Eng_MechEI_SchEnd; - - private System.Nullable _Detail_Eng_MechEI_SchProgress; - - private System.Nullable _Detail_Eng_MechEI_ReviseStart; - - private System.Nullable _Detail_Eng_MechEI_ReviseEnd; - - private System.Nullable _Detail_Eng_MechEI_ReviseProgress; - - private System.Nullable _PM_PressureVesselChecked; - - private System.Nullable _PM_PressurePipingChecked; - - private System.Nullable _PM_SQIBChecked; - - private System.Nullable _Permit_PS_EnvAssessChecked; - - private System.Nullable _Permit_PS_EnergySavingChecked; - - private System.Nullable _Permit_PS_ProjectRegistrChecked; - - private System.Nullable _Permit_PS_PlanningPermitChecked; - - private System.Nullable _Permit_PS_SafetyConReviewChecked; - - private System.Nullable _Permit_PS_SafetyDesginReviewChecked; - - private System.Nullable _Permit_PS_FFDesginReviewChecked; - - private System.Nullable _Permit_PS_ConstPermitChecked; - - private System.Nullable _Permit_PS_SafetyFinalAccChecked; - - private System.Nullable _Permit_PS_FFFinalAccChecked; - - private System.Nullable _Permit_PS_EnvFinalAccChecked; - - private System.Nullable _Permit_PS_ArchiveAccepChecked; - - private System.Nullable _Permit_PS_3rdConstJianChecked; - - private string _OutSourceType; - - private string _CAPEXPlanNo; - - private string _StudyWo; - - private string _CTEInvolved; - - private System.Nullable _IsNewCreate; - - private System.Nullable _ProjectControl_Revised_MC_Date; - - private string _PM_Critical; - - private string _PM_ReasonForCritical; - - private System.Nullable _Job_EHSReview_Files; - - private System.Nullable _Job_Estimate_Worksheet; - - private System.Nullable _Job_Budget; - - private System.Nullable _Job_TecoAlarm_Study; - - private System.Nullable _Job_Plan_IFC; - - private System.Nullable _Job_Hold; - - private string _Job_Delaybyteam1; - - private string _Job_Delaybypersonel1; - - private string _Job_Remark1; - - private string _Job_Delaybyteam2; - - private string _Job_Delaybypersonel2; - - private string _Job_Remark2; - - private string _Job_Delaybyteam3; - - private string _Job_Delaybypersonel3; - - private string _Job_Remark3; - - private System.Nullable _Job_PlanEHSReview_Files; - - private System.Nullable _Job_EHSReview_Meeting; - - private System.Nullable _DesignPlanIsComplete; - - private System.Nullable _DesignInputIsFile; - - private System.Nullable _DesignDocumentIsConfirm; - - private System.Nullable _DesignInputMailIsSend; - - private System.Nullable _PM_LLEP_RevisedStartIsAct; - - private System.Nullable _PM_LLEP_RevisedEndIsAct; - - private System.Nullable _CM_CC_RevisedStartIsAct; - - private System.Nullable _CM_CC_RevisedEndIsAct; - - private System.Nullable _CM_CM_RevisedStartIsAct; - - private System.Nullable _CM_CM_RevisedEndIsAct; - - private System.Nullable _CreateDate; - - private System.Nullable _ModifyDate; - - private string _CreatePerson; - - private string _ModifyPerson; - - private System.Nullable _PM_Planning_Approval; - - private System.Nullable _PM_Pre_Approval; - - private EntitySet _Design_Input; - - private EntitySet _Editor_AreaConcern; - - private EntitySet _Editor_CM_HTD; - - private EntitySet _Editor_CostReport; - - private EntitySet _Editor_PM; - - private EntitySet _Editor_FCRLog; - - private EntitySet _Editor_LessonsLearned; - - private EntitySet _Editor_Punch; - - private EntitySet _ManHours_Plan; - - private EntitySet _ManHours_PlanDetail; - - private EntitySet _ManHours_PlanManHours; - - private EntitySet _Resource_Plan; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnPM_General_CDIChanging(string value); - partial void OnPM_General_CDIChanged(); - partial void OnPM_General_CostToCompleteChanging(System.Nullable value); - partial void OnPM_General_CostToCompleteChanged(); - partial void OnPM_General_PriorityChanging(string value); - partial void OnPM_General_PriorityChanged(); - partial void OnPM_General_CategoryChanging(string value); - partial void OnPM_General_CategoryChanged(); - partial void OnPM_LLEP_RevisedStartChanging(System.Nullable value); - partial void OnPM_LLEP_RevisedStartChanged(); - partial void OnPM_LLEP_RevisedEndChanging(System.Nullable value); - partial void OnPM_LLEP_RevisedEndChanged(); - partial void OnPM_LLEP_ActualProgressChanging(System.Nullable value); - partial void OnPM_LLEP_ActualProgressChanged(); - partial void OnPM_SC_ApprovedQtyChanging(System.Nullable value); - partial void OnPM_SC_ApprovedQtyChanged(); - partial void OnPM_SC_ApprovedCostChanging(System.Nullable value); - partial void OnPM_SC_ApprovedCostChanged(); - partial void OnPM_SC_PendingQtyChanging(System.Nullable value); - partial void OnPM_SC_PendingQtyChanged(); - partial void OnPM_SC_PendingCostChanging(System.Nullable value); - partial void OnPM_SC_PendingCostChanged(); - partial void OnPM_MA_JobReveiveChanging(System.Nullable value); - partial void OnPM_MA_JobReveiveChanged(); - partial void OnPM_MA_KickOffMeetingChanging(System.Nullable value); - partial void OnPM_MA_KickOffMeetingChanged(); - partial void OnPM_MA_SRChanging(System.Nullable value); - partial void OnPM_MA_SRChanged(); - partial void OnPM_MA_ProjectApprovalChanging(System.Nullable value); - partial void OnPM_MA_ProjectApprovalChanged(); - partial void OnPM_Remarks_EngineeringChanging(string value); - partial void OnPM_Remarks_EngineeringChanged(); - partial void OnPM_Remarks_ProcurementChanging(string value); - partial void OnPM_Remarks_ProcurementChanged(); - partial void OnPM_PP_PressureVesselChanging(System.Nullable value); - partial void OnPM_PP_PressureVesselChanged(); - partial void OnPM_PP_PressurePipingChanging(System.Nullable value); - partial void OnPM_PP_PressurePipingChanged(); - partial void OnPM_PP_SQIBChanging(System.Nullable value); - partial void OnPM_PP_SQIBChanged(); - partial void OnPM_Study_StartDateChanging(System.Nullable value); - partial void OnPM_Study_StartDateChanged(); - partial void OnPM_Study_EndDateChanging(System.Nullable value); - partial void OnPM_Study_EndDateChanged(); - partial void OnCM_CC_RevisedStartChanging(System.Nullable value); - partial void OnCM_CC_RevisedStartChanged(); - partial void OnCM_CC_RevisedEndChanging(System.Nullable value); - partial void OnCM_CC_RevisedEndChanged(); - partial void OnCM_CC_AcutalProgressChanging(System.Nullable value); - partial void OnCM_CC_AcutalProgressChanged(); - partial void OnCM_CM_RevisedStartChanging(System.Nullable value); - partial void OnCM_CM_RevisedStartChanged(); - partial void OnCM_CM_RevisedEndChanging(System.Nullable value); - partial void OnCM_CM_RevisedEndChanged(); - partial void OnCM_CM_AcutalProgressChanging(System.Nullable value); - partial void OnCM_CM_AcutalProgressChanged(); - partial void OnCM_CostChanging(System.Nullable value); - partial void OnCM_CostChanged(); - partial void OnCM_Punch_CKilledDateChanging(System.Nullable value); - partial void OnCM_Punch_CKilledDateChanged(); - partial void OnCM_KickOffMettingChanging(System.Nullable value); - partial void OnCM_KickOffMettingChanged(); - partial void OnCM_MA_MCChanging(System.Nullable value); - partial void OnCM_MA_MCChanged(); - partial void OnCM_FCChanging(System.Nullable value); - partial void OnCM_FCChanged(); - partial void OnCM_Remarks_ConstructionChanging(string value); - partial void OnCM_Remarks_ConstructionChanged(); - partial void OnCM_Remarks_ProcurementChanging(string value); - partial void OnCM_Remarks_ProcurementChanged(); - partial void OnCM_Remarks_QualityHSEChanging(string value); - partial void OnCM_Remarks_QualityHSEChanged(); - partial void OnCM_Date_of_RegistrationChanging(System.Nullable value); - partial void OnCM_Date_of_RegistrationChanged(); - partial void OnPermit_PPA_EnvAssessChanging(System.Nullable value); - partial void OnPermit_PPA_EnvAssessChanged(); - partial void OnPermit_PPA_EnergySavingChanging(System.Nullable value); - partial void OnPermit_PPA_EnergySavingChanged(); - partial void OnPermit_PPA_ProjectRegistrationChanging(System.Nullable value); - partial void OnPermit_PPA_ProjectRegistrationChanged(); - partial void OnPermit_PPA_PlanningPermitChanging(System.Nullable value); - partial void OnPermit_PPA_PlanningPermitChanged(); - partial void OnPermit_PPA_SafetyConRevChanging(System.Nullable value); - partial void OnPermit_PPA_SafetyConRevChanged(); - partial void OnPermit_PPA_SafetyDesignRevChanging(System.Nullable value); - partial void OnPermit_PPA_SafetyDesignRevChanged(); - partial void OnPermit_PPA_FFDesignReviewChanging(System.Nullable value); - partial void OnPermit_PPA_FFDesignReviewChanged(); - partial void OnPermit_PS_EnvAssessChanging(System.Nullable value); - partial void OnPermit_PS_EnvAssessChanged(); - partial void OnPermit_PS_EnergySavingChanging(System.Nullable value); - partial void OnPermit_PS_EnergySavingChanged(); - partial void OnPermit_PS_ProjectRegistrChanging(System.Nullable value); - partial void OnPermit_PS_ProjectRegistrChanged(); - partial void OnPermit_PS_PlanningPermitChanging(System.Nullable value); - partial void OnPermit_PS_PlanningPermitChanged(); - partial void OnPermit_PS_SafetyConReviewChanging(System.Nullable value); - partial void OnPermit_PS_SafetyConReviewChanged(); - partial void OnPermit_PS_SafetyDesginReviewChanging(System.Nullable value); - partial void OnPermit_PS_SafetyDesginReviewChanged(); - partial void OnPermit_PS_FFDesginReviewChanging(System.Nullable value); - partial void OnPermit_PS_FFDesginReviewChanged(); - partial void OnPermit_PS_ConstPermitChanging(System.Nullable value); - partial void OnPermit_PS_ConstPermitChanged(); - partial void OnPermit_PS_SafetyFinalAccChanging(System.Nullable value); - partial void OnPermit_PS_SafetyFinalAccChanged(); - partial void OnPermit_PS_FFFinalAccChanging(System.Nullable value); - partial void OnPermit_PS_FFFinalAccChanged(); - partial void OnPermit_PS_EnvFinalAccChanging(System.Nullable value); - partial void OnPermit_PS_EnvFinalAccChanged(); - partial void OnPermit_PS_ArchiveAccepChanging(System.Nullable value); - partial void OnPermit_PS_ArchiveAccepChanged(); - partial void OnPermit_PS_PressureVesseChanging(System.Nullable value); - partial void OnPermit_PS_PressureVesseChanged(); - partial void OnPermit_PS_3rdConstJianChanging(System.Nullable value); - partial void OnPermit_PS_3rdConstJianChanged(); - partial void OnPermit_PA_ConstPermitChanging(System.Nullable value); - partial void OnPermit_PA_ConstPermitChanged(); - partial void OnPermit_PA_SafetyFinalACCChanging(System.Nullable value); - partial void OnPermit_PA_SafetyFinalACCChanged(); - partial void OnPermit_PA_FFFinalACCChanging(System.Nullable value); - partial void OnPermit_PA_FFFinalACCChanged(); - partial void OnPermit_PA_EnvFinalACCChanging(System.Nullable value); - partial void OnPermit_PA_EnvFinalACCChanged(); - partial void OnSQIB_PressureVesselChanging(System.Nullable value); - partial void OnSQIB_PressureVesselChanged(); - partial void OnSQIB_PressurePipingChanging(System.Nullable value); - partial void OnSQIB_PressurePipingChanged(); - partial void OnSQIB_SQIBChanging(System.Nullable value); - partial void OnSQIB_SQIBChanged(); - partial void OnProjectControl_JobNoChanging(string value); - partial void OnProjectControl_JobNoChanged(); - partial void OnProjectControl_JobTypeChanging(string value); - partial void OnProjectControl_JobTypeChanged(); - partial void OnProjectControl_JobStatusChanging(string value); - partial void OnProjectControl_JobStatusChanged(); - partial void OnProjectControl_JobTitleChanging(string value); - partial void OnProjectControl_JobTitleChanged(); - partial void OnProjectControl_BUCodeChanging(string value); - partial void OnProjectControl_BUCodeChanged(); - partial void OnProjectControl_MOCFormNoChanging(string value); - partial void OnProjectControl_MOCFormNoChanged(); - partial void OnProjectControl_NetworkNoChanging(string value); - partial void OnProjectControl_NetworkNoChanged(); - partial void OnProjectControl_NotesLinkChanging(string value); - partial void OnProjectControl_NotesLinkChanged(); - partial void OnProjectControl_OrginalBudgetChanging(System.Nullable value); - partial void OnProjectControl_OrginalBudgetChanged(); - partial void OnProjectControl_AccountChanging(string value); - partial void OnProjectControl_AccountChanged(); - partial void OnProjectControl_PVIPredictionChanging(System.Nullable value); - partial void OnProjectControl_PVIPredictionChanged(); - partial void OnProjectControl_CostEffectvitityChanging(string value); - partial void OnProjectControl_CostEffectvitityChanged(); - partial void OnProjectControl_LeadByChanging(string value); - partial void OnProjectControl_LeadByChanged(); - partial void OnProjectControl_LeadByNameChanging(string value); - partial void OnProjectControl_LeadByNameChanged(); - partial void OnProjectControl_ProjectManagerIdChanging(string value); - partial void OnProjectControl_ProjectManagerIdChanged(); - partial void OnProjectControl_ProjectManagerChanging(string value); - partial void OnProjectControl_ProjectManagerChanged(); - partial void OnProjectControl_ConstManagerIdChanging(string value); - partial void OnProjectControl_ConstManagerIdChanged(); - partial void OnProjectControl_ConstManagerChanging(string value); - partial void OnProjectControl_ConstManagerChanged(); - partial void OnProjectControl_EMManagerIdChanging(string value); - partial void OnProjectControl_EMManagerIdChanged(); - partial void OnProjectControl_EMManagerChanging(string value); - partial void OnProjectControl_EMManagerChanged(); - partial void OnProjectControl_SQIBManagerIdChanging(string value); - partial void OnProjectControl_SQIBManagerIdChanged(); - partial void OnProjectControl_SQIBManagerChanging(string value); - partial void OnProjectControl_SQIBManagerChanged(); - partial void OnProjectControl_PermitManagerIdChanging(string value); - partial void OnProjectControl_PermitManagerIdChanged(); - partial void OnProjectControl_PermitManagerChanging(string value); - partial void OnProjectControl_PermitManagerChanged(); - partial void OnProjectControl_TDCManagerIdChanging(string value); - partial void OnProjectControl_TDCManagerIdChanged(); - partial void OnProjectControl_TDCManagerChanging(string value); - partial void OnProjectControl_TDCManagerChanged(); - partial void OnProjectControl_ProjectControlManagerIdChanging(string value); - partial void OnProjectControl_ProjectControlManagerIdChanged(); - partial void OnProjectControl_ProjectControlManagerChanging(string value); - partial void OnProjectControl_ProjectControlManagerChanged(); - partial void OnProjectControl_OperationRepIdChanging(string value); - partial void OnProjectControl_OperationRepIdChanged(); - partial void OnProjectControl_OperationRepChanging(string value); - partial void OnProjectControl_OperationRepChanged(); - partial void OnProjectControl_RemarksChanging(string value); - partial void OnProjectControl_RemarksChanged(); - partial void OnProjectControl_ChangedBudgetChanging(System.Nullable value); - partial void OnProjectControl_ChangedBudgetChanged(); - partial void OnProjectControl_CommittedPRPOChanging(System.Nullable value); - partial void OnProjectControl_CommittedPRPOChanged(); - partial void OnProjectControl_CommittedSSRsChanging(System.Nullable value); - partial void OnProjectControl_CommittedSSRsChanged(); - partial void OnProjectControl_ActualChanging(System.Nullable value); - partial void OnProjectControl_ActualChanged(); - partial void OnProjectControl_MS_ResourcePlanReceivedChanging(System.Nullable value); - partial void OnProjectControl_MS_ResourcePlanReceivedChanged(); - partial void OnProjectControl_MS_SRChanging(System.Nullable value); - partial void OnProjectControl_MS_SRChanged(); - partial void OnProjectControl_MS_ApprovalChanging(System.Nullable value); - partial void OnProjectControl_MS_ApprovalChanged(); - partial void OnProjectControl_MS_MCChanging(System.Nullable value); - partial void OnProjectControl_MS_MCChanged(); - partial void OnProjectControl_MS_CloseChanging(System.Nullable value); - partial void OnProjectControl_MS_CloseChanged(); - partial void OnProjectControl_CI_ProcessChanging(string value); - partial void OnProjectControl_CI_ProcessChanged(); - partial void OnProjectControl_CI_ProcessNameChanging(string value); - partial void OnProjectControl_CI_ProcessNameChanged(); - partial void OnProjectControl_CI_EquipmentChanging(string value); - partial void OnProjectControl_CI_EquipmentChanged(); - partial void OnProjectControl_CI_EquipmentNameChanging(string value); - partial void OnProjectControl_CI_EquipmentNameChanged(); - partial void OnProjectControl_CI_InstrumentChanging(string value); - partial void OnProjectControl_CI_InstrumentChanged(); - partial void OnProjectControl_CI_InstrumentNameChanging(string value); - partial void OnProjectControl_CI_InstrumentNameChanged(); - partial void OnProjectControl_CI_ElectricalChanging(string value); - partial void OnProjectControl_CI_ElectricalChanged(); - partial void OnProjectControl_CI_ElectricalNameChanging(string value); - partial void OnProjectControl_CI_ElectricalNameChanged(); - partial void OnProjectControl_CI_CivilChanging(string value); - partial void OnProjectControl_CI_CivilChanged(); - partial void OnProjectControl_CI_CivilNameChanging(string value); - partial void OnProjectControl_CI_CivilNameChanged(); - partial void OnProjectControl_BC_CloseDateChanging(System.Nullable value); - partial void OnProjectControl_BC_CloseDateChanged(); - partial void OnProjectControl_LP_SchStartChanging(System.Nullable value); - partial void OnProjectControl_LP_SchStartChanged(); - partial void OnProjectControl_LP_SchEndChanging(System.Nullable value); - partial void OnProjectControl_LP_SchEndChanged(); - partial void OnProjectControl_LP_ProgressChanging(System.Nullable value); - partial void OnProjectControl_LP_ProgressChanged(); - partial void OnProjectControl_CC_SchStartChanging(System.Nullable value); - partial void OnProjectControl_CC_SchStartChanged(); - partial void OnProjectControl_CC_SchEndChanging(System.Nullable value); - partial void OnProjectControl_CC_SchEndChanged(); - partial void OnProjectControl_CC_ProgressChanging(System.Nullable value); - partial void OnProjectControl_CC_ProgressChanged(); - partial void OnProjectControl_CM_SchStartChanging(System.Nullable value); - partial void OnProjectControl_CM_SchStartChanged(); - partial void OnProjectControl_CM_SchEndChanging(System.Nullable value); - partial void OnProjectControl_CM_SchEndChanged(); - partial void OnProjectControl_CM_ProgressChanging(System.Nullable value); - partial void OnProjectControl_CM_ProgressChanged(); - partial void OnProjectControl_PC_CancelDateChanging(System.Nullable value); - partial void OnProjectControl_PC_CancelDateChanged(); - partial void OnProjectControl_Study_StartDateChanging(System.Nullable value); - partial void OnProjectControl_Study_StartDateChanged(); - partial void OnProjectControl_Study_EndDateChanging(System.Nullable value); - partial void OnProjectControl_Study_EndDateChanged(); - partial void OnProjectControl_NetworkDateChanging(System.Nullable value); - partial void OnProjectControl_NetworkDateChanged(); - partial void OnProjectControl_WBSNoChanging(string value); - partial void OnProjectControl_WBSNoChanged(); - partial void OnProjectControl_FilesLinkChanging(string value); - partial void OnProjectControl_FilesLinkChanged(); - partial void OnProjectControl_ClosedDateChanging(System.Nullable value); - partial void OnProjectControl_ClosedDateChanged(); - partial void OnDetail_Eng_Civil_SchStartChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_SchStartChanged(); - partial void OnDetail_Eng_Civil_SchEndChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_SchEndChanged(); - partial void OnDetail_Eng_Civil_SchProgressChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_SchProgressChanged(); - partial void OnDetail_Eng_Civil_ReviseStartChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_ReviseStartChanged(); - partial void OnDetail_Eng_Civil_ReviseEndChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_ReviseEndChanged(); - partial void OnDetail_Eng_Civil_ReviseProgressChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_ReviseProgressChanged(); - partial void OnDetail_Eng_MechEI_SchStartChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_SchStartChanged(); - partial void OnDetail_Eng_MechEI_SchEndChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_SchEndChanged(); - partial void OnDetail_Eng_MechEI_SchProgressChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_SchProgressChanged(); - partial void OnDetail_Eng_MechEI_ReviseStartChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_ReviseStartChanged(); - partial void OnDetail_Eng_MechEI_ReviseEndChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_ReviseEndChanged(); - partial void OnDetail_Eng_MechEI_ReviseProgressChanging(System.Nullable value); - partial void OnDetail_Eng_MechEI_ReviseProgressChanged(); - partial void OnPM_PressureVesselCheckedChanging(System.Nullable value); - partial void OnPM_PressureVesselCheckedChanged(); - partial void OnPM_PressurePipingCheckedChanging(System.Nullable value); - partial void OnPM_PressurePipingCheckedChanged(); - partial void OnPM_SQIBCheckedChanging(System.Nullable value); - partial void OnPM_SQIBCheckedChanged(); - partial void OnPermit_PS_EnvAssessCheckedChanging(System.Nullable value); - partial void OnPermit_PS_EnvAssessCheckedChanged(); - partial void OnPermit_PS_EnergySavingCheckedChanging(System.Nullable value); - partial void OnPermit_PS_EnergySavingCheckedChanged(); - partial void OnPermit_PS_ProjectRegistrCheckedChanging(System.Nullable value); - partial void OnPermit_PS_ProjectRegistrCheckedChanged(); - partial void OnPermit_PS_PlanningPermitCheckedChanging(System.Nullable value); - partial void OnPermit_PS_PlanningPermitCheckedChanged(); - partial void OnPermit_PS_SafetyConReviewCheckedChanging(System.Nullable value); - partial void OnPermit_PS_SafetyConReviewCheckedChanged(); - partial void OnPermit_PS_SafetyDesginReviewCheckedChanging(System.Nullable value); - partial void OnPermit_PS_SafetyDesginReviewCheckedChanged(); - partial void OnPermit_PS_FFDesginReviewCheckedChanging(System.Nullable value); - partial void OnPermit_PS_FFDesginReviewCheckedChanged(); - partial void OnPermit_PS_ConstPermitCheckedChanging(System.Nullable value); - partial void OnPermit_PS_ConstPermitCheckedChanged(); - partial void OnPermit_PS_SafetyFinalAccCheckedChanging(System.Nullable value); - partial void OnPermit_PS_SafetyFinalAccCheckedChanged(); - partial void OnPermit_PS_FFFinalAccCheckedChanging(System.Nullable value); - partial void OnPermit_PS_FFFinalAccCheckedChanged(); - partial void OnPermit_PS_EnvFinalAccCheckedChanging(System.Nullable value); - partial void OnPermit_PS_EnvFinalAccCheckedChanged(); - partial void OnPermit_PS_ArchiveAccepCheckedChanging(System.Nullable value); - partial void OnPermit_PS_ArchiveAccepCheckedChanged(); - partial void OnPermit_PS_3rdConstJianCheckedChanging(System.Nullable value); - partial void OnPermit_PS_3rdConstJianCheckedChanged(); - partial void OnOutSourceTypeChanging(string value); - partial void OnOutSourceTypeChanged(); - partial void OnCAPEXPlanNoChanging(string value); - partial void OnCAPEXPlanNoChanged(); - partial void OnStudyWoChanging(string value); - partial void OnStudyWoChanged(); - partial void OnCTEInvolvedChanging(string value); - partial void OnCTEInvolvedChanged(); - partial void OnIsNewCreateChanging(System.Nullable value); - partial void OnIsNewCreateChanged(); - partial void OnProjectControl_Revised_MC_DateChanging(System.Nullable value); - partial void OnProjectControl_Revised_MC_DateChanged(); - partial void OnPM_CriticalChanging(string value); - partial void OnPM_CriticalChanged(); - partial void OnPM_ReasonForCriticalChanging(string value); - partial void OnPM_ReasonForCriticalChanged(); - partial void OnJob_EHSReview_FilesChanging(System.Nullable value); - partial void OnJob_EHSReview_FilesChanged(); - partial void OnJob_Estimate_WorksheetChanging(System.Nullable value); - partial void OnJob_Estimate_WorksheetChanged(); - partial void OnJob_BudgetChanging(System.Nullable value); - partial void OnJob_BudgetChanged(); - partial void OnJob_TecoAlarm_StudyChanging(System.Nullable value); - partial void OnJob_TecoAlarm_StudyChanged(); - partial void OnJob_Plan_IFCChanging(System.Nullable value); - partial void OnJob_Plan_IFCChanged(); - partial void OnJob_HoldChanging(System.Nullable value); - partial void OnJob_HoldChanged(); - partial void OnJob_Delaybyteam1Changing(string value); - partial void OnJob_Delaybyteam1Changed(); - partial void OnJob_Delaybypersonel1Changing(string value); - partial void OnJob_Delaybypersonel1Changed(); - partial void OnJob_Remark1Changing(string value); - partial void OnJob_Remark1Changed(); - partial void OnJob_Delaybyteam2Changing(string value); - partial void OnJob_Delaybyteam2Changed(); - partial void OnJob_Delaybypersonel2Changing(string value); - partial void OnJob_Delaybypersonel2Changed(); - partial void OnJob_Remark2Changing(string value); - partial void OnJob_Remark2Changed(); - partial void OnJob_Delaybyteam3Changing(string value); - partial void OnJob_Delaybyteam3Changed(); - partial void OnJob_Delaybypersonel3Changing(string value); - partial void OnJob_Delaybypersonel3Changed(); - partial void OnJob_Remark3Changing(string value); - partial void OnJob_Remark3Changed(); - partial void OnJob_PlanEHSReview_FilesChanging(System.Nullable value); - partial void OnJob_PlanEHSReview_FilesChanged(); - partial void OnJob_EHSReview_MeetingChanging(System.Nullable value); - partial void OnJob_EHSReview_MeetingChanged(); - partial void OnDesignPlanIsCompleteChanging(System.Nullable value); - partial void OnDesignPlanIsCompleteChanged(); - partial void OnDesignInputIsFileChanging(System.Nullable value); - partial void OnDesignInputIsFileChanged(); - partial void OnDesignDocumentIsConfirmChanging(System.Nullable value); - partial void OnDesignDocumentIsConfirmChanged(); - partial void OnDesignInputMailIsSendChanging(System.Nullable value); - partial void OnDesignInputMailIsSendChanged(); - partial void OnPM_LLEP_RevisedStartIsActChanging(System.Nullable value); - partial void OnPM_LLEP_RevisedStartIsActChanged(); - partial void OnPM_LLEP_RevisedEndIsActChanging(System.Nullable value); - partial void OnPM_LLEP_RevisedEndIsActChanged(); - partial void OnCM_CC_RevisedStartIsActChanging(System.Nullable value); - partial void OnCM_CC_RevisedStartIsActChanged(); - partial void OnCM_CC_RevisedEndIsActChanging(System.Nullable value); - partial void OnCM_CC_RevisedEndIsActChanged(); - partial void OnCM_CM_RevisedStartIsActChanging(System.Nullable value); - partial void OnCM_CM_RevisedStartIsActChanged(); - partial void OnCM_CM_RevisedEndIsActChanging(System.Nullable value); - partial void OnCM_CM_RevisedEndIsActChanged(); - partial void OnCreateDateChanging(System.Nullable value); - partial void OnCreateDateChanged(); - partial void OnModifyDateChanging(System.Nullable value); - partial void OnModifyDateChanged(); - partial void OnCreatePersonChanging(string value); - partial void OnCreatePersonChanged(); - partial void OnModifyPersonChanging(string value); - partial void OnModifyPersonChanged(); - partial void OnPM_Planning_ApprovalChanging(System.Nullable value); - partial void OnPM_Planning_ApprovalChanged(); - partial void OnPM_Pre_ApprovalChanging(System.Nullable value); - partial void OnPM_Pre_ApprovalChanged(); - #endregion - - public Editor_EProject() - { - this._Design_Input = new EntitySet(new Action(this.attach_Design_Input), new Action(this.detach_Design_Input)); - this._Editor_AreaConcern = new EntitySet(new Action(this.attach_Editor_AreaConcern), new Action(this.detach_Editor_AreaConcern)); - this._Editor_CM_HTD = new EntitySet(new Action(this.attach_Editor_CM_HTD), new Action(this.detach_Editor_CM_HTD)); - this._Editor_CostReport = new EntitySet(new Action(this.attach_Editor_CostReport), new Action(this.detach_Editor_CostReport)); - this._Editor_PM = new EntitySet(new Action(this.attach_Editor_PM), new Action(this.detach_Editor_PM)); - this._Editor_FCRLog = new EntitySet(new Action(this.attach_Editor_FCRLog), new Action(this.detach_Editor_FCRLog)); - this._Editor_LessonsLearned = new EntitySet(new Action(this.attach_Editor_LessonsLearned), new Action(this.detach_Editor_LessonsLearned)); - this._Editor_Punch = new EntitySet(new Action(this.attach_Editor_Punch), new Action(this.detach_Editor_Punch)); - this._ManHours_Plan = new EntitySet(new Action(this.attach_ManHours_Plan), new Action(this.detach_ManHours_Plan)); - this._ManHours_PlanDetail = new EntitySet(new Action(this.attach_ManHours_PlanDetail), new Action(this.detach_ManHours_PlanDetail)); - this._ManHours_PlanManHours = new EntitySet(new Action(this.attach_ManHours_PlanManHours), new Action(this.detach_ManHours_PlanManHours)); - this._Resource_Plan = new EntitySet(new Action(this.attach_Resource_Plan), new Action(this.detach_Resource_Plan)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_CDI", DbType="NVarChar(50)")] - public string PM_General_CDI - { - get - { - return this._PM_General_CDI; - } - set - { - if ((this._PM_General_CDI != value)) - { - this.OnPM_General_CDIChanging(value); - this.SendPropertyChanging(); - this._PM_General_CDI = value; - this.SendPropertyChanged("PM_General_CDI"); - this.OnPM_General_CDIChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_CostToComplete", DbType="Decimal(18,2)")] - public System.Nullable PM_General_CostToComplete - { - get - { - return this._PM_General_CostToComplete; - } - set - { - if ((this._PM_General_CostToComplete != value)) - { - this.OnPM_General_CostToCompleteChanging(value); - this.SendPropertyChanging(); - this._PM_General_CostToComplete = value; - this.SendPropertyChanged("PM_General_CostToComplete"); - this.OnPM_General_CostToCompleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this.OnPM_General_PriorityChanging(value); - this.SendPropertyChanging(); - this._PM_General_Priority = value; - this.SendPropertyChanged("PM_General_Priority"); - this.OnPM_General_PriorityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this.OnPM_General_CategoryChanging(value); - this.SendPropertyChanging(); - this._PM_General_Category = value; - this.SendPropertyChanged("PM_General_Category"); - this.OnPM_General_CategoryChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedStart", DbType="DateTime")] - public System.Nullable PM_LLEP_RevisedStart - { - get - { - return this._PM_LLEP_RevisedStart; - } - set - { - if ((this._PM_LLEP_RevisedStart != value)) - { - this.OnPM_LLEP_RevisedStartChanging(value); - this.SendPropertyChanging(); - this._PM_LLEP_RevisedStart = value; - this.SendPropertyChanged("PM_LLEP_RevisedStart"); - this.OnPM_LLEP_RevisedStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedEnd", DbType="DateTime")] - public System.Nullable PM_LLEP_RevisedEnd - { - get - { - return this._PM_LLEP_RevisedEnd; - } - set - { - if ((this._PM_LLEP_RevisedEnd != value)) - { - this.OnPM_LLEP_RevisedEndChanging(value); - this.SendPropertyChanging(); - this._PM_LLEP_RevisedEnd = value; - this.SendPropertyChanged("PM_LLEP_RevisedEnd"); - this.OnPM_LLEP_RevisedEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_ActualProgress", DbType="Decimal(18,2)")] - public System.Nullable PM_LLEP_ActualProgress - { - get - { - return this._PM_LLEP_ActualProgress; - } - set - { - if ((this._PM_LLEP_ActualProgress != value)) - { - this.OnPM_LLEP_ActualProgressChanging(value); - this.SendPropertyChanging(); - this._PM_LLEP_ActualProgress = value; - this.SendPropertyChanged("PM_LLEP_ActualProgress"); - this.OnPM_LLEP_ActualProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_ApprovedQty", DbType="Int")] - public System.Nullable PM_SC_ApprovedQty - { - get - { - return this._PM_SC_ApprovedQty; - } - set - { - if ((this._PM_SC_ApprovedQty != value)) - { - this.OnPM_SC_ApprovedQtyChanging(value); - this.SendPropertyChanging(); - this._PM_SC_ApprovedQty = value; - this.SendPropertyChanged("PM_SC_ApprovedQty"); - this.OnPM_SC_ApprovedQtyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_ApprovedCost", DbType="Decimal(18,2)")] - public System.Nullable PM_SC_ApprovedCost - { - get - { - return this._PM_SC_ApprovedCost; - } - set - { - if ((this._PM_SC_ApprovedCost != value)) - { - this.OnPM_SC_ApprovedCostChanging(value); - this.SendPropertyChanging(); - this._PM_SC_ApprovedCost = value; - this.SendPropertyChanged("PM_SC_ApprovedCost"); - this.OnPM_SC_ApprovedCostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_PendingQty", DbType="Int")] - public System.Nullable PM_SC_PendingQty - { - get - { - return this._PM_SC_PendingQty; - } - set - { - if ((this._PM_SC_PendingQty != value)) - { - this.OnPM_SC_PendingQtyChanging(value); - this.SendPropertyChanging(); - this._PM_SC_PendingQty = value; - this.SendPropertyChanged("PM_SC_PendingQty"); - this.OnPM_SC_PendingQtyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_PendingCost", DbType="Decimal(18,2)")] - public System.Nullable PM_SC_PendingCost - { - get - { - return this._PM_SC_PendingCost; - } - set - { - if ((this._PM_SC_PendingCost != value)) - { - this.OnPM_SC_PendingCostChanging(value); - this.SendPropertyChanging(); - this._PM_SC_PendingCost = value; - this.SendPropertyChanged("PM_SC_PendingCost"); - this.OnPM_SC_PendingCostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="DateTime")] - public System.Nullable PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this.OnPM_MA_JobReveiveChanging(value); - this.SendPropertyChanging(); - this._PM_MA_JobReveive = value; - this.SendPropertyChanged("PM_MA_JobReveive"); - this.OnPM_MA_JobReveiveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_KickOffMeeting", DbType="DateTime")] - public System.Nullable PM_MA_KickOffMeeting - { - get - { - return this._PM_MA_KickOffMeeting; - } - set - { - if ((this._PM_MA_KickOffMeeting != value)) - { - this.OnPM_MA_KickOffMeetingChanging(value); - this.SendPropertyChanging(); - this._PM_MA_KickOffMeeting = value; - this.SendPropertyChanged("PM_MA_KickOffMeeting"); - this.OnPM_MA_KickOffMeetingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_SR", DbType="DateTime")] - public System.Nullable PM_MA_SR - { - get - { - return this._PM_MA_SR; - } - set - { - if ((this._PM_MA_SR != value)) - { - this.OnPM_MA_SRChanging(value); - this.SendPropertyChanging(); - this._PM_MA_SR = value; - this.SendPropertyChanged("PM_MA_SR"); - this.OnPM_MA_SRChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="DateTime")] - public System.Nullable PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this.OnPM_MA_ProjectApprovalChanging(value); - this.SendPropertyChanging(); - this._PM_MA_ProjectApproval = value; - this.SendPropertyChanged("PM_MA_ProjectApproval"); - this.OnPM_MA_ProjectApprovalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Remarks_Engineering", DbType="NVarChar(2000)")] - public string PM_Remarks_Engineering - { - get - { - return this._PM_Remarks_Engineering; - } - set - { - if ((this._PM_Remarks_Engineering != value)) - { - this.OnPM_Remarks_EngineeringChanging(value); - this.SendPropertyChanging(); - this._PM_Remarks_Engineering = value; - this.SendPropertyChanged("PM_Remarks_Engineering"); - this.OnPM_Remarks_EngineeringChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Remarks_Procurement", DbType="NVarChar(2000)")] - public string PM_Remarks_Procurement - { - get - { - return this._PM_Remarks_Procurement; - } - set - { - if ((this._PM_Remarks_Procurement != value)) - { - this.OnPM_Remarks_ProcurementChanging(value); - this.SendPropertyChanging(); - this._PM_Remarks_Procurement = value; - this.SendPropertyChanged("PM_Remarks_Procurement"); - this.OnPM_Remarks_ProcurementChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_PP_PressureVessel", DbType="DateTime")] - public System.Nullable PM_PP_PressureVessel - { - get - { - return this._PM_PP_PressureVessel; - } - set - { - if ((this._PM_PP_PressureVessel != value)) - { - this.OnPM_PP_PressureVesselChanging(value); - this.SendPropertyChanging(); - this._PM_PP_PressureVessel = value; - this.SendPropertyChanged("PM_PP_PressureVessel"); - this.OnPM_PP_PressureVesselChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_PP_PressurePiping", DbType="DateTime")] - public System.Nullable PM_PP_PressurePiping - { - get - { - return this._PM_PP_PressurePiping; - } - set - { - if ((this._PM_PP_PressurePiping != value)) - { - this.OnPM_PP_PressurePipingChanging(value); - this.SendPropertyChanging(); - this._PM_PP_PressurePiping = value; - this.SendPropertyChanged("PM_PP_PressurePiping"); - this.OnPM_PP_PressurePipingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_PP_SQIB", DbType="DateTime")] - public System.Nullable PM_PP_SQIB - { - get - { - return this._PM_PP_SQIB; - } - set - { - if ((this._PM_PP_SQIB != value)) - { - this.OnPM_PP_SQIBChanging(value); - this.SendPropertyChanging(); - this._PM_PP_SQIB = value; - this.SendPropertyChanged("PM_PP_SQIB"); - this.OnPM_PP_SQIBChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Study_StartDate", DbType="DateTime")] - public System.Nullable PM_Study_StartDate - { - get - { - return this._PM_Study_StartDate; - } - set - { - if ((this._PM_Study_StartDate != value)) - { - this.OnPM_Study_StartDateChanging(value); - this.SendPropertyChanging(); - this._PM_Study_StartDate = value; - this.SendPropertyChanged("PM_Study_StartDate"); - this.OnPM_Study_StartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Study_EndDate", DbType="DateTime")] - public System.Nullable PM_Study_EndDate - { - get - { - return this._PM_Study_EndDate; - } - set - { - if ((this._PM_Study_EndDate != value)) - { - this.OnPM_Study_EndDateChanging(value); - this.SendPropertyChanging(); - this._PM_Study_EndDate = value; - this.SendPropertyChanged("PM_Study_EndDate"); - this.OnPM_Study_EndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedStart", DbType="DateTime")] - public System.Nullable CM_CC_RevisedStart - { - get - { - return this._CM_CC_RevisedStart; - } - set - { - if ((this._CM_CC_RevisedStart != value)) - { - this.OnCM_CC_RevisedStartChanging(value); - this.SendPropertyChanging(); - this._CM_CC_RevisedStart = value; - this.SendPropertyChanged("CM_CC_RevisedStart"); - this.OnCM_CC_RevisedStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedEnd", DbType="DateTime")] - public System.Nullable CM_CC_RevisedEnd - { - get - { - return this._CM_CC_RevisedEnd; - } - set - { - if ((this._CM_CC_RevisedEnd != value)) - { - this.OnCM_CC_RevisedEndChanging(value); - this.SendPropertyChanging(); - this._CM_CC_RevisedEnd = value; - this.SendPropertyChanged("CM_CC_RevisedEnd"); - this.OnCM_CC_RevisedEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_AcutalProgress", DbType="Decimal(18,2)")] - public System.Nullable CM_CC_AcutalProgress - { - get - { - return this._CM_CC_AcutalProgress; - } - set - { - if ((this._CM_CC_AcutalProgress != value)) - { - this.OnCM_CC_AcutalProgressChanging(value); - this.SendPropertyChanging(); - this._CM_CC_AcutalProgress = value; - this.SendPropertyChanged("CM_CC_AcutalProgress"); - this.OnCM_CC_AcutalProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedStart", DbType="DateTime")] - public System.Nullable CM_CM_RevisedStart - { - get - { - return this._CM_CM_RevisedStart; - } - set - { - if ((this._CM_CM_RevisedStart != value)) - { - this.OnCM_CM_RevisedStartChanging(value); - this.SendPropertyChanging(); - this._CM_CM_RevisedStart = value; - this.SendPropertyChanged("CM_CM_RevisedStart"); - this.OnCM_CM_RevisedStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedEnd", DbType="DateTime")] - public System.Nullable CM_CM_RevisedEnd - { - get - { - return this._CM_CM_RevisedEnd; - } - set - { - if ((this._CM_CM_RevisedEnd != value)) - { - this.OnCM_CM_RevisedEndChanging(value); - this.SendPropertyChanging(); - this._CM_CM_RevisedEnd = value; - this.SendPropertyChanged("CM_CM_RevisedEnd"); - this.OnCM_CM_RevisedEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_AcutalProgress", DbType="Decimal(18,2)")] - public System.Nullable CM_CM_AcutalProgress - { - get - { - return this._CM_CM_AcutalProgress; - } - set - { - if ((this._CM_CM_AcutalProgress != value)) - { - this.OnCM_CM_AcutalProgressChanging(value); - this.SendPropertyChanging(); - this._CM_CM_AcutalProgress = value; - this.SendPropertyChanged("CM_CM_AcutalProgress"); - this.OnCM_CM_AcutalProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Cost", DbType="Money")] - public System.Nullable CM_Cost - { - get - { - return this._CM_Cost; - } - set - { - if ((this._CM_Cost != value)) - { - this.OnCM_CostChanging(value); - this.SendPropertyChanging(); - this._CM_Cost = value; - this.SendPropertyChanged("CM_Cost"); - this.OnCM_CostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Punch_CKilledDate", DbType="DateTime")] - public System.Nullable CM_Punch_CKilledDate - { - get - { - return this._CM_Punch_CKilledDate; - } - set - { - if ((this._CM_Punch_CKilledDate != value)) - { - this.OnCM_Punch_CKilledDateChanging(value); - this.SendPropertyChanging(); - this._CM_Punch_CKilledDate = value; - this.SendPropertyChanged("CM_Punch_CKilledDate"); - this.OnCM_Punch_CKilledDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_KickOffMetting", DbType="DateTime")] - public System.Nullable CM_KickOffMetting - { - get - { - return this._CM_KickOffMetting; - } - set - { - if ((this._CM_KickOffMetting != value)) - { - this.OnCM_KickOffMettingChanging(value); - this.SendPropertyChanging(); - this._CM_KickOffMetting = value; - this.SendPropertyChanged("CM_KickOffMetting"); - this.OnCM_KickOffMettingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_MA_MC", DbType="DateTime")] - public System.Nullable CM_MA_MC - { - get - { - return this._CM_MA_MC; - } - set - { - if ((this._CM_MA_MC != value)) - { - this.OnCM_MA_MCChanging(value); - this.SendPropertyChanging(); - this._CM_MA_MC = value; - this.SendPropertyChanged("CM_MA_MC"); - this.OnCM_MA_MCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_FC", DbType="DateTime")] - public System.Nullable CM_FC - { - get - { - return this._CM_FC; - } - set - { - if ((this._CM_FC != value)) - { - this.OnCM_FCChanging(value); - this.SendPropertyChanging(); - this._CM_FC = value; - this.SendPropertyChanged("CM_FC"); - this.OnCM_FCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Construction", DbType="NVarChar(2000)")] - public string CM_Remarks_Construction - { - get - { - return this._CM_Remarks_Construction; - } - set - { - if ((this._CM_Remarks_Construction != value)) - { - this.OnCM_Remarks_ConstructionChanging(value); - this.SendPropertyChanging(); - this._CM_Remarks_Construction = value; - this.SendPropertyChanged("CM_Remarks_Construction"); - this.OnCM_Remarks_ConstructionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Procurement", DbType="NVarChar(2000)")] - public string CM_Remarks_Procurement - { - get - { - return this._CM_Remarks_Procurement; - } - set - { - if ((this._CM_Remarks_Procurement != value)) - { - this.OnCM_Remarks_ProcurementChanging(value); - this.SendPropertyChanging(); - this._CM_Remarks_Procurement = value; - this.SendPropertyChanged("CM_Remarks_Procurement"); - this.OnCM_Remarks_ProcurementChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_QualityHSE", DbType="NVarChar(2000)")] - public string CM_Remarks_QualityHSE - { - get - { - return this._CM_Remarks_QualityHSE; - } - set - { - if ((this._CM_Remarks_QualityHSE != value)) - { - this.OnCM_Remarks_QualityHSEChanging(value); - this.SendPropertyChanging(); - this._CM_Remarks_QualityHSE = value; - this.SendPropertyChanged("CM_Remarks_QualityHSE"); - this.OnCM_Remarks_QualityHSEChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Date_of_Registration", DbType="DateTime")] - public System.Nullable CM_Date_of_Registration - { - get - { - return this._CM_Date_of_Registration; - } - set - { - if ((this._CM_Date_of_Registration != value)) - { - this.OnCM_Date_of_RegistrationChanging(value); - this.SendPropertyChanging(); - this._CM_Date_of_Registration = value; - this.SendPropertyChanged("CM_Date_of_Registration"); - this.OnCM_Date_of_RegistrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_EnvAssess", DbType="DateTime")] - public System.Nullable Permit_PPA_EnvAssess - { - get - { - return this._Permit_PPA_EnvAssess; - } - set - { - if ((this._Permit_PPA_EnvAssess != value)) - { - this.OnPermit_PPA_EnvAssessChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_EnvAssess = value; - this.SendPropertyChanged("Permit_PPA_EnvAssess"); - this.OnPermit_PPA_EnvAssessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_EnergySaving", DbType="DateTime")] - public System.Nullable Permit_PPA_EnergySaving - { - get - { - return this._Permit_PPA_EnergySaving; - } - set - { - if ((this._Permit_PPA_EnergySaving != value)) - { - this.OnPermit_PPA_EnergySavingChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_EnergySaving = value; - this.SendPropertyChanged("Permit_PPA_EnergySaving"); - this.OnPermit_PPA_EnergySavingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_ProjectRegistration", DbType="DateTime")] - public System.Nullable Permit_PPA_ProjectRegistration - { - get - { - return this._Permit_PPA_ProjectRegistration; - } - set - { - if ((this._Permit_PPA_ProjectRegistration != value)) - { - this.OnPermit_PPA_ProjectRegistrationChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_ProjectRegistration = value; - this.SendPropertyChanged("Permit_PPA_ProjectRegistration"); - this.OnPermit_PPA_ProjectRegistrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_PlanningPermit", DbType="DateTime")] - public System.Nullable Permit_PPA_PlanningPermit - { - get - { - return this._Permit_PPA_PlanningPermit; - } - set - { - if ((this._Permit_PPA_PlanningPermit != value)) - { - this.OnPermit_PPA_PlanningPermitChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_PlanningPermit = value; - this.SendPropertyChanged("Permit_PPA_PlanningPermit"); - this.OnPermit_PPA_PlanningPermitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_SafetyConRev", DbType="DateTime")] - public System.Nullable Permit_PPA_SafetyConRev - { - get - { - return this._Permit_PPA_SafetyConRev; - } - set - { - if ((this._Permit_PPA_SafetyConRev != value)) - { - this.OnPermit_PPA_SafetyConRevChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_SafetyConRev = value; - this.SendPropertyChanged("Permit_PPA_SafetyConRev"); - this.OnPermit_PPA_SafetyConRevChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_SafetyDesignRev", DbType="DateTime")] - public System.Nullable Permit_PPA_SafetyDesignRev - { - get - { - return this._Permit_PPA_SafetyDesignRev; - } - set - { - if ((this._Permit_PPA_SafetyDesignRev != value)) - { - this.OnPermit_PPA_SafetyDesignRevChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_SafetyDesignRev = value; - this.SendPropertyChanged("Permit_PPA_SafetyDesignRev"); - this.OnPermit_PPA_SafetyDesignRevChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PPA_FFDesignReview", DbType="DateTime")] - public System.Nullable Permit_PPA_FFDesignReview - { - get - { - return this._Permit_PPA_FFDesignReview; - } - set - { - if ((this._Permit_PPA_FFDesignReview != value)) - { - this.OnPermit_PPA_FFDesignReviewChanging(value); - this.SendPropertyChanging(); - this._Permit_PPA_FFDesignReview = value; - this.SendPropertyChanged("Permit_PPA_FFDesignReview"); - this.OnPermit_PPA_FFDesignReviewChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnvAssess", DbType="DateTime")] - public System.Nullable Permit_PS_EnvAssess - { - get - { - return this._Permit_PS_EnvAssess; - } - set - { - if ((this._Permit_PS_EnvAssess != value)) - { - this.OnPermit_PS_EnvAssessChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnvAssess = value; - this.SendPropertyChanged("Permit_PS_EnvAssess"); - this.OnPermit_PS_EnvAssessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnergySaving", DbType="DateTime")] - public System.Nullable Permit_PS_EnergySaving - { - get - { - return this._Permit_PS_EnergySaving; - } - set - { - if ((this._Permit_PS_EnergySaving != value)) - { - this.OnPermit_PS_EnergySavingChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnergySaving = value; - this.SendPropertyChanged("Permit_PS_EnergySaving"); - this.OnPermit_PS_EnergySavingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ProjectRegistr", DbType="DateTime")] - public System.Nullable Permit_PS_ProjectRegistr - { - get - { - return this._Permit_PS_ProjectRegistr; - } - set - { - if ((this._Permit_PS_ProjectRegistr != value)) - { - this.OnPermit_PS_ProjectRegistrChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ProjectRegistr = value; - this.SendPropertyChanged("Permit_PS_ProjectRegistr"); - this.OnPermit_PS_ProjectRegistrChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_PlanningPermit", DbType="DateTime")] - public System.Nullable Permit_PS_PlanningPermit - { - get - { - return this._Permit_PS_PlanningPermit; - } - set - { - if ((this._Permit_PS_PlanningPermit != value)) - { - this.OnPermit_PS_PlanningPermitChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_PlanningPermit = value; - this.SendPropertyChanged("Permit_PS_PlanningPermit"); - this.OnPermit_PS_PlanningPermitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyConReview", DbType="DateTime")] - public System.Nullable Permit_PS_SafetyConReview - { - get - { - return this._Permit_PS_SafetyConReview; - } - set - { - if ((this._Permit_PS_SafetyConReview != value)) - { - this.OnPermit_PS_SafetyConReviewChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyConReview = value; - this.SendPropertyChanged("Permit_PS_SafetyConReview"); - this.OnPermit_PS_SafetyConReviewChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyDesginReview", DbType="DateTime")] - public System.Nullable Permit_PS_SafetyDesginReview - { - get - { - return this._Permit_PS_SafetyDesginReview; - } - set - { - if ((this._Permit_PS_SafetyDesginReview != value)) - { - this.OnPermit_PS_SafetyDesginReviewChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyDesginReview = value; - this.SendPropertyChanged("Permit_PS_SafetyDesginReview"); - this.OnPermit_PS_SafetyDesginReviewChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_FFDesginReview", DbType="DateTime")] - public System.Nullable Permit_PS_FFDesginReview - { - get - { - return this._Permit_PS_FFDesginReview; - } - set - { - if ((this._Permit_PS_FFDesginReview != value)) - { - this.OnPermit_PS_FFDesginReviewChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_FFDesginReview = value; - this.SendPropertyChanged("Permit_PS_FFDesginReview"); - this.OnPermit_PS_FFDesginReviewChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ConstPermit", DbType="DateTime")] - public System.Nullable Permit_PS_ConstPermit - { - get - { - return this._Permit_PS_ConstPermit; - } - set - { - if ((this._Permit_PS_ConstPermit != value)) - { - this.OnPermit_PS_ConstPermitChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ConstPermit = value; - this.SendPropertyChanged("Permit_PS_ConstPermit"); - this.OnPermit_PS_ConstPermitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyFinalAcc", DbType="DateTime")] - public System.Nullable Permit_PS_SafetyFinalAcc - { - get - { - return this._Permit_PS_SafetyFinalAcc; - } - set - { - if ((this._Permit_PS_SafetyFinalAcc != value)) - { - this.OnPermit_PS_SafetyFinalAccChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyFinalAcc = value; - this.SendPropertyChanged("Permit_PS_SafetyFinalAcc"); - this.OnPermit_PS_SafetyFinalAccChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_FFFinalAcc", DbType="DateTime")] - public System.Nullable Permit_PS_FFFinalAcc - { - get - { - return this._Permit_PS_FFFinalAcc; - } - set - { - if ((this._Permit_PS_FFFinalAcc != value)) - { - this.OnPermit_PS_FFFinalAccChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_FFFinalAcc = value; - this.SendPropertyChanged("Permit_PS_FFFinalAcc"); - this.OnPermit_PS_FFFinalAccChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnvFinalAcc", DbType="DateTime")] - public System.Nullable Permit_PS_EnvFinalAcc - { - get - { - return this._Permit_PS_EnvFinalAcc; - } - set - { - if ((this._Permit_PS_EnvFinalAcc != value)) - { - this.OnPermit_PS_EnvFinalAccChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnvFinalAcc = value; - this.SendPropertyChanged("Permit_PS_EnvFinalAcc"); - this.OnPermit_PS_EnvFinalAccChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ArchiveAccep", DbType="DateTime")] - public System.Nullable Permit_PS_ArchiveAccep - { - get - { - return this._Permit_PS_ArchiveAccep; - } - set - { - if ((this._Permit_PS_ArchiveAccep != value)) - { - this.OnPermit_PS_ArchiveAccepChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ArchiveAccep = value; - this.SendPropertyChanged("Permit_PS_ArchiveAccep"); - this.OnPermit_PS_ArchiveAccepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_PressureVesse", DbType="DateTime")] - public System.Nullable Permit_PS_PressureVesse - { - get - { - return this._Permit_PS_PressureVesse; - } - set - { - if ((this._Permit_PS_PressureVesse != value)) - { - this.OnPermit_PS_PressureVesseChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_PressureVesse = value; - this.SendPropertyChanged("Permit_PS_PressureVesse"); - this.OnPermit_PS_PressureVesseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_3rdConstJian", DbType="DateTime")] - public System.Nullable Permit_PS_3rdConstJian - { - get - { - return this._Permit_PS_3rdConstJian; - } - set - { - if ((this._Permit_PS_3rdConstJian != value)) - { - this.OnPermit_PS_3rdConstJianChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_3rdConstJian = value; - this.SendPropertyChanged("Permit_PS_3rdConstJian"); - this.OnPermit_PS_3rdConstJianChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PA_ConstPermit", DbType="DateTime")] - public System.Nullable Permit_PA_ConstPermit - { - get - { - return this._Permit_PA_ConstPermit; - } - set - { - if ((this._Permit_PA_ConstPermit != value)) - { - this.OnPermit_PA_ConstPermitChanging(value); - this.SendPropertyChanging(); - this._Permit_PA_ConstPermit = value; - this.SendPropertyChanged("Permit_PA_ConstPermit"); - this.OnPermit_PA_ConstPermitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PA_SafetyFinalACC", DbType="DateTime")] - public System.Nullable Permit_PA_SafetyFinalACC - { - get - { - return this._Permit_PA_SafetyFinalACC; - } - set - { - if ((this._Permit_PA_SafetyFinalACC != value)) - { - this.OnPermit_PA_SafetyFinalACCChanging(value); - this.SendPropertyChanging(); - this._Permit_PA_SafetyFinalACC = value; - this.SendPropertyChanged("Permit_PA_SafetyFinalACC"); - this.OnPermit_PA_SafetyFinalACCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PA_FFFinalACC", DbType="DateTime")] - public System.Nullable Permit_PA_FFFinalACC - { - get - { - return this._Permit_PA_FFFinalACC; - } - set - { - if ((this._Permit_PA_FFFinalACC != value)) - { - this.OnPermit_PA_FFFinalACCChanging(value); - this.SendPropertyChanging(); - this._Permit_PA_FFFinalACC = value; - this.SendPropertyChanged("Permit_PA_FFFinalACC"); - this.OnPermit_PA_FFFinalACCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PA_EnvFinalACC", DbType="DateTime")] - public System.Nullable Permit_PA_EnvFinalACC - { - get - { - return this._Permit_PA_EnvFinalACC; - } - set - { - if ((this._Permit_PA_EnvFinalACC != value)) - { - this.OnPermit_PA_EnvFinalACCChanging(value); - this.SendPropertyChanging(); - this._Permit_PA_EnvFinalACC = value; - this.SendPropertyChanged("Permit_PA_EnvFinalACC"); - this.OnPermit_PA_EnvFinalACCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SQIB_PressureVessel", DbType="DateTime")] - public System.Nullable SQIB_PressureVessel - { - get - { - return this._SQIB_PressureVessel; - } - set - { - if ((this._SQIB_PressureVessel != value)) - { - this.OnSQIB_PressureVesselChanging(value); - this.SendPropertyChanging(); - this._SQIB_PressureVessel = value; - this.SendPropertyChanged("SQIB_PressureVessel"); - this.OnSQIB_PressureVesselChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SQIB_PressurePiping", DbType="DateTime")] - public System.Nullable SQIB_PressurePiping - { - get - { - return this._SQIB_PressurePiping; - } - set - { - if ((this._SQIB_PressurePiping != value)) - { - this.OnSQIB_PressurePipingChanging(value); - this.SendPropertyChanging(); - this._SQIB_PressurePiping = value; - this.SendPropertyChanged("SQIB_PressurePiping"); - this.OnSQIB_PressurePipingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SQIB_SQIB", DbType="DateTime")] - public System.Nullable SQIB_SQIB - { - get - { - return this._SQIB_SQIB; - } - set - { - if ((this._SQIB_SQIB != value)) - { - this.OnSQIB_SQIBChanging(value); - this.SendPropertyChanging(); - this._SQIB_SQIB = value; - this.SendPropertyChanged("SQIB_SQIB"); - this.OnSQIB_SQIBChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this.OnProjectControl_JobNoChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_JobNo = value; - this.SendPropertyChanged("ProjectControl_JobNo"); - this.OnProjectControl_JobNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this.OnProjectControl_JobTypeChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_JobType = value; - this.SendPropertyChanged("ProjectControl_JobType"); - this.OnProjectControl_JobTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this.OnProjectControl_JobStatusChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_JobStatus = value; - this.SendPropertyChanged("ProjectControl_JobStatus"); - this.OnProjectControl_JobStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this.OnProjectControl_JobTitleChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_JobTitle = value; - this.SendPropertyChanged("ProjectControl_JobTitle"); - this.OnProjectControl_JobTitleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this.OnProjectControl_BUCodeChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_BUCode = value; - this.SendPropertyChanged("ProjectControl_BUCode"); - this.OnProjectControl_BUCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MOCFormNo", DbType="NVarChar(50)")] - public string ProjectControl_MOCFormNo - { - get - { - return this._ProjectControl_MOCFormNo; - } - set - { - if ((this._ProjectControl_MOCFormNo != value)) - { - this.OnProjectControl_MOCFormNoChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MOCFormNo = value; - this.SendPropertyChanged("ProjectControl_MOCFormNo"); - this.OnProjectControl_MOCFormNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_NetworkNo", DbType="NVarChar(50)")] - public string ProjectControl_NetworkNo - { - get - { - return this._ProjectControl_NetworkNo; - } - set - { - if ((this._ProjectControl_NetworkNo != value)) - { - this.OnProjectControl_NetworkNoChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_NetworkNo = value; - this.SendPropertyChanged("ProjectControl_NetworkNo"); - this.OnProjectControl_NetworkNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_NotesLink", DbType="NVarChar(300)")] - public string ProjectControl_NotesLink - { - get - { - return this._ProjectControl_NotesLink; - } - set - { - if ((this._ProjectControl_NotesLink != value)) - { - this.OnProjectControl_NotesLinkChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_NotesLink = value; - this.SendPropertyChanged("ProjectControl_NotesLink"); - this.OnProjectControl_NotesLinkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OrginalBudget", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_OrginalBudget - { - get - { - return this._ProjectControl_OrginalBudget; - } - set - { - if ((this._ProjectControl_OrginalBudget != value)) - { - this.OnProjectControl_OrginalBudgetChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_OrginalBudget = value; - this.SendPropertyChanged("ProjectControl_OrginalBudget"); - this.OnProjectControl_OrginalBudgetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Account", DbType="NVarChar(50)")] - public string ProjectControl_Account - { - get - { - return this._ProjectControl_Account; - } - set - { - if ((this._ProjectControl_Account != value)) - { - this.OnProjectControl_AccountChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Account = value; - this.SendPropertyChanged("ProjectControl_Account"); - this.OnProjectControl_AccountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PVIPrediction", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_PVIPrediction - { - get - { - return this._ProjectControl_PVIPrediction; - } - set - { - if ((this._ProjectControl_PVIPrediction != value)) - { - this.OnProjectControl_PVIPredictionChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_PVIPrediction = value; - this.SendPropertyChanged("ProjectControl_PVIPrediction"); - this.OnProjectControl_PVIPredictionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CostEffectvitity", DbType="NVarChar(50)")] - public string ProjectControl_CostEffectvitity - { - get - { - return this._ProjectControl_CostEffectvitity; - } - set - { - if ((this._ProjectControl_CostEffectvitity != value)) - { - this.OnProjectControl_CostEffectvitityChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CostEffectvitity = value; - this.SendPropertyChanged("ProjectControl_CostEffectvitity"); - this.OnProjectControl_CostEffectvitityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadBy", DbType="NVarChar(50)")] - public string ProjectControl_LeadBy - { - get - { - return this._ProjectControl_LeadBy; - } - set - { - if ((this._ProjectControl_LeadBy != value)) - { - this.OnProjectControl_LeadByChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_LeadBy = value; - this.SendPropertyChanged("ProjectControl_LeadBy"); - this.OnProjectControl_LeadByChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this.OnProjectControl_LeadByNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_LeadByName = value; - this.SendPropertyChanged("ProjectControl_LeadByName"); - this.OnProjectControl_LeadByNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManagerId", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManagerId - { - get - { - return this._ProjectControl_ProjectManagerId; - } - set - { - if ((this._ProjectControl_ProjectManagerId != value)) - { - this.OnProjectControl_ProjectManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ProjectManagerId = value; - this.SendPropertyChanged("ProjectControl_ProjectManagerId"); - this.OnProjectControl_ProjectManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this.OnProjectControl_ProjectManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ProjectManager = value; - this.SendPropertyChanged("ProjectControl_ProjectManager"); - this.OnProjectControl_ProjectManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManagerId", DbType="NVarChar(50)")] - public string ProjectControl_ConstManagerId - { - get - { - return this._ProjectControl_ConstManagerId; - } - set - { - if ((this._ProjectControl_ConstManagerId != value)) - { - this.OnProjectControl_ConstManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ConstManagerId = value; - this.SendPropertyChanged("ProjectControl_ConstManagerId"); - this.OnProjectControl_ConstManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManager", DbType="NVarChar(50)")] - public string ProjectControl_ConstManager - { - get - { - return this._ProjectControl_ConstManager; - } - set - { - if ((this._ProjectControl_ConstManager != value)) - { - this.OnProjectControl_ConstManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ConstManager = value; - this.SendPropertyChanged("ProjectControl_ConstManager"); - this.OnProjectControl_ConstManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_EMManagerId", DbType="NVarChar(50)")] - public string ProjectControl_EMManagerId - { - get - { - return this._ProjectControl_EMManagerId; - } - set - { - if ((this._ProjectControl_EMManagerId != value)) - { - this.OnProjectControl_EMManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_EMManagerId = value; - this.SendPropertyChanged("ProjectControl_EMManagerId"); - this.OnProjectControl_EMManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_EMManager", DbType="NVarChar(50)")] - public string ProjectControl_EMManager - { - get - { - return this._ProjectControl_EMManager; - } - set - { - if ((this._ProjectControl_EMManager != value)) - { - this.OnProjectControl_EMManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_EMManager = value; - this.SendPropertyChanged("ProjectControl_EMManager"); - this.OnProjectControl_EMManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_SQIBManagerId", DbType="NVarChar(50)")] - public string ProjectControl_SQIBManagerId - { - get - { - return this._ProjectControl_SQIBManagerId; - } - set - { - if ((this._ProjectControl_SQIBManagerId != value)) - { - this.OnProjectControl_SQIBManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_SQIBManagerId = value; - this.SendPropertyChanged("ProjectControl_SQIBManagerId"); - this.OnProjectControl_SQIBManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_SQIBManager", DbType="NVarChar(50)")] - public string ProjectControl_SQIBManager - { - get - { - return this._ProjectControl_SQIBManager; - } - set - { - if ((this._ProjectControl_SQIBManager != value)) - { - this.OnProjectControl_SQIBManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_SQIBManager = value; - this.SendPropertyChanged("ProjectControl_SQIBManager"); - this.OnProjectControl_SQIBManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PermitManagerId", DbType="NVarChar(50)")] - public string ProjectControl_PermitManagerId - { - get - { - return this._ProjectControl_PermitManagerId; - } - set - { - if ((this._ProjectControl_PermitManagerId != value)) - { - this.OnProjectControl_PermitManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_PermitManagerId = value; - this.SendPropertyChanged("ProjectControl_PermitManagerId"); - this.OnProjectControl_PermitManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PermitManager", DbType="NVarChar(50)")] - public string ProjectControl_PermitManager - { - get - { - return this._ProjectControl_PermitManager; - } - set - { - if ((this._ProjectControl_PermitManager != value)) - { - this.OnProjectControl_PermitManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_PermitManager = value; - this.SendPropertyChanged("ProjectControl_PermitManager"); - this.OnProjectControl_PermitManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_TDCManagerId", DbType="NVarChar(50)")] - public string ProjectControl_TDCManagerId - { - get - { - return this._ProjectControl_TDCManagerId; - } - set - { - if ((this._ProjectControl_TDCManagerId != value)) - { - this.OnProjectControl_TDCManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_TDCManagerId = value; - this.SendPropertyChanged("ProjectControl_TDCManagerId"); - this.OnProjectControl_TDCManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_TDCManager", DbType="NVarChar(50)")] - public string ProjectControl_TDCManager - { - get - { - return this._ProjectControl_TDCManager; - } - set - { - if ((this._ProjectControl_TDCManager != value)) - { - this.OnProjectControl_TDCManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_TDCManager = value; - this.SendPropertyChanged("ProjectControl_TDCManager"); - this.OnProjectControl_TDCManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectControlManagerId", DbType="NVarChar(50)")] - public string ProjectControl_ProjectControlManagerId - { - get - { - return this._ProjectControl_ProjectControlManagerId; - } - set - { - if ((this._ProjectControl_ProjectControlManagerId != value)) - { - this.OnProjectControl_ProjectControlManagerIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ProjectControlManagerId = value; - this.SendPropertyChanged("ProjectControl_ProjectControlManagerId"); - this.OnProjectControl_ProjectControlManagerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectControlManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectControlManager - { - get - { - return this._ProjectControl_ProjectControlManager; - } - set - { - if ((this._ProjectControl_ProjectControlManager != value)) - { - this.OnProjectControl_ProjectControlManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ProjectControlManager = value; - this.SendPropertyChanged("ProjectControl_ProjectControlManager"); - this.OnProjectControl_ProjectControlManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OperationRepId", DbType="NVarChar(50)")] - public string ProjectControl_OperationRepId - { - get - { - return this._ProjectControl_OperationRepId; - } - set - { - if ((this._ProjectControl_OperationRepId != value)) - { - this.OnProjectControl_OperationRepIdChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_OperationRepId = value; - this.SendPropertyChanged("ProjectControl_OperationRepId"); - this.OnProjectControl_OperationRepIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OperationRep", DbType="NVarChar(50)")] - public string ProjectControl_OperationRep - { - get - { - return this._ProjectControl_OperationRep; - } - set - { - if ((this._ProjectControl_OperationRep != value)) - { - this.OnProjectControl_OperationRepChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_OperationRep = value; - this.SendPropertyChanged("ProjectControl_OperationRep"); - this.OnProjectControl_OperationRepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Remarks", DbType="NVarChar(2000)")] - public string ProjectControl_Remarks - { - get - { - return this._ProjectControl_Remarks; - } - set - { - if ((this._ProjectControl_Remarks != value)) - { - this.OnProjectControl_RemarksChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Remarks = value; - this.SendPropertyChanged("ProjectControl_Remarks"); - this.OnProjectControl_RemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ChangedBudget", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_ChangedBudget - { - get - { - return this._ProjectControl_ChangedBudget; - } - set - { - if ((this._ProjectControl_ChangedBudget != value)) - { - this.OnProjectControl_ChangedBudgetChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ChangedBudget = value; - this.SendPropertyChanged("ProjectControl_ChangedBudget"); - this.OnProjectControl_ChangedBudgetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CommittedPRPO", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_CommittedPRPO - { - get - { - return this._ProjectControl_CommittedPRPO; - } - set - { - if ((this._ProjectControl_CommittedPRPO != value)) - { - this.OnProjectControl_CommittedPRPOChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CommittedPRPO = value; - this.SendPropertyChanged("ProjectControl_CommittedPRPO"); - this.OnProjectControl_CommittedPRPOChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CommittedSSRs", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_CommittedSSRs - { - get - { - return this._ProjectControl_CommittedSSRs; - } - set - { - if ((this._ProjectControl_CommittedSSRs != value)) - { - this.OnProjectControl_CommittedSSRsChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CommittedSSRs = value; - this.SendPropertyChanged("ProjectControl_CommittedSSRs"); - this.OnProjectControl_CommittedSSRsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Actual", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_Actual - { - get - { - return this._ProjectControl_Actual; - } - set - { - if ((this._ProjectControl_Actual != value)) - { - this.OnProjectControl_ActualChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Actual = value; - this.SendPropertyChanged("ProjectControl_Actual"); - this.OnProjectControl_ActualChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_ResourcePlanReceived", DbType="DateTime")] - public System.Nullable ProjectControl_MS_ResourcePlanReceived - { - get - { - return this._ProjectControl_MS_ResourcePlanReceived; - } - set - { - if ((this._ProjectControl_MS_ResourcePlanReceived != value)) - { - this.OnProjectControl_MS_ResourcePlanReceivedChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MS_ResourcePlanReceived = value; - this.SendPropertyChanged("ProjectControl_MS_ResourcePlanReceived"); - this.OnProjectControl_MS_ResourcePlanReceivedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_SR", DbType="DateTime")] - public System.Nullable ProjectControl_MS_SR - { - get - { - return this._ProjectControl_MS_SR; - } - set - { - if ((this._ProjectControl_MS_SR != value)) - { - this.OnProjectControl_MS_SRChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MS_SR = value; - this.SendPropertyChanged("ProjectControl_MS_SR"); - this.OnProjectControl_MS_SRChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_Approval", DbType="DateTime")] - public System.Nullable ProjectControl_MS_Approval - { - get - { - return this._ProjectControl_MS_Approval; - } - set - { - if ((this._ProjectControl_MS_Approval != value)) - { - this.OnProjectControl_MS_ApprovalChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MS_Approval = value; - this.SendPropertyChanged("ProjectControl_MS_Approval"); - this.OnProjectControl_MS_ApprovalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_MC", DbType="DateTime")] - public System.Nullable ProjectControl_MS_MC - { - get - { - return this._ProjectControl_MS_MC; - } - set - { - if ((this._ProjectControl_MS_MC != value)) - { - this.OnProjectControl_MS_MCChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MS_MC = value; - this.SendPropertyChanged("ProjectControl_MS_MC"); - this.OnProjectControl_MS_MCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_Close", DbType="DateTime")] - public System.Nullable ProjectControl_MS_Close - { - get - { - return this._ProjectControl_MS_Close; - } - set - { - if ((this._ProjectControl_MS_Close != value)) - { - this.OnProjectControl_MS_CloseChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_MS_Close = value; - this.SendPropertyChanged("ProjectControl_MS_Close"); - this.OnProjectControl_MS_CloseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_Process", DbType="NVarChar(50)")] - public string ProjectControl_CI_Process - { - get - { - return this._ProjectControl_CI_Process; - } - set - { - if ((this._ProjectControl_CI_Process != value)) - { - this.OnProjectControl_CI_ProcessChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_Process = value; - this.SendPropertyChanged("ProjectControl_CI_Process"); - this.OnProjectControl_CI_ProcessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_ProcessName", DbType="NVarChar(50)")] - public string ProjectControl_CI_ProcessName - { - get - { - return this._ProjectControl_CI_ProcessName; - } - set - { - if ((this._ProjectControl_CI_ProcessName != value)) - { - this.OnProjectControl_CI_ProcessNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_ProcessName = value; - this.SendPropertyChanged("ProjectControl_CI_ProcessName"); - this.OnProjectControl_CI_ProcessNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_Equipment", DbType="NVarChar(50)")] - public string ProjectControl_CI_Equipment - { - get - { - return this._ProjectControl_CI_Equipment; - } - set - { - if ((this._ProjectControl_CI_Equipment != value)) - { - this.OnProjectControl_CI_EquipmentChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_Equipment = value; - this.SendPropertyChanged("ProjectControl_CI_Equipment"); - this.OnProjectControl_CI_EquipmentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_EquipmentName", DbType="NVarChar(50)")] - public string ProjectControl_CI_EquipmentName - { - get - { - return this._ProjectControl_CI_EquipmentName; - } - set - { - if ((this._ProjectControl_CI_EquipmentName != value)) - { - this.OnProjectControl_CI_EquipmentNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_EquipmentName = value; - this.SendPropertyChanged("ProjectControl_CI_EquipmentName"); - this.OnProjectControl_CI_EquipmentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_Instrument", DbType="NVarChar(50)")] - public string ProjectControl_CI_Instrument - { - get - { - return this._ProjectControl_CI_Instrument; - } - set - { - if ((this._ProjectControl_CI_Instrument != value)) - { - this.OnProjectControl_CI_InstrumentChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_Instrument = value; - this.SendPropertyChanged("ProjectControl_CI_Instrument"); - this.OnProjectControl_CI_InstrumentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_InstrumentName", DbType="NVarChar(50)")] - public string ProjectControl_CI_InstrumentName - { - get - { - return this._ProjectControl_CI_InstrumentName; - } - set - { - if ((this._ProjectControl_CI_InstrumentName != value)) - { - this.OnProjectControl_CI_InstrumentNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_InstrumentName = value; - this.SendPropertyChanged("ProjectControl_CI_InstrumentName"); - this.OnProjectControl_CI_InstrumentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_Electrical", DbType="NVarChar(50)")] - public string ProjectControl_CI_Electrical - { - get - { - return this._ProjectControl_CI_Electrical; - } - set - { - if ((this._ProjectControl_CI_Electrical != value)) - { - this.OnProjectControl_CI_ElectricalChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_Electrical = value; - this.SendPropertyChanged("ProjectControl_CI_Electrical"); - this.OnProjectControl_CI_ElectricalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_ElectricalName", DbType="NVarChar(50)")] - public string ProjectControl_CI_ElectricalName - { - get - { - return this._ProjectControl_CI_ElectricalName; - } - set - { - if ((this._ProjectControl_CI_ElectricalName != value)) - { - this.OnProjectControl_CI_ElectricalNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_ElectricalName = value; - this.SendPropertyChanged("ProjectControl_CI_ElectricalName"); - this.OnProjectControl_CI_ElectricalNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_Civil", DbType="NVarChar(50)")] - public string ProjectControl_CI_Civil - { - get - { - return this._ProjectControl_CI_Civil; - } - set - { - if ((this._ProjectControl_CI_Civil != value)) - { - this.OnProjectControl_CI_CivilChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_Civil = value; - this.SendPropertyChanged("ProjectControl_CI_Civil"); - this.OnProjectControl_CI_CivilChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_CivilName", DbType="NVarChar(50)")] - public string ProjectControl_CI_CivilName - { - get - { - return this._ProjectControl_CI_CivilName; - } - set - { - if ((this._ProjectControl_CI_CivilName != value)) - { - this.OnProjectControl_CI_CivilNameChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CI_CivilName = value; - this.SendPropertyChanged("ProjectControl_CI_CivilName"); - this.OnProjectControl_CI_CivilNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BC_CloseDate", DbType="DateTime")] - public System.Nullable ProjectControl_BC_CloseDate - { - get - { - return this._ProjectControl_BC_CloseDate; - } - set - { - if ((this._ProjectControl_BC_CloseDate != value)) - { - this.OnProjectControl_BC_CloseDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_BC_CloseDate = value; - this.SendPropertyChanged("ProjectControl_BC_CloseDate"); - this.OnProjectControl_BC_CloseDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchStart", DbType="DateTime")] - public System.Nullable ProjectControl_LP_SchStart - { - get - { - return this._ProjectControl_LP_SchStart; - } - set - { - if ((this._ProjectControl_LP_SchStart != value)) - { - this.OnProjectControl_LP_SchStartChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_LP_SchStart = value; - this.SendPropertyChanged("ProjectControl_LP_SchStart"); - this.OnProjectControl_LP_SchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchEnd", DbType="DateTime")] - public System.Nullable ProjectControl_LP_SchEnd - { - get - { - return this._ProjectControl_LP_SchEnd; - } - set - { - if ((this._ProjectControl_LP_SchEnd != value)) - { - this.OnProjectControl_LP_SchEndChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_LP_SchEnd = value; - this.SendPropertyChanged("ProjectControl_LP_SchEnd"); - this.OnProjectControl_LP_SchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_Progress", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_LP_Progress - { - get - { - return this._ProjectControl_LP_Progress; - } - set - { - if ((this._ProjectControl_LP_Progress != value)) - { - this.OnProjectControl_LP_ProgressChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_LP_Progress = value; - this.SendPropertyChanged("ProjectControl_LP_Progress"); - this.OnProjectControl_LP_ProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchStart", DbType="DateTime")] - public System.Nullable ProjectControl_CC_SchStart - { - get - { - return this._ProjectControl_CC_SchStart; - } - set - { - if ((this._ProjectControl_CC_SchStart != value)) - { - this.OnProjectControl_CC_SchStartChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CC_SchStart = value; - this.SendPropertyChanged("ProjectControl_CC_SchStart"); - this.OnProjectControl_CC_SchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchEnd", DbType="DateTime")] - public System.Nullable ProjectControl_CC_SchEnd - { - get - { - return this._ProjectControl_CC_SchEnd; - } - set - { - if ((this._ProjectControl_CC_SchEnd != value)) - { - this.OnProjectControl_CC_SchEndChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CC_SchEnd = value; - this.SendPropertyChanged("ProjectControl_CC_SchEnd"); - this.OnProjectControl_CC_SchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_Progress", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_CC_Progress - { - get - { - return this._ProjectControl_CC_Progress; - } - set - { - if ((this._ProjectControl_CC_Progress != value)) - { - this.OnProjectControl_CC_ProgressChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CC_Progress = value; - this.SendPropertyChanged("ProjectControl_CC_Progress"); - this.OnProjectControl_CC_ProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchStart", DbType="DateTime")] - public System.Nullable ProjectControl_CM_SchStart - { - get - { - return this._ProjectControl_CM_SchStart; - } - set - { - if ((this._ProjectControl_CM_SchStart != value)) - { - this.OnProjectControl_CM_SchStartChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CM_SchStart = value; - this.SendPropertyChanged("ProjectControl_CM_SchStart"); - this.OnProjectControl_CM_SchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchEnd", DbType="DateTime")] - public System.Nullable ProjectControl_CM_SchEnd - { - get - { - return this._ProjectControl_CM_SchEnd; - } - set - { - if ((this._ProjectControl_CM_SchEnd != value)) - { - this.OnProjectControl_CM_SchEndChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CM_SchEnd = value; - this.SendPropertyChanged("ProjectControl_CM_SchEnd"); - this.OnProjectControl_CM_SchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_Progress", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_CM_Progress - { - get - { - return this._ProjectControl_CM_Progress; - } - set - { - if ((this._ProjectControl_CM_Progress != value)) - { - this.OnProjectControl_CM_ProgressChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_CM_Progress = value; - this.SendPropertyChanged("ProjectControl_CM_Progress"); - this.OnProjectControl_CM_ProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PC_CancelDate", DbType="DateTime")] - public System.Nullable ProjectControl_PC_CancelDate - { - get - { - return this._ProjectControl_PC_CancelDate; - } - set - { - if ((this._ProjectControl_PC_CancelDate != value)) - { - this.OnProjectControl_PC_CancelDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_PC_CancelDate = value; - this.SendPropertyChanged("ProjectControl_PC_CancelDate"); - this.OnProjectControl_PC_CancelDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Study_StartDate", DbType="DateTime")] - public System.Nullable ProjectControl_Study_StartDate - { - get - { - return this._ProjectControl_Study_StartDate; - } - set - { - if ((this._ProjectControl_Study_StartDate != value)) - { - this.OnProjectControl_Study_StartDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Study_StartDate = value; - this.SendPropertyChanged("ProjectControl_Study_StartDate"); - this.OnProjectControl_Study_StartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Study_EndDate", DbType="DateTime")] - public System.Nullable ProjectControl_Study_EndDate - { - get - { - return this._ProjectControl_Study_EndDate; - } - set - { - if ((this._ProjectControl_Study_EndDate != value)) - { - this.OnProjectControl_Study_EndDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Study_EndDate = value; - this.SendPropertyChanged("ProjectControl_Study_EndDate"); - this.OnProjectControl_Study_EndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_NetworkDate", DbType="DateTime")] - public System.Nullable ProjectControl_NetworkDate - { - get - { - return this._ProjectControl_NetworkDate; - } - set - { - if ((this._ProjectControl_NetworkDate != value)) - { - this.OnProjectControl_NetworkDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_NetworkDate = value; - this.SendPropertyChanged("ProjectControl_NetworkDate"); - this.OnProjectControl_NetworkDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_WBSNo", DbType="NVarChar(50)")] - public string ProjectControl_WBSNo - { - get - { - return this._ProjectControl_WBSNo; - } - set - { - if ((this._ProjectControl_WBSNo != value)) - { - this.OnProjectControl_WBSNoChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_WBSNo = value; - this.SendPropertyChanged("ProjectControl_WBSNo"); - this.OnProjectControl_WBSNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_FilesLink", DbType="NVarChar(300)")] - public string ProjectControl_FilesLink - { - get - { - return this._ProjectControl_FilesLink; - } - set - { - if ((this._ProjectControl_FilesLink != value)) - { - this.OnProjectControl_FilesLinkChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_FilesLink = value; - this.SendPropertyChanged("ProjectControl_FilesLink"); - this.OnProjectControl_FilesLinkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ClosedDate", DbType="DateTime")] - public System.Nullable ProjectControl_ClosedDate - { - get - { - return this._ProjectControl_ClosedDate; - } - set - { - if ((this._ProjectControl_ClosedDate != value)) - { - this.OnProjectControl_ClosedDateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_ClosedDate = value; - this.SendPropertyChanged("ProjectControl_ClosedDate"); - this.OnProjectControl_ClosedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_SchStart", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_SchStart - { - get - { - return this._Detail_Eng_Civil_SchStart; - } - set - { - if ((this._Detail_Eng_Civil_SchStart != value)) - { - this.OnDetail_Eng_Civil_SchStartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_SchStart = value; - this.SendPropertyChanged("Detail_Eng_Civil_SchStart"); - this.OnDetail_Eng_Civil_SchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_SchEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_SchEnd - { - get - { - return this._Detail_Eng_Civil_SchEnd; - } - set - { - if ((this._Detail_Eng_Civil_SchEnd != value)) - { - this.OnDetail_Eng_Civil_SchEndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_SchEnd = value; - this.SendPropertyChanged("Detail_Eng_Civil_SchEnd"); - this.OnDetail_Eng_Civil_SchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_SchProgress", DbType="Decimal(18,2)")] - public System.Nullable Detail_Eng_Civil_SchProgress - { - get - { - return this._Detail_Eng_Civil_SchProgress; - } - set - { - if ((this._Detail_Eng_Civil_SchProgress != value)) - { - this.OnDetail_Eng_Civil_SchProgressChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_SchProgress = value; - this.SendPropertyChanged("Detail_Eng_Civil_SchProgress"); - this.OnDetail_Eng_Civil_SchProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_ReviseStart", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_ReviseStart - { - get - { - return this._Detail_Eng_Civil_ReviseStart; - } - set - { - if ((this._Detail_Eng_Civil_ReviseStart != value)) - { - this.OnDetail_Eng_Civil_ReviseStartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_ReviseStart = value; - this.SendPropertyChanged("Detail_Eng_Civil_ReviseStart"); - this.OnDetail_Eng_Civil_ReviseStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_ReviseEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_ReviseEnd - { - get - { - return this._Detail_Eng_Civil_ReviseEnd; - } - set - { - if ((this._Detail_Eng_Civil_ReviseEnd != value)) - { - this.OnDetail_Eng_Civil_ReviseEndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_ReviseEnd = value; - this.SendPropertyChanged("Detail_Eng_Civil_ReviseEnd"); - this.OnDetail_Eng_Civil_ReviseEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_ReviseProgress", DbType="Decimal(18,2)")] - public System.Nullable Detail_Eng_Civil_ReviseProgress - { - get - { - return this._Detail_Eng_Civil_ReviseProgress; - } - set - { - if ((this._Detail_Eng_Civil_ReviseProgress != value)) - { - this.OnDetail_Eng_Civil_ReviseProgressChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_ReviseProgress = value; - this.SendPropertyChanged("Detail_Eng_Civil_ReviseProgress"); - this.OnDetail_Eng_Civil_ReviseProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_SchStart", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_SchStart - { - get - { - return this._Detail_Eng_MechEI_SchStart; - } - set - { - if ((this._Detail_Eng_MechEI_SchStart != value)) - { - this.OnDetail_Eng_MechEI_SchStartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_SchStart = value; - this.SendPropertyChanged("Detail_Eng_MechEI_SchStart"); - this.OnDetail_Eng_MechEI_SchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_SchEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_SchEnd - { - get - { - return this._Detail_Eng_MechEI_SchEnd; - } - set - { - if ((this._Detail_Eng_MechEI_SchEnd != value)) - { - this.OnDetail_Eng_MechEI_SchEndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_SchEnd = value; - this.SendPropertyChanged("Detail_Eng_MechEI_SchEnd"); - this.OnDetail_Eng_MechEI_SchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_SchProgress", DbType="Decimal(18,2)")] - public System.Nullable Detail_Eng_MechEI_SchProgress - { - get - { - return this._Detail_Eng_MechEI_SchProgress; - } - set - { - if ((this._Detail_Eng_MechEI_SchProgress != value)) - { - this.OnDetail_Eng_MechEI_SchProgressChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_SchProgress = value; - this.SendPropertyChanged("Detail_Eng_MechEI_SchProgress"); - this.OnDetail_Eng_MechEI_SchProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_ReviseStart", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_ReviseStart - { - get - { - return this._Detail_Eng_MechEI_ReviseStart; - } - set - { - if ((this._Detail_Eng_MechEI_ReviseStart != value)) - { - this.OnDetail_Eng_MechEI_ReviseStartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_ReviseStart = value; - this.SendPropertyChanged("Detail_Eng_MechEI_ReviseStart"); - this.OnDetail_Eng_MechEI_ReviseStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_ReviseEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_ReviseEnd - { - get - { - return this._Detail_Eng_MechEI_ReviseEnd; - } - set - { - if ((this._Detail_Eng_MechEI_ReviseEnd != value)) - { - this.OnDetail_Eng_MechEI_ReviseEndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_ReviseEnd = value; - this.SendPropertyChanged("Detail_Eng_MechEI_ReviseEnd"); - this.OnDetail_Eng_MechEI_ReviseEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_ReviseProgress", DbType="Decimal(18,2)")] - public System.Nullable Detail_Eng_MechEI_ReviseProgress - { - get - { - return this._Detail_Eng_MechEI_ReviseProgress; - } - set - { - if ((this._Detail_Eng_MechEI_ReviseProgress != value)) - { - this.OnDetail_Eng_MechEI_ReviseProgressChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_MechEI_ReviseProgress = value; - this.SendPropertyChanged("Detail_Eng_MechEI_ReviseProgress"); - this.OnDetail_Eng_MechEI_ReviseProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_PressureVesselChecked", DbType="Bit")] - public System.Nullable PM_PressureVesselChecked - { - get - { - return this._PM_PressureVesselChecked; - } - set - { - if ((this._PM_PressureVesselChecked != value)) - { - this.OnPM_PressureVesselCheckedChanging(value); - this.SendPropertyChanging(); - this._PM_PressureVesselChecked = value; - this.SendPropertyChanged("PM_PressureVesselChecked"); - this.OnPM_PressureVesselCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_PressurePipingChecked", DbType="Bit")] - public System.Nullable PM_PressurePipingChecked - { - get - { - return this._PM_PressurePipingChecked; - } - set - { - if ((this._PM_PressurePipingChecked != value)) - { - this.OnPM_PressurePipingCheckedChanging(value); - this.SendPropertyChanging(); - this._PM_PressurePipingChecked = value; - this.SendPropertyChanged("PM_PressurePipingChecked"); - this.OnPM_PressurePipingCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SQIBChecked", DbType="Bit")] - public System.Nullable PM_SQIBChecked - { - get - { - return this._PM_SQIBChecked; - } - set - { - if ((this._PM_SQIBChecked != value)) - { - this.OnPM_SQIBCheckedChanging(value); - this.SendPropertyChanging(); - this._PM_SQIBChecked = value; - this.SendPropertyChanged("PM_SQIBChecked"); - this.OnPM_SQIBCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnvAssessChecked", DbType="Bit")] - public System.Nullable Permit_PS_EnvAssessChecked - { - get - { - return this._Permit_PS_EnvAssessChecked; - } - set - { - if ((this._Permit_PS_EnvAssessChecked != value)) - { - this.OnPermit_PS_EnvAssessCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnvAssessChecked = value; - this.SendPropertyChanged("Permit_PS_EnvAssessChecked"); - this.OnPermit_PS_EnvAssessCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnergySavingChecked", DbType="Bit")] - public System.Nullable Permit_PS_EnergySavingChecked - { - get - { - return this._Permit_PS_EnergySavingChecked; - } - set - { - if ((this._Permit_PS_EnergySavingChecked != value)) - { - this.OnPermit_PS_EnergySavingCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnergySavingChecked = value; - this.SendPropertyChanged("Permit_PS_EnergySavingChecked"); - this.OnPermit_PS_EnergySavingCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ProjectRegistrChecked", DbType="Bit")] - public System.Nullable Permit_PS_ProjectRegistrChecked - { - get - { - return this._Permit_PS_ProjectRegistrChecked; - } - set - { - if ((this._Permit_PS_ProjectRegistrChecked != value)) - { - this.OnPermit_PS_ProjectRegistrCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ProjectRegistrChecked = value; - this.SendPropertyChanged("Permit_PS_ProjectRegistrChecked"); - this.OnPermit_PS_ProjectRegistrCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_PlanningPermitChecked", DbType="Bit")] - public System.Nullable Permit_PS_PlanningPermitChecked - { - get - { - return this._Permit_PS_PlanningPermitChecked; - } - set - { - if ((this._Permit_PS_PlanningPermitChecked != value)) - { - this.OnPermit_PS_PlanningPermitCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_PlanningPermitChecked = value; - this.SendPropertyChanged("Permit_PS_PlanningPermitChecked"); - this.OnPermit_PS_PlanningPermitCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyConReviewChecked", DbType="Bit")] - public System.Nullable Permit_PS_SafetyConReviewChecked - { - get - { - return this._Permit_PS_SafetyConReviewChecked; - } - set - { - if ((this._Permit_PS_SafetyConReviewChecked != value)) - { - this.OnPermit_PS_SafetyConReviewCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyConReviewChecked = value; - this.SendPropertyChanged("Permit_PS_SafetyConReviewChecked"); - this.OnPermit_PS_SafetyConReviewCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyDesginReviewChecked", DbType="Bit")] - public System.Nullable Permit_PS_SafetyDesginReviewChecked - { - get - { - return this._Permit_PS_SafetyDesginReviewChecked; - } - set - { - if ((this._Permit_PS_SafetyDesginReviewChecked != value)) - { - this.OnPermit_PS_SafetyDesginReviewCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyDesginReviewChecked = value; - this.SendPropertyChanged("Permit_PS_SafetyDesginReviewChecked"); - this.OnPermit_PS_SafetyDesginReviewCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_FFDesginReviewChecked", DbType="Bit")] - public System.Nullable Permit_PS_FFDesginReviewChecked - { - get - { - return this._Permit_PS_FFDesginReviewChecked; - } - set - { - if ((this._Permit_PS_FFDesginReviewChecked != value)) - { - this.OnPermit_PS_FFDesginReviewCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_FFDesginReviewChecked = value; - this.SendPropertyChanged("Permit_PS_FFDesginReviewChecked"); - this.OnPermit_PS_FFDesginReviewCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ConstPermitChecked", DbType="Bit")] - public System.Nullable Permit_PS_ConstPermitChecked - { - get - { - return this._Permit_PS_ConstPermitChecked; - } - set - { - if ((this._Permit_PS_ConstPermitChecked != value)) - { - this.OnPermit_PS_ConstPermitCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ConstPermitChecked = value; - this.SendPropertyChanged("Permit_PS_ConstPermitChecked"); - this.OnPermit_PS_ConstPermitCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_SafetyFinalAccChecked", DbType="Bit")] - public System.Nullable Permit_PS_SafetyFinalAccChecked - { - get - { - return this._Permit_PS_SafetyFinalAccChecked; - } - set - { - if ((this._Permit_PS_SafetyFinalAccChecked != value)) - { - this.OnPermit_PS_SafetyFinalAccCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_SafetyFinalAccChecked = value; - this.SendPropertyChanged("Permit_PS_SafetyFinalAccChecked"); - this.OnPermit_PS_SafetyFinalAccCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_FFFinalAccChecked", DbType="Bit")] - public System.Nullable Permit_PS_FFFinalAccChecked - { - get - { - return this._Permit_PS_FFFinalAccChecked; - } - set - { - if ((this._Permit_PS_FFFinalAccChecked != value)) - { - this.OnPermit_PS_FFFinalAccCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_FFFinalAccChecked = value; - this.SendPropertyChanged("Permit_PS_FFFinalAccChecked"); - this.OnPermit_PS_FFFinalAccCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_EnvFinalAccChecked", DbType="Bit")] - public System.Nullable Permit_PS_EnvFinalAccChecked - { - get - { - return this._Permit_PS_EnvFinalAccChecked; - } - set - { - if ((this._Permit_PS_EnvFinalAccChecked != value)) - { - this.OnPermit_PS_EnvFinalAccCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_EnvFinalAccChecked = value; - this.SendPropertyChanged("Permit_PS_EnvFinalAccChecked"); - this.OnPermit_PS_EnvFinalAccCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_ArchiveAccepChecked", DbType="Bit")] - public System.Nullable Permit_PS_ArchiveAccepChecked - { - get - { - return this._Permit_PS_ArchiveAccepChecked; - } - set - { - if ((this._Permit_PS_ArchiveAccepChecked != value)) - { - this.OnPermit_PS_ArchiveAccepCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_ArchiveAccepChecked = value; - this.SendPropertyChanged("Permit_PS_ArchiveAccepChecked"); - this.OnPermit_PS_ArchiveAccepCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Permit_PS_3rdConstJianChecked", DbType="Bit")] - public System.Nullable Permit_PS_3rdConstJianChecked - { - get - { - return this._Permit_PS_3rdConstJianChecked; - } - set - { - if ((this._Permit_PS_3rdConstJianChecked != value)) - { - this.OnPermit_PS_3rdConstJianCheckedChanging(value); - this.SendPropertyChanging(); - this._Permit_PS_3rdConstJianChecked = value; - this.SendPropertyChanged("Permit_PS_3rdConstJianChecked"); - this.OnPermit_PS_3rdConstJianCheckedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutSourceType", DbType="NVarChar(10)")] - public string OutSourceType - { - get - { - return this._OutSourceType; - } - set - { - if ((this._OutSourceType != value)) - { - this.OnOutSourceTypeChanging(value); - this.SendPropertyChanging(); - this._OutSourceType = value; - this.SendPropertyChanged("OutSourceType"); - this.OnOutSourceTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CAPEXPlanNo", DbType="NVarChar(150)")] - public string CAPEXPlanNo - { - get - { - return this._CAPEXPlanNo; - } - set - { - if ((this._CAPEXPlanNo != value)) - { - this.OnCAPEXPlanNoChanging(value); - this.SendPropertyChanging(); - this._CAPEXPlanNo = value; - this.SendPropertyChanged("CAPEXPlanNo"); - this.OnCAPEXPlanNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyWo", DbType="NVarChar(50)")] - public string StudyWo - { - get - { - return this._StudyWo; - } - set - { - if ((this._StudyWo != value)) - { - this.OnStudyWoChanging(value); - this.SendPropertyChanging(); - this._StudyWo = value; - this.SendPropertyChanged("StudyWo"); - this.OnStudyWoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTEInvolved", DbType="NChar(1)")] - public string CTEInvolved - { - get - { - return this._CTEInvolved; - } - set - { - if ((this._CTEInvolved != value)) - { - this.OnCTEInvolvedChanging(value); - this.SendPropertyChanging(); - this._CTEInvolved = value; - this.SendPropertyChanged("CTEInvolved"); - this.OnCTEInvolvedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNewCreate", DbType="Bit")] - public System.Nullable IsNewCreate - { - get - { - return this._IsNewCreate; - } - set - { - if ((this._IsNewCreate != value)) - { - this.OnIsNewCreateChanging(value); - this.SendPropertyChanging(); - this._IsNewCreate = value; - this.SendPropertyChanged("IsNewCreate"); - this.OnIsNewCreateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Revised_MC_Date", DbType="DateTime")] - public System.Nullable ProjectControl_Revised_MC_Date - { - get - { - return this._ProjectControl_Revised_MC_Date; - } - set - { - if ((this._ProjectControl_Revised_MC_Date != value)) - { - this.OnProjectControl_Revised_MC_DateChanging(value); - this.SendPropertyChanging(); - this._ProjectControl_Revised_MC_Date = value; - this.SendPropertyChanged("ProjectControl_Revised_MC_Date"); - this.OnProjectControl_Revised_MC_DateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Critical", DbType="NVarChar(10)")] - public string PM_Critical - { - get - { - return this._PM_Critical; - } - set - { - if ((this._PM_Critical != value)) - { - this.OnPM_CriticalChanging(value); - this.SendPropertyChanging(); - this._PM_Critical = value; - this.SendPropertyChanged("PM_Critical"); - this.OnPM_CriticalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_ReasonForCritical", DbType="NVarChar(100)")] - public string PM_ReasonForCritical - { - get - { - return this._PM_ReasonForCritical; - } - set - { - if ((this._PM_ReasonForCritical != value)) - { - this.OnPM_ReasonForCriticalChanging(value); - this.SendPropertyChanging(); - this._PM_ReasonForCritical = value; - this.SendPropertyChanged("PM_ReasonForCritical"); - this.OnPM_ReasonForCriticalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_EHSReview_Files", DbType="DateTime")] - public System.Nullable Job_EHSReview_Files - { - get - { - return this._Job_EHSReview_Files; - } - set - { - if ((this._Job_EHSReview_Files != value)) - { - this.OnJob_EHSReview_FilesChanging(value); - this.SendPropertyChanging(); - this._Job_EHSReview_Files = value; - this.SendPropertyChanged("Job_EHSReview_Files"); - this.OnJob_EHSReview_FilesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Estimate_Worksheet", DbType="DateTime")] - public System.Nullable Job_Estimate_Worksheet - { - get - { - return this._Job_Estimate_Worksheet; - } - set - { - if ((this._Job_Estimate_Worksheet != value)) - { - this.OnJob_Estimate_WorksheetChanging(value); - this.SendPropertyChanging(); - this._Job_Estimate_Worksheet = value; - this.SendPropertyChanged("Job_Estimate_Worksheet"); - this.OnJob_Estimate_WorksheetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Budget", DbType="DateTime")] - public System.Nullable Job_Budget - { - get - { - return this._Job_Budget; - } - set - { - if ((this._Job_Budget != value)) - { - this.OnJob_BudgetChanging(value); - this.SendPropertyChanging(); - this._Job_Budget = value; - this.SendPropertyChanged("Job_Budget"); - this.OnJob_BudgetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_TecoAlarm_Study", DbType="DateTime")] - public System.Nullable Job_TecoAlarm_Study - { - get - { - return this._Job_TecoAlarm_Study; - } - set - { - if ((this._Job_TecoAlarm_Study != value)) - { - this.OnJob_TecoAlarm_StudyChanging(value); - this.SendPropertyChanging(); - this._Job_TecoAlarm_Study = value; - this.SendPropertyChanged("Job_TecoAlarm_Study"); - this.OnJob_TecoAlarm_StudyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Plan_IFC", DbType="DateTime")] - public System.Nullable Job_Plan_IFC - { - get - { - return this._Job_Plan_IFC; - } - set - { - if ((this._Job_Plan_IFC != value)) - { - this.OnJob_Plan_IFCChanging(value); - this.SendPropertyChanging(); - this._Job_Plan_IFC = value; - this.SendPropertyChanged("Job_Plan_IFC"); - this.OnJob_Plan_IFCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Hold", DbType="DateTime")] - public System.Nullable Job_Hold - { - get - { - return this._Job_Hold; - } - set - { - if ((this._Job_Hold != value)) - { - this.OnJob_HoldChanging(value); - this.SendPropertyChanging(); - this._Job_Hold = value; - this.SendPropertyChanged("Job_Hold"); - this.OnJob_HoldChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam1", DbType="NVarChar(50)")] - public string Job_Delaybyteam1 - { - get - { - return this._Job_Delaybyteam1; - } - set - { - if ((this._Job_Delaybyteam1 != value)) - { - this.OnJob_Delaybyteam1Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybyteam1 = value; - this.SendPropertyChanged("Job_Delaybyteam1"); - this.OnJob_Delaybyteam1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel1", DbType="NVarChar(50)")] - public string Job_Delaybypersonel1 - { - get - { - return this._Job_Delaybypersonel1; - } - set - { - if ((this._Job_Delaybypersonel1 != value)) - { - this.OnJob_Delaybypersonel1Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybypersonel1 = value; - this.SendPropertyChanged("Job_Delaybypersonel1"); - this.OnJob_Delaybypersonel1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark1", DbType="NVarChar(150)")] - public string Job_Remark1 - { - get - { - return this._Job_Remark1; - } - set - { - if ((this._Job_Remark1 != value)) - { - this.OnJob_Remark1Changing(value); - this.SendPropertyChanging(); - this._Job_Remark1 = value; - this.SendPropertyChanged("Job_Remark1"); - this.OnJob_Remark1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam2", DbType="NVarChar(50)")] - public string Job_Delaybyteam2 - { - get - { - return this._Job_Delaybyteam2; - } - set - { - if ((this._Job_Delaybyteam2 != value)) - { - this.OnJob_Delaybyteam2Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybyteam2 = value; - this.SendPropertyChanged("Job_Delaybyteam2"); - this.OnJob_Delaybyteam2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel2", DbType="NVarChar(50)")] - public string Job_Delaybypersonel2 - { - get - { - return this._Job_Delaybypersonel2; - } - set - { - if ((this._Job_Delaybypersonel2 != value)) - { - this.OnJob_Delaybypersonel2Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybypersonel2 = value; - this.SendPropertyChanged("Job_Delaybypersonel2"); - this.OnJob_Delaybypersonel2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark2", DbType="NVarChar(150)")] - public string Job_Remark2 - { - get - { - return this._Job_Remark2; - } - set - { - if ((this._Job_Remark2 != value)) - { - this.OnJob_Remark2Changing(value); - this.SendPropertyChanging(); - this._Job_Remark2 = value; - this.SendPropertyChanged("Job_Remark2"); - this.OnJob_Remark2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam3", DbType="NVarChar(50)")] - public string Job_Delaybyteam3 - { - get - { - return this._Job_Delaybyteam3; - } - set - { - if ((this._Job_Delaybyteam3 != value)) - { - this.OnJob_Delaybyteam3Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybyteam3 = value; - this.SendPropertyChanged("Job_Delaybyteam3"); - this.OnJob_Delaybyteam3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel3", DbType="NVarChar(50)")] - public string Job_Delaybypersonel3 - { - get - { - return this._Job_Delaybypersonel3; - } - set - { - if ((this._Job_Delaybypersonel3 != value)) - { - this.OnJob_Delaybypersonel3Changing(value); - this.SendPropertyChanging(); - this._Job_Delaybypersonel3 = value; - this.SendPropertyChanged("Job_Delaybypersonel3"); - this.OnJob_Delaybypersonel3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark3", DbType="NVarChar(150)")] - public string Job_Remark3 - { - get - { - return this._Job_Remark3; - } - set - { - if ((this._Job_Remark3 != value)) - { - this.OnJob_Remark3Changing(value); - this.SendPropertyChanging(); - this._Job_Remark3 = value; - this.SendPropertyChanged("Job_Remark3"); - this.OnJob_Remark3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_PlanEHSReview_Files", DbType="DateTime")] - public System.Nullable Job_PlanEHSReview_Files - { - get - { - return this._Job_PlanEHSReview_Files; - } - set - { - if ((this._Job_PlanEHSReview_Files != value)) - { - this.OnJob_PlanEHSReview_FilesChanging(value); - this.SendPropertyChanging(); - this._Job_PlanEHSReview_Files = value; - this.SendPropertyChanged("Job_PlanEHSReview_Files"); - this.OnJob_PlanEHSReview_FilesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_EHSReview_Meeting", DbType="DateTime")] - public System.Nullable Job_EHSReview_Meeting - { - get - { - return this._Job_EHSReview_Meeting; - } - set - { - if ((this._Job_EHSReview_Meeting != value)) - { - this.OnJob_EHSReview_MeetingChanging(value); - this.SendPropertyChanging(); - this._Job_EHSReview_Meeting = value; - this.SendPropertyChanged("Job_EHSReview_Meeting"); - this.OnJob_EHSReview_MeetingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignPlanIsComplete", DbType="Bit")] - public System.Nullable DesignPlanIsComplete - { - get - { - return this._DesignPlanIsComplete; - } - set - { - if ((this._DesignPlanIsComplete != value)) - { - this.OnDesignPlanIsCompleteChanging(value); - this.SendPropertyChanging(); - this._DesignPlanIsComplete = value; - this.SendPropertyChanged("DesignPlanIsComplete"); - this.OnDesignPlanIsCompleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputIsFile", DbType="Bit")] - public System.Nullable DesignInputIsFile - { - get - { - return this._DesignInputIsFile; - } - set - { - if ((this._DesignInputIsFile != value)) - { - this.OnDesignInputIsFileChanging(value); - this.SendPropertyChanging(); - this._DesignInputIsFile = value; - this.SendPropertyChanged("DesignInputIsFile"); - this.OnDesignInputIsFileChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignDocumentIsConfirm", DbType="Bit")] - public System.Nullable DesignDocumentIsConfirm - { - get - { - return this._DesignDocumentIsConfirm; - } - set - { - if ((this._DesignDocumentIsConfirm != value)) - { - this.OnDesignDocumentIsConfirmChanging(value); - this.SendPropertyChanging(); - this._DesignDocumentIsConfirm = value; - this.SendPropertyChanged("DesignDocumentIsConfirm"); - this.OnDesignDocumentIsConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputMailIsSend", DbType="Bit")] - public System.Nullable DesignInputMailIsSend - { - get - { - return this._DesignInputMailIsSend; - } - set - { - if ((this._DesignInputMailIsSend != value)) - { - this.OnDesignInputMailIsSendChanging(value); - this.SendPropertyChanging(); - this._DesignInputMailIsSend = value; - this.SendPropertyChanged("DesignInputMailIsSend"); - this.OnDesignInputMailIsSendChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedStartIsAct", DbType="Bit")] - public System.Nullable PM_LLEP_RevisedStartIsAct - { - get - { - return this._PM_LLEP_RevisedStartIsAct; - } - set - { - if ((this._PM_LLEP_RevisedStartIsAct != value)) - { - this.OnPM_LLEP_RevisedStartIsActChanging(value); - this.SendPropertyChanging(); - this._PM_LLEP_RevisedStartIsAct = value; - this.SendPropertyChanged("PM_LLEP_RevisedStartIsAct"); - this.OnPM_LLEP_RevisedStartIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedEndIsAct", DbType="Bit")] - public System.Nullable PM_LLEP_RevisedEndIsAct - { - get - { - return this._PM_LLEP_RevisedEndIsAct; - } - set - { - if ((this._PM_LLEP_RevisedEndIsAct != value)) - { - this.OnPM_LLEP_RevisedEndIsActChanging(value); - this.SendPropertyChanging(); - this._PM_LLEP_RevisedEndIsAct = value; - this.SendPropertyChanged("PM_LLEP_RevisedEndIsAct"); - this.OnPM_LLEP_RevisedEndIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedStartIsAct", DbType="Bit")] - public System.Nullable CM_CC_RevisedStartIsAct - { - get - { - return this._CM_CC_RevisedStartIsAct; - } - set - { - if ((this._CM_CC_RevisedStartIsAct != value)) - { - this.OnCM_CC_RevisedStartIsActChanging(value); - this.SendPropertyChanging(); - this._CM_CC_RevisedStartIsAct = value; - this.SendPropertyChanged("CM_CC_RevisedStartIsAct"); - this.OnCM_CC_RevisedStartIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedEndIsAct", DbType="Bit")] - public System.Nullable CM_CC_RevisedEndIsAct - { - get - { - return this._CM_CC_RevisedEndIsAct; - } - set - { - if ((this._CM_CC_RevisedEndIsAct != value)) - { - this.OnCM_CC_RevisedEndIsActChanging(value); - this.SendPropertyChanging(); - this._CM_CC_RevisedEndIsAct = value; - this.SendPropertyChanged("CM_CC_RevisedEndIsAct"); - this.OnCM_CC_RevisedEndIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedStartIsAct", DbType="Bit")] - public System.Nullable CM_CM_RevisedStartIsAct - { - get - { - return this._CM_CM_RevisedStartIsAct; - } - set - { - if ((this._CM_CM_RevisedStartIsAct != value)) - { - this.OnCM_CM_RevisedStartIsActChanging(value); - this.SendPropertyChanging(); - this._CM_CM_RevisedStartIsAct = value; - this.SendPropertyChanged("CM_CM_RevisedStartIsAct"); - this.OnCM_CM_RevisedStartIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedEndIsAct", DbType="Bit")] - public System.Nullable CM_CM_RevisedEndIsAct - { - get - { - return this._CM_CM_RevisedEndIsAct; - } - set - { - if ((this._CM_CM_RevisedEndIsAct != value)) - { - this.OnCM_CM_RevisedEndIsActChanging(value); - this.SendPropertyChanging(); - this._CM_CM_RevisedEndIsAct = value; - this.SendPropertyChanged("CM_CM_RevisedEndIsAct"); - this.OnCM_CM_RevisedEndIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")] - public System.Nullable CreateDate - { - get - { - return this._CreateDate; - } - set - { - if ((this._CreateDate != value)) - { - this.OnCreateDateChanging(value); - this.SendPropertyChanging(); - this._CreateDate = value; - this.SendPropertyChanged("CreateDate"); - this.OnCreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModifyDate", DbType="DateTime")] - public System.Nullable ModifyDate - { - get - { - return this._ModifyDate; - } - set - { - if ((this._ModifyDate != value)) - { - this.OnModifyDateChanging(value); - this.SendPropertyChanging(); - this._ModifyDate = value; - this.SendPropertyChanged("ModifyDate"); - this.OnModifyDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50)")] - public string CreatePerson - { - get - { - return this._CreatePerson; - } - set - { - if ((this._CreatePerson != value)) - { - this.OnCreatePersonChanging(value); - this.SendPropertyChanging(); - this._CreatePerson = value; - this.SendPropertyChanged("CreatePerson"); - this.OnCreatePersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModifyPerson", DbType="NVarChar(50)")] - public string ModifyPerson - { - get - { - return this._ModifyPerson; - } - set - { - if ((this._ModifyPerson != value)) - { - this.OnModifyPersonChanging(value); - this.SendPropertyChanging(); - this._ModifyPerson = value; - this.SendPropertyChanged("ModifyPerson"); - this.OnModifyPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Planning_Approval", DbType="DateTime")] - public System.Nullable PM_Planning_Approval - { - get - { - return this._PM_Planning_Approval; - } - set - { - if ((this._PM_Planning_Approval != value)) - { - this.OnPM_Planning_ApprovalChanging(value); - this.SendPropertyChanging(); - this._PM_Planning_Approval = value; - this.SendPropertyChanged("PM_Planning_Approval"); - this.OnPM_Planning_ApprovalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Pre_Approval", DbType="DateTime")] - public System.Nullable PM_Pre_Approval - { - get - { - return this._PM_Pre_Approval; - } - set - { - if ((this._PM_Pre_Approval != value)) - { - this.OnPM_Pre_ApprovalChanging(value); - this.SendPropertyChanging(); - this._PM_Pre_Approval = value; - this.SendPropertyChanged("PM_Pre_Approval"); - this.OnPM_Pre_ApprovalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Editor_EProject", Storage="_Design_Input", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Design_Input - { - get - { - return this._Design_Input; - } - set - { - this._Design_Input.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Editor_EProject", Storage="_Editor_AreaConcern", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_AreaConcern - { - get - { - return this._Editor_AreaConcern; - } - set - { - this._Editor_AreaConcern.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_CM_HTD_Editor_EProject", Storage="_Editor_CM_HTD", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_CM_HTD - { - get - { - return this._Editor_CM_HTD; - } - set - { - this._Editor_CM_HTD.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Cost_Editor_EProject", Storage="_Editor_CostReport", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_CostReport - { - get - { - return this._Editor_CostReport; - } - set - { - this._Editor_CostReport.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_EProjectItem_Editor_EProject", Storage="_Editor_PM", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_PM - { - get - { - return this._Editor_PM; - } - set - { - this._Editor_PM.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Editor_EProject", Storage="_Editor_FCRLog", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_FCRLog - { - get - { - return this._Editor_FCRLog; - } - set - { - this._Editor_FCRLog.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_LessonsLearned_Editor_EProject", Storage="_Editor_LessonsLearned", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_LessonsLearned - { - get - { - return this._Editor_LessonsLearned; - } - set - { - this._Editor_LessonsLearned.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Editor_EProject", Storage="_Editor_Punch", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch - { - get - { - return this._Editor_Punch; - } - set - { - this._Editor_Punch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Editor_EProject", Storage="_ManHours_Plan", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet ManHours_Plan - { - get - { - return this._ManHours_Plan; - } - set - { - this._ManHours_Plan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanDetail_Editor_EProject", Storage="_ManHours_PlanDetail", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet ManHours_PlanDetail - { - get - { - return this._ManHours_PlanDetail; - } - set - { - this._ManHours_PlanDetail.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_Editor_EProject", Storage="_ManHours_PlanManHours", ThisKey="EProjectId", OtherKey="EprojectId", DeleteRule="NO ACTION")] - public EntitySet ManHours_PlanManHours - { - get - { - return this._ManHours_PlanManHours; - } - set - { - this._ManHours_PlanManHours.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Resource_Plan_Editor_EProject", Storage="_Resource_Plan", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] - public EntitySet Resource_Plan - { - get - { - return this._Resource_Plan; - } - set - { - this._Resource_Plan.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_CM_HTD(Editor_CM_HTD entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_CM_HTD(Editor_CM_HTD entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_CostReport(Editor_CostReport entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_CostReport(Editor_CostReport entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_PM(Editor_PM entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_PM(Editor_PM entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_FCRLog(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_FCRLog(Editor_FCRLog entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_LessonsLearned(Editor_LessonsLearned entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_LessonsLearned(Editor_LessonsLearned entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_ManHours_PlanDetail(ManHours_PlanDetail entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_ManHours_PlanDetail(ManHours_PlanDetail entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - - private void attach_Resource_Plan(Resource_Plan entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = this; - } - - private void detach_Resource_Plan(Resource_Plan entity) - { - this.SendPropertyChanging(); - entity.Editor_EProject = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_FCRLog")] - public partial class Editor_FCRLog : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _FCRLogId; - - private string _EProjectId; - - private string _FCRNo; - - private string _DisciplineId; - - private string _DisciplineName; - - private string _CategoryId; - - private string _CategoryName; - - private string _Initiator; - - private string _InitiatorName; - - private string _CDIId; - - private string _CDIName; - - private System.Nullable _TDCRecDate; - - private System.Nullable _FCRIssueDate; - - private System.Nullable _ConReturnDate; - - private string _CostYorN; - - private System.Nullable _CostCNY; - - private string _SchYorN; - - private System.Nullable _SchDays; - - private string _Remark; - - private string _DesignReason; - - private EntityRef _Base_Const; - - private EntityRef _CDI; - - private EntityRef _Discipline; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnFCRLogIdChanging(string value); - partial void OnFCRLogIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnFCRNoChanging(string value); - partial void OnFCRNoChanged(); - partial void OnDisciplineIdChanging(string value); - partial void OnDisciplineIdChanged(); - partial void OnDisciplineNameChanging(string value); - partial void OnDisciplineNameChanged(); - partial void OnCategoryIdChanging(string value); - partial void OnCategoryIdChanged(); - partial void OnCategoryNameChanging(string value); - partial void OnCategoryNameChanged(); - partial void OnInitiatorChanging(string value); - partial void OnInitiatorChanged(); - partial void OnInitiatorNameChanging(string value); - partial void OnInitiatorNameChanged(); - partial void OnCDIIdChanging(string value); - partial void OnCDIIdChanged(); - partial void OnCDINameChanging(string value); - partial void OnCDINameChanged(); - partial void OnTDCRecDateChanging(System.Nullable value); - partial void OnTDCRecDateChanged(); - partial void OnFCRIssueDateChanging(System.Nullable value); - partial void OnFCRIssueDateChanged(); - partial void OnConReturnDateChanging(System.Nullable value); - partial void OnConReturnDateChanged(); - partial void OnCostYorNChanging(string value); - partial void OnCostYorNChanged(); - partial void OnCostCNYChanging(System.Nullable value); - partial void OnCostCNYChanged(); - partial void OnSchYorNChanging(string value); - partial void OnSchYorNChanged(); - partial void OnSchDaysChanging(System.Nullable value); - partial void OnSchDaysChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnDesignReasonChanging(string value); - partial void OnDesignReasonChanged(); - #endregion - - public Editor_FCRLog() - { - this._Base_Const = default(EntityRef); - this._CDI = default(EntityRef); - this._Discipline = default(EntityRef); - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCRLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string FCRLogId - { - get - { - return this._FCRLogId; - } - set - { - if ((this._FCRLogId != value)) - { - this.OnFCRLogIdChanging(value); - this.SendPropertyChanging(); - this._FCRLogId = value; - this.SendPropertyChanged("FCRLogId"); - this.OnFCRLogIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCRNo", DbType="NVarChar(50)")] - public string FCRNo - { - get - { - return this._FCRNo; - } - set - { - if ((this._FCRNo != value)) - { - this.OnFCRNoChanging(value); - this.SendPropertyChanging(); - this._FCRNo = value; - this.SendPropertyChanged("FCRNo"); - this.OnFCRNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - if (this._Discipline.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDisciplineIdChanging(value); - this.SendPropertyChanging(); - this._DisciplineId = value; - this.SendPropertyChanged("DisciplineId"); - this.OnDisciplineIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineName", DbType="NVarChar(50)")] - public string DisciplineName - { - get - { - return this._DisciplineName; - } - set - { - if ((this._DisciplineName != value)) - { - this.OnDisciplineNameChanging(value); - this.SendPropertyChanging(); - this._DisciplineName = value; - this.SendPropertyChanged("DisciplineName"); - this.OnDisciplineNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="NVarChar(50)")] - public string CategoryId - { - get - { - return this._CategoryId; - } - set - { - if ((this._CategoryId != value)) - { - if (this._Base_Const.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCategoryIdChanging(value); - this.SendPropertyChanging(); - this._CategoryId = value; - this.SendPropertyChanged("CategoryId"); - this.OnCategoryIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryName", DbType="NVarChar(50)")] - public string CategoryName - { - get - { - return this._CategoryName; - } - set - { - if ((this._CategoryName != value)) - { - this.OnCategoryNameChanging(value); - this.SendPropertyChanging(); - this._CategoryName = value; - this.SendPropertyChanged("CategoryName"); - this.OnCategoryNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Initiator", DbType="NVarChar(50)")] - public string Initiator - { - get - { - return this._Initiator; - } - set - { - if ((this._Initiator != value)) - { - this.OnInitiatorChanging(value); - this.SendPropertyChanging(); - this._Initiator = value; - this.SendPropertyChanged("Initiator"); - this.OnInitiatorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitiatorName", DbType="NVarChar(50)")] - public string InitiatorName - { - get - { - return this._InitiatorName; - } - set - { - if ((this._InitiatorName != value)) - { - this.OnInitiatorNameChanging(value); - this.SendPropertyChanging(); - this._InitiatorName = value; - this.SendPropertyChanged("InitiatorName"); - this.OnInitiatorNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CDIId", DbType="NVarChar(50)")] - public string CDIId - { - get - { - return this._CDIId; - } - set - { - if ((this._CDIId != value)) - { - if (this._CDI.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCDIIdChanging(value); - this.SendPropertyChanging(); - this._CDIId = value; - this.SendPropertyChanged("CDIId"); - this.OnCDIIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CDIName", DbType="NVarChar(50)")] - public string CDIName - { - get - { - return this._CDIName; - } - set - { - if ((this._CDIName != value)) - { - this.OnCDINameChanging(value); - this.SendPropertyChanging(); - this._CDIName = value; - this.SendPropertyChanged("CDIName"); - this.OnCDINameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TDCRecDate", DbType="DateTime")] - public System.Nullable TDCRecDate - { - get - { - return this._TDCRecDate; - } - set - { - if ((this._TDCRecDate != value)) - { - this.OnTDCRecDateChanging(value); - this.SendPropertyChanging(); - this._TDCRecDate = value; - this.SendPropertyChanged("TDCRecDate"); - this.OnTDCRecDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCRIssueDate", DbType="DateTime")] - public System.Nullable FCRIssueDate - { - get - { - return this._FCRIssueDate; - } - set - { - if ((this._FCRIssueDate != value)) - { - this.OnFCRIssueDateChanging(value); - this.SendPropertyChanging(); - this._FCRIssueDate = value; - this.SendPropertyChanged("FCRIssueDate"); - this.OnFCRIssueDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConReturnDate", DbType="DateTime")] - public System.Nullable ConReturnDate - { - get - { - return this._ConReturnDate; - } - set - { - if ((this._ConReturnDate != value)) - { - this.OnConReturnDateChanging(value); - this.SendPropertyChanging(); - this._ConReturnDate = value; - this.SendPropertyChanged("ConReturnDate"); - this.OnConReturnDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostYorN", DbType="NVarChar(10)")] - public string CostYorN - { - get - { - return this._CostYorN; - } - set - { - if ((this._CostYorN != value)) - { - this.OnCostYorNChanging(value); - this.SendPropertyChanging(); - this._CostYorN = value; - this.SendPropertyChanged("CostYorN"); - this.OnCostYorNChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCNY", DbType="Decimal(18,2)")] - public System.Nullable CostCNY - { - get - { - return this._CostCNY; - } - set - { - if ((this._CostCNY != value)) - { - this.OnCostCNYChanging(value); - this.SendPropertyChanging(); - this._CostCNY = value; - this.SendPropertyChanged("CostCNY"); - this.OnCostCNYChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchYorN", DbType="NVarChar(10)")] - public string SchYorN - { - get - { - return this._SchYorN; - } - set - { - if ((this._SchYorN != value)) - { - this.OnSchYorNChanging(value); - this.SendPropertyChanging(); - this._SchYorN = value; - this.SendPropertyChanged("SchYorN"); - this.OnSchYorNChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchDays", DbType="Decimal(18,2)")] - public System.Nullable SchDays - { - get - { - return this._SchDays; - } - set - { - if ((this._SchDays != value)) - { - this.OnSchDaysChanging(value); - this.SendPropertyChanging(); - this._SchDays = value; - this.SendPropertyChanged("SchDays"); - this.OnSchDaysChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignReason", DbType="NVarChar(20)")] - public string DesignReason - { - get - { - return this._DesignReason; - } - set - { - if ((this._DesignReason != value)) - { - this.OnDesignReasonChanging(value); - this.SendPropertyChanging(); - this._DesignReason = value; - this.SendPropertyChanged("DesignReason"); - this.OnDesignReasonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const", Storage="_Base_Const", ThisKey="CategoryId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const Base_Const - { - get - { - return this._Base_Const.Entity; - } - set - { - Base_Const previousValue = this._Base_Const.Entity; - if (((previousValue != value) - || (this._Base_Const.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Const.Entity = null; - previousValue.Editor_FCRLog.Remove(this); - } - this._Base_Const.Entity = value; - if ((value != null)) - { - value.Editor_FCRLog.Add(this); - this._CategoryId = value.ConstId; - } - else - { - this._CategoryId = default(string); - } - this.SendPropertyChanged("Base_Const"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const1", Storage="_CDI", ThisKey="CDIId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const CDI - { - get - { - return this._CDI.Entity; - } - set - { - Base_Const previousValue = this._CDI.Entity; - if (((previousValue != value) - || (this._CDI.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._CDI.Entity = null; - previousValue.Const.Remove(this); - } - this._CDI.Entity = value; - if ((value != null)) - { - value.Const.Add(this); - this._CDIId = value.ConstId; - } - else - { - this._CDIId = default(string); - } - this.SendPropertyChanged("CDI"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const2", Storage="_Discipline", ThisKey="DisciplineId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const Discipline - { - get - { - return this._Discipline.Entity; - } - set - { - Base_Const previousValue = this._Discipline.Entity; - if (((previousValue != value) - || (this._Discipline.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Discipline.Entity = null; - previousValue.Editor_FCRLog_Base_Const2.Remove(this); - } - this._Discipline.Entity = value; - if ((value != null)) - { - value.Editor_FCRLog_Base_Const2.Add(this); - this._DisciplineId = value.ConstId; - } - else - { - this._DisciplineId = default(string); - } - this.SendPropertyChanged("Discipline"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_FCRLog.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_FCRLog.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_LessonsLearned")] - public partial class Editor_LessonsLearned : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LessonsLearnedId; - - private string _EProjectId; - - private string _Id; - - private string _JobNo; - - private string _PostBy; - - private System.Nullable _EntryDate; - - private string _AppliedDiscip; - - private string _Stage; - - private string _Keyword; - - private string _Description; - - private string _RootCause; - - private string _LessonLearned; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLessonsLearnedIdChanging(string value); - partial void OnLessonsLearnedIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnIdChanging(string value); - partial void OnIdChanged(); - partial void OnJobNoChanging(string value); - partial void OnJobNoChanged(); - partial void OnPostByChanging(string value); - partial void OnPostByChanged(); - partial void OnEntryDateChanging(System.Nullable value); - partial void OnEntryDateChanged(); - partial void OnAppliedDiscipChanging(string value); - partial void OnAppliedDiscipChanged(); - partial void OnStageChanging(string value); - partial void OnStageChanged(); - partial void OnKeywordChanging(string value); - partial void OnKeywordChanged(); - partial void OnDescriptionChanging(string value); - partial void OnDescriptionChanged(); - partial void OnRootCauseChanging(string value); - partial void OnRootCauseChanged(); - partial void OnLessonLearnedChanging(string value); - partial void OnLessonLearnedChanged(); - #endregion - - public Editor_LessonsLearned() - { - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LessonsLearnedId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LessonsLearnedId - { - get - { - return this._LessonsLearnedId; - } - set - { - if ((this._LessonsLearnedId != value)) - { - this.OnLessonsLearnedIdChanging(value); - this.SendPropertyChanging(); - this._LessonsLearnedId = value; - this.SendPropertyChanged("LessonsLearnedId"); - this.OnLessonsLearnedIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50)")] - public string Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this.OnIdChanging(value); - this.SendPropertyChanging(); - this._Id = value; - this.SendPropertyChanged("Id"); - this.OnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobNo", DbType="NVarChar(50)")] - public string JobNo - { - get - { - return this._JobNo; - } - set - { - if ((this._JobNo != value)) - { - this.OnJobNoChanging(value); - this.SendPropertyChanging(); - this._JobNo = value; - this.SendPropertyChanged("JobNo"); - this.OnJobNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostBy", DbType="NVarChar(50)")] - public string PostBy - { - get - { - return this._PostBy; - } - set - { - if ((this._PostBy != value)) - { - this.OnPostByChanging(value); - this.SendPropertyChanging(); - this._PostBy = value; - this.SendPropertyChanged("PostBy"); - this.OnPostByChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntryDate", DbType="DateTime")] - public System.Nullable EntryDate - { - get - { - return this._EntryDate; - } - set - { - if ((this._EntryDate != value)) - { - this.OnEntryDateChanging(value); - this.SendPropertyChanging(); - this._EntryDate = value; - this.SendPropertyChanged("EntryDate"); - this.OnEntryDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AppliedDiscip", DbType="NVarChar(100)")] - public string AppliedDiscip - { - get - { - return this._AppliedDiscip; - } - set - { - if ((this._AppliedDiscip != value)) - { - this.OnAppliedDiscipChanging(value); - this.SendPropertyChanging(); - this._AppliedDiscip = value; - this.SendPropertyChanged("AppliedDiscip"); - this.OnAppliedDiscipChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Stage", DbType="NVarChar(100)")] - public string Stage - { - get - { - return this._Stage; - } - set - { - if ((this._Stage != value)) - { - this.OnStageChanging(value); - this.SendPropertyChanging(); - this._Stage = value; - this.SendPropertyChanged("Stage"); - this.OnStageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Keyword", DbType="NVarChar(100)")] - public string Keyword - { - get - { - return this._Keyword; - } - set - { - if ((this._Keyword != value)) - { - this.OnKeywordChanging(value); - this.SendPropertyChanging(); - this._Keyword = value; - this.SendPropertyChanged("Keyword"); - this.OnKeywordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(1500)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this.OnDescriptionChanging(value); - this.SendPropertyChanging(); - this._Description = value; - this.SendPropertyChanged("Description"); - this.OnDescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootCause", DbType="NVarChar(1500)")] - public string RootCause - { - get - { - return this._RootCause; - } - set - { - if ((this._RootCause != value)) - { - this.OnRootCauseChanging(value); - this.SendPropertyChanging(); - this._RootCause = value; - this.SendPropertyChanged("RootCause"); - this.OnRootCauseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LessonLearned", DbType="NVarChar(1500)")] - public string LessonLearned - { - get - { - return this._LessonLearned; - } - set - { - if ((this._LessonLearned != value)) - { - this.OnLessonLearnedChanging(value); - this.SendPropertyChanging(); - this._LessonLearned = value; - this.SendPropertyChanged("LessonLearned"); - this.OnLessonLearnedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_LessonsLearned_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_LessonsLearned.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_LessonsLearned.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_PM")] - public partial class Editor_PM : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PMId; - - private string _EProjectId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private System.Nullable _SchStart; - - private System.Nullable _SchEnd; - - private System.Nullable _RevisedStart; - - private System.Nullable _RevisedEnd; - - private System.Nullable _ActualProgress; - - private System.Nullable _RevisedStartIsAct; - - private System.Nullable _RevisedEndIsAct; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPMIdChanging(string value); - partial void OnPMIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnDisciplinesWBSCodeChanging(string value); - partial void OnDisciplinesWBSCodeChanged(); - partial void OnDisciplinesWBSNameChanging(string value); - partial void OnDisciplinesWBSNameChanged(); - partial void OnWBSChanging(string value); - partial void OnWBSChanged(); - partial void OnSchStartChanging(System.Nullable value); - partial void OnSchStartChanged(); - partial void OnSchEndChanging(System.Nullable value); - partial void OnSchEndChanged(); - partial void OnRevisedStartChanging(System.Nullable value); - partial void OnRevisedStartChanged(); - partial void OnRevisedEndChanging(System.Nullable value); - partial void OnRevisedEndChanged(); - partial void OnActualProgressChanging(System.Nullable value); - partial void OnActualProgressChanged(); - partial void OnRevisedStartIsActChanging(System.Nullable value); - partial void OnRevisedStartIsActChanged(); - partial void OnRevisedEndIsActChanging(System.Nullable value); - partial void OnRevisedEndIsActChanged(); - #endregion - - public Editor_PM() - { - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PMId - { - get - { - return this._PMId; - } - set - { - if ((this._PMId != value)) - { - this.OnPMIdChanging(value); - this.SendPropertyChanging(); - this._PMId = value; - this.SendPropertyChanged("PMId"); - this.OnPMIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this.OnDisciplinesWBSCodeChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSCode = value; - this.SendPropertyChanged("DisciplinesWBSCode"); - this.OnDisciplinesWBSCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this.OnDisciplinesWBSNameChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSName = value; - this.SendPropertyChanged("DisciplinesWBSName"); - this.OnDisciplinesWBSNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this.OnWBSChanging(value); - this.SendPropertyChanging(); - this._WBS = value; - this.SendPropertyChanged("WBS"); - this.OnWBSChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchStart", DbType="DateTime")] - public System.Nullable SchStart - { - get - { - return this._SchStart; - } - set - { - if ((this._SchStart != value)) - { - this.OnSchStartChanging(value); - this.SendPropertyChanging(); - this._SchStart = value; - this.SendPropertyChanged("SchStart"); - this.OnSchStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchEnd", DbType="DateTime")] - public System.Nullable SchEnd - { - get - { - return this._SchEnd; - } - set - { - if ((this._SchEnd != value)) - { - this.OnSchEndChanging(value); - this.SendPropertyChanging(); - this._SchEnd = value; - this.SendPropertyChanged("SchEnd"); - this.OnSchEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStart", DbType="DateTime")] - public System.Nullable RevisedStart - { - get - { - return this._RevisedStart; - } - set - { - if ((this._RevisedStart != value)) - { - this.OnRevisedStartChanging(value); - this.SendPropertyChanging(); - this._RevisedStart = value; - this.SendPropertyChanged("RevisedStart"); - this.OnRevisedStartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEnd", DbType="DateTime")] - public System.Nullable RevisedEnd - { - get - { - return this._RevisedEnd; - } - set - { - if ((this._RevisedEnd != value)) - { - this.OnRevisedEndChanging(value); - this.SendPropertyChanging(); - this._RevisedEnd = value; - this.SendPropertyChanged("RevisedEnd"); - this.OnRevisedEndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualProgress", DbType="Decimal(18,2)")] - public System.Nullable ActualProgress - { - get - { - return this._ActualProgress; - } - set - { - if ((this._ActualProgress != value)) - { - this.OnActualProgressChanging(value); - this.SendPropertyChanging(); - this._ActualProgress = value; - this.SendPropertyChanged("ActualProgress"); - this.OnActualProgressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStartIsAct", DbType="Bit")] - public System.Nullable RevisedStartIsAct - { - get - { - return this._RevisedStartIsAct; - } - set - { - if ((this._RevisedStartIsAct != value)) - { - this.OnRevisedStartIsActChanging(value); - this.SendPropertyChanging(); - this._RevisedStartIsAct = value; - this.SendPropertyChanged("RevisedStartIsAct"); - this.OnRevisedStartIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEndIsAct", DbType="Bit")] - public System.Nullable RevisedEndIsAct - { - get - { - return this._RevisedEndIsAct; - } - set - { - if ((this._RevisedEndIsAct != value)) - { - this.OnRevisedEndIsActChanging(value); - this.SendPropertyChanging(); - this._RevisedEndIsAct = value; - this.SendPropertyChanged("RevisedEndIsAct"); - this.OnRevisedEndIsActChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_EProjectItem_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_PM.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_PM.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_Punch")] - public partial class Editor_Punch : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PunchId; - - private string _EProjectId; - - private string _DisciplineId; - - private string _DisciplineName; - - private string _ClassId; - - private string _ClassName; - - private string _TagNo; - - private string _RespUnitPerson; - - private string _ResiedById; - - private string _ResiedByName; - - private System.Nullable _PlanedFinishDate; - - private string _CTECheckerId; - - private string _CTECheckerName; - - private System.Nullable _CTECheckDate; - - private string _OwnerCheckerId; - - private string _OwnerCheckerName; - - private System.Nullable _OwnerCheckDate; - - private string _Description; - - private string _Remark; - - private string _Area; - - private string _ActionType; - - private string _BYC_Person; - - private string _InitiatedByName; - - private System.Nullable _InitiatedByDate; - - private EntityRef _Base_Const; - - private EntityRef _Class; - - private EntityRef _Editor_EProject; - - private EntityRef _Sys_User; - - private EntityRef _CTEChecker; - - private EntityRef _OwnerChecker; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPunchIdChanging(string value); - partial void OnPunchIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnDisciplineIdChanging(string value); - partial void OnDisciplineIdChanged(); - partial void OnDisciplineNameChanging(string value); - partial void OnDisciplineNameChanged(); - partial void OnClassIdChanging(string value); - partial void OnClassIdChanged(); - partial void OnClassNameChanging(string value); - partial void OnClassNameChanged(); - partial void OnTagNoChanging(string value); - partial void OnTagNoChanged(); - partial void OnRespUnitPersonChanging(string value); - partial void OnRespUnitPersonChanged(); - partial void OnResiedByIdChanging(string value); - partial void OnResiedByIdChanged(); - partial void OnResiedByNameChanging(string value); - partial void OnResiedByNameChanged(); - partial void OnPlanedFinishDateChanging(System.Nullable value); - partial void OnPlanedFinishDateChanged(); - partial void OnCTECheckerIdChanging(string value); - partial void OnCTECheckerIdChanged(); - partial void OnCTECheckerNameChanging(string value); - partial void OnCTECheckerNameChanged(); - partial void OnCTECheckDateChanging(System.Nullable value); - partial void OnCTECheckDateChanged(); - partial void OnOwnerCheckerIdChanging(string value); - partial void OnOwnerCheckerIdChanged(); - partial void OnOwnerCheckerNameChanging(string value); - partial void OnOwnerCheckerNameChanged(); - partial void OnOwnerCheckDateChanging(System.Nullable value); - partial void OnOwnerCheckDateChanged(); - partial void OnDescriptionChanging(string value); - partial void OnDescriptionChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnAreaChanging(string value); - partial void OnAreaChanged(); - partial void OnActionTypeChanging(string value); - partial void OnActionTypeChanged(); - partial void OnBYC_PersonChanging(string value); - partial void OnBYC_PersonChanged(); - partial void OnInitiatedByNameChanging(string value); - partial void OnInitiatedByNameChanged(); - partial void OnInitiatedByDateChanging(System.Nullable value); - partial void OnInitiatedByDateChanged(); - #endregion - - public Editor_Punch() - { - this._Base_Const = default(EntityRef); - this._Class = default(EntityRef); - this._Editor_EProject = default(EntityRef); - this._Sys_User = default(EntityRef); - this._CTEChecker = default(EntityRef); - this._OwnerChecker = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunchId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PunchId - { - get - { - return this._PunchId; - } - set - { - if ((this._PunchId != value)) - { - this.OnPunchIdChanging(value); - this.SendPropertyChanging(); - this._PunchId = value; - this.SendPropertyChanged("PunchId"); - this.OnPunchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - if (this._Base_Const.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDisciplineIdChanging(value); - this.SendPropertyChanging(); - this._DisciplineId = value; - this.SendPropertyChanged("DisciplineId"); - this.OnDisciplineIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineName", DbType="NVarChar(50)")] - public string DisciplineName - { - get - { - return this._DisciplineName; - } - set - { - if ((this._DisciplineName != value)) - { - this.OnDisciplineNameChanging(value); - this.SendPropertyChanging(); - this._DisciplineName = value; - this.SendPropertyChanged("DisciplineName"); - this.OnDisciplineNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassId", DbType="NVarChar(50)")] - public string ClassId - { - get - { - return this._ClassId; - } - set - { - if ((this._ClassId != value)) - { - if (this._Class.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnClassIdChanging(value); - this.SendPropertyChanging(); - this._ClassId = value; - this.SendPropertyChanged("ClassId"); - this.OnClassIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(50)")] - public string ClassName - { - get - { - return this._ClassName; - } - set - { - if ((this._ClassName != value)) - { - this.OnClassNameChanging(value); - this.SendPropertyChanging(); - this._ClassName = value; - this.SendPropertyChanged("ClassName"); - this.OnClassNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TagNo", DbType="NVarChar(50)")] - public string TagNo - { - get - { - return this._TagNo; - } - set - { - if ((this._TagNo != value)) - { - this.OnTagNoChanging(value); - this.SendPropertyChanging(); - this._TagNo = value; - this.SendPropertyChanged("TagNo"); - this.OnTagNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespUnitPerson", DbType="NVarChar(50)")] - public string RespUnitPerson - { - get - { - return this._RespUnitPerson; - } - set - { - if ((this._RespUnitPerson != value)) - { - this.OnRespUnitPersonChanging(value); - this.SendPropertyChanging(); - this._RespUnitPerson = value; - this.SendPropertyChanged("RespUnitPerson"); - this.OnRespUnitPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResiedById", DbType="NVarChar(50)")] - public string ResiedById - { - get - { - return this._ResiedById; - } - set - { - if ((this._ResiedById != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnResiedByIdChanging(value); - this.SendPropertyChanging(); - this._ResiedById = value; - this.SendPropertyChanged("ResiedById"); - this.OnResiedByIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResiedByName", DbType="NVarChar(50)")] - public string ResiedByName - { - get - { - return this._ResiedByName; - } - set - { - if ((this._ResiedByName != value)) - { - this.OnResiedByNameChanging(value); - this.SendPropertyChanging(); - this._ResiedByName = value; - this.SendPropertyChanged("ResiedByName"); - this.OnResiedByNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanedFinishDate", DbType="DateTime")] - public System.Nullable PlanedFinishDate - { - get - { - return this._PlanedFinishDate; - } - set - { - if ((this._PlanedFinishDate != value)) - { - this.OnPlanedFinishDateChanging(value); - this.SendPropertyChanging(); - this._PlanedFinishDate = value; - this.SendPropertyChanged("PlanedFinishDate"); - this.OnPlanedFinishDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckerId", DbType="NVarChar(50)")] - public string CTECheckerId - { - get - { - return this._CTECheckerId; - } - set - { - if ((this._CTECheckerId != value)) - { - if (this._CTEChecker.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCTECheckerIdChanging(value); - this.SendPropertyChanging(); - this._CTECheckerId = value; - this.SendPropertyChanged("CTECheckerId"); - this.OnCTECheckerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckerName", DbType="NVarChar(50)")] - public string CTECheckerName - { - get - { - return this._CTECheckerName; - } - set - { - if ((this._CTECheckerName != value)) - { - this.OnCTECheckerNameChanging(value); - this.SendPropertyChanging(); - this._CTECheckerName = value; - this.SendPropertyChanged("CTECheckerName"); - this.OnCTECheckerNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckDate", DbType="DateTime")] - public System.Nullable CTECheckDate - { - get - { - return this._CTECheckDate; - } - set - { - if ((this._CTECheckDate != value)) - { - this.OnCTECheckDateChanging(value); - this.SendPropertyChanging(); - this._CTECheckDate = value; - this.SendPropertyChanged("CTECheckDate"); - this.OnCTECheckDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckerId", DbType="NVarChar(50)")] - public string OwnerCheckerId - { - get - { - return this._OwnerCheckerId; - } - set - { - if ((this._OwnerCheckerId != value)) - { - if (this._OwnerChecker.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnOwnerCheckerIdChanging(value); - this.SendPropertyChanging(); - this._OwnerCheckerId = value; - this.SendPropertyChanged("OwnerCheckerId"); - this.OnOwnerCheckerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckerName", DbType="NVarChar(50)")] - public string OwnerCheckerName - { - get - { - return this._OwnerCheckerName; - } - set - { - if ((this._OwnerCheckerName != value)) - { - this.OnOwnerCheckerNameChanging(value); - this.SendPropertyChanging(); - this._OwnerCheckerName = value; - this.SendPropertyChanged("OwnerCheckerName"); - this.OnOwnerCheckerNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckDate", DbType="DateTime")] - public System.Nullable OwnerCheckDate - { - get - { - return this._OwnerCheckDate; - } - set - { - if ((this._OwnerCheckDate != value)) - { - this.OnOwnerCheckDateChanging(value); - this.SendPropertyChanging(); - this._OwnerCheckDate = value; - this.SendPropertyChanged("OwnerCheckDate"); - this.OnOwnerCheckDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(1500)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this.OnDescriptionChanging(value); - this.SendPropertyChanging(); - this._Description = value; - this.SendPropertyChanged("Description"); - this.OnDescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Area", DbType="NVarChar(50)")] - public string Area - { - get - { - return this._Area; - } - set - { - if ((this._Area != value)) - { - this.OnAreaChanging(value); - this.SendPropertyChanging(); - this._Area = value; - this.SendPropertyChanged("Area"); - this.OnAreaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActionType", DbType="NVarChar(50)")] - public string ActionType - { - get - { - return this._ActionType; - } - set - { - if ((this._ActionType != value)) - { - this.OnActionTypeChanging(value); - this.SendPropertyChanging(); - this._ActionType = value; - this.SendPropertyChanged("ActionType"); - this.OnActionTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BYC_Person", DbType="NVarChar(50)")] - public string BYC_Person - { - get - { - return this._BYC_Person; - } - set - { - if ((this._BYC_Person != value)) - { - this.OnBYC_PersonChanging(value); - this.SendPropertyChanging(); - this._BYC_Person = value; - this.SendPropertyChanged("BYC_Person"); - this.OnBYC_PersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitiatedByName", DbType="NVarChar(50)")] - public string InitiatedByName - { - get - { - return this._InitiatedByName; - } - set - { - if ((this._InitiatedByName != value)) - { - this.OnInitiatedByNameChanging(value); - this.SendPropertyChanging(); - this._InitiatedByName = value; - this.SendPropertyChanged("InitiatedByName"); - this.OnInitiatedByNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitiatedByDate", DbType="DateTime")] - public System.Nullable InitiatedByDate - { - get - { - return this._InitiatedByDate; - } - set - { - if ((this._InitiatedByDate != value)) - { - this.OnInitiatedByDateChanging(value); - this.SendPropertyChanging(); - this._InitiatedByDate = value; - this.SendPropertyChanged("InitiatedByDate"); - this.OnInitiatedByDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const", Storage="_Base_Const", ThisKey="DisciplineId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const Base_Const - { - get - { - return this._Base_Const.Entity; - } - set - { - Base_Const previousValue = this._Base_Const.Entity; - if (((previousValue != value) - || (this._Base_Const.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Const.Entity = null; - previousValue.Editor_Punch.Remove(this); - } - this._Base_Const.Entity = value; - if ((value != null)) - { - value.Editor_Punch.Add(this); - this._DisciplineId = value.ConstId; - } - else - { - this._DisciplineId = default(string); - } - this.SendPropertyChanged("Base_Const"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const1", Storage="_Class", ThisKey="ClassId", OtherKey="ConstId", IsForeignKey=true)] - public Base_Const Class - { - get - { - return this._Class.Entity; - } - set - { - Base_Const previousValue = this._Class.Entity; - if (((previousValue != value) - || (this._Class.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Class.Entity = null; - previousValue.Editor_Punch_Base_Const1.Remove(this); - } - this._Class.Entity = value; - if ((value != null)) - { - value.Editor_Punch_Base_Const1.Add(this); - this._ClassId = value.ConstId; - } - else - { - this._ClassId = default(string); - } - this.SendPropertyChanged("Class"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Editor_Punch.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Editor_Punch.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User", Storage="_Sys_User", ThisKey="ResiedById", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Editor_Punch.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Editor_Punch.Add(this); - this._ResiedById = value.UserId; - } - else - { - this._ResiedById = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User1", Storage="_CTEChecker", ThisKey="CTECheckerId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User CTEChecker - { - get - { - return this._CTEChecker.Entity; - } - set - { - Sys_User previousValue = this._CTEChecker.Entity; - if (((previousValue != value) - || (this._CTEChecker.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._CTEChecker.Entity = null; - previousValue.Editor_Punch_Sys_User1.Remove(this); - } - this._CTEChecker.Entity = value; - if ((value != null)) - { - value.Editor_Punch_Sys_User1.Add(this); - this._CTECheckerId = value.UserId; - } - else - { - this._CTECheckerId = default(string); - } - this.SendPropertyChanged("CTEChecker"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User2", Storage="_OwnerChecker", ThisKey="OwnerCheckerId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User OwnerChecker - { - get - { - return this._OwnerChecker.Entity; - } - set - { - Sys_User previousValue = this._OwnerChecker.Entity; - if (((previousValue != value) - || (this._OwnerChecker.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._OwnerChecker.Entity = null; - previousValue.Editor_Punch_Sys_User2.Remove(this); - } - this._OwnerChecker.Entity = value; - if ((value != null)) - { - value.Editor_Punch_Sys_User2.Add(this); - this._OwnerCheckerId = value.UserId; - } - else - { - this._OwnerCheckerId = default(string); - } - this.SendPropertyChanged("OwnerChecker"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_TDC")] - public partial class Editor_TDC : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TDCId; - - private string _EProjectId; - - private string _Type; - - private string _Disc; - - private string _A1Pages; - - private System.Nullable _ReceiveHC; - - private System.Nullable _ReceivePDF; - - private System.Nullable _ReceiveNative; - - private System.Nullable _PublishPDF; - - private System.Nullable _PublishNative; - - private System.Nullable _ToPlant; - - private System.Nullable _ToCHA; - - private string _Remarks; - - private System.Nullable _InputDate; - - private System.Nullable _IsSync; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTDCIdChanging(string value); - partial void OnTDCIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnDiscChanging(string value); - partial void OnDiscChanged(); - partial void OnA1PagesChanging(string value); - partial void OnA1PagesChanged(); - partial void OnReceiveHCChanging(System.Nullable value); - partial void OnReceiveHCChanged(); - partial void OnReceivePDFChanging(System.Nullable value); - partial void OnReceivePDFChanged(); - partial void OnReceiveNativeChanging(System.Nullable value); - partial void OnReceiveNativeChanged(); - partial void OnPublishPDFChanging(System.Nullable value); - partial void OnPublishPDFChanged(); - partial void OnPublishNativeChanging(System.Nullable value); - partial void OnPublishNativeChanged(); - partial void OnToPlantChanging(System.Nullable value); - partial void OnToPlantChanged(); - partial void OnToCHAChanging(System.Nullable value); - partial void OnToCHAChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnInputDateChanging(System.Nullable value); - partial void OnInputDateChanged(); - partial void OnIsSyncChanging(System.Nullable value); - partial void OnIsSyncChanged(); - #endregion - - public Editor_TDC() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TDCId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TDCId - { - get - { - return this._TDCId; - } - set - { - if ((this._TDCId != value)) - { - this.OnTDCIdChanging(value); - this.SendPropertyChanging(); - this._TDCId = value; - this.SendPropertyChanged("TDCId"); - this.OnTDCIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Disc", DbType="NVarChar(50)")] - public string Disc - { - get - { - return this._Disc; - } - set - { - if ((this._Disc != value)) - { - this.OnDiscChanging(value); - this.SendPropertyChanging(); - this._Disc = value; - this.SendPropertyChanged("Disc"); - this.OnDiscChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_A1Pages", DbType="NVarChar(50)")] - public string A1Pages - { - get - { - return this._A1Pages; - } - set - { - if ((this._A1Pages != value)) - { - this.OnA1PagesChanging(value); - this.SendPropertyChanging(); - this._A1Pages = value; - this.SendPropertyChanged("A1Pages"); - this.OnA1PagesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveHC", DbType="DateTime")] - public System.Nullable ReceiveHC - { - get - { - return this._ReceiveHC; - } - set - { - if ((this._ReceiveHC != value)) - { - this.OnReceiveHCChanging(value); - this.SendPropertyChanging(); - this._ReceiveHC = value; - this.SendPropertyChanged("ReceiveHC"); - this.OnReceiveHCChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivePDF", DbType="DateTime")] - public System.Nullable ReceivePDF - { - get - { - return this._ReceivePDF; - } - set - { - if ((this._ReceivePDF != value)) - { - this.OnReceivePDFChanging(value); - this.SendPropertyChanging(); - this._ReceivePDF = value; - this.SendPropertyChanged("ReceivePDF"); - this.OnReceivePDFChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveNative", DbType="DateTime")] - public System.Nullable ReceiveNative - { - get - { - return this._ReceiveNative; - } - set - { - if ((this._ReceiveNative != value)) - { - this.OnReceiveNativeChanging(value); - this.SendPropertyChanging(); - this._ReceiveNative = value; - this.SendPropertyChanged("ReceiveNative"); - this.OnReceiveNativeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PublishPDF", DbType="DateTime")] - public System.Nullable PublishPDF - { - get - { - return this._PublishPDF; - } - set - { - if ((this._PublishPDF != value)) - { - this.OnPublishPDFChanging(value); - this.SendPropertyChanging(); - this._PublishPDF = value; - this.SendPropertyChanged("PublishPDF"); - this.OnPublishPDFChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PublishNative", DbType="DateTime")] - public System.Nullable PublishNative - { - get - { - return this._PublishNative; - } - set - { - if ((this._PublishNative != value)) - { - this.OnPublishNativeChanging(value); - this.SendPropertyChanging(); - this._PublishNative = value; - this.SendPropertyChanged("PublishNative"); - this.OnPublishNativeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToPlant", DbType="DateTime")] - public System.Nullable ToPlant - { - get - { - return this._ToPlant; - } - set - { - if ((this._ToPlant != value)) - { - this.OnToPlantChanging(value); - this.SendPropertyChanging(); - this._ToPlant = value; - this.SendPropertyChanged("ToPlant"); - this.OnToPlantChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToCHA", DbType="DateTime")] - public System.Nullable ToCHA - { - get - { - return this._ToCHA; - } - set - { - if ((this._ToCHA != value)) - { - this.OnToCHAChanging(value); - this.SendPropertyChanging(); - this._ToCHA = value; - this.SendPropertyChanged("ToCHA"); - this.OnToCHAChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(500)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InputDate", DbType="DateTime")] - public System.Nullable InputDate - { - get - { - return this._InputDate; - } - set - { - if ((this._InputDate != value)) - { - this.OnInputDateChanging(value); - this.SendPropertyChanging(); - this._InputDate = value; - this.SendPropertyChanged("InputDate"); - this.OnInputDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSync", DbType="Bit")] - public System.Nullable IsSync - { - get - { - return this._IsSync; - } - set - { - if ((this._IsSync != value)) - { - this.OnIsSyncChanging(value); - this.SendPropertyChanging(); - this._IsSync = value; - this.SendPropertyChanged("IsSync"); - this.OnIsSyncChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Email_Params")] - public partial class Email_Params : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ID; - - private string _MailClassName; - - private string _MailClassID; - - private string _CreateName; - - private System.DateTime _CreateTime; - - private string _UpdateName; - - private System.Nullable _UpdateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIDChanging(string value); - partial void OnIDChanged(); - partial void OnMailClassNameChanging(string value); - partial void OnMailClassNameChanged(); - partial void OnMailClassIDChanging(string value); - partial void OnMailClassIDChanged(); - partial void OnCreateNameChanging(string value); - partial void OnCreateNameChanged(); - partial void OnCreateTimeChanging(System.DateTime value); - partial void OnCreateTimeChanged(); - partial void OnUpdateNameChanging(string value); - partial void OnUpdateNameChanged(); - partial void OnUpdateTimeChanging(System.Nullable value); - partial void OnUpdateTimeChanged(); - #endregion - - public Email_Params() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this.OnIDChanging(value); - this.SendPropertyChanging(); - this._ID = value; - this.SendPropertyChanged("ID"); - this.OnIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MailClassName", DbType="VarChar(100)")] - public string MailClassName - { - get - { - return this._MailClassName; - } - set - { - if ((this._MailClassName != value)) - { - this.OnMailClassNameChanging(value); - this.SendPropertyChanging(); - this._MailClassName = value; - this.SendPropertyChanged("MailClassName"); - this.OnMailClassNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MailClassID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string MailClassID - { - get - { - return this._MailClassID; - } - set - { - if ((this._MailClassID != value)) - { - this.OnMailClassIDChanging(value); - this.SendPropertyChanging(); - this._MailClassID = value; - this.SendPropertyChanged("MailClassID"); - this.OnMailClassIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateName", DbType="VarChar(100) NOT NULL", CanBeNull=false)] - public string CreateName - { - get - { - return this._CreateName; - } - set - { - if ((this._CreateName != value)) - { - this.OnCreateNameChanging(value); - this.SendPropertyChanging(); - this._CreateName = value; - this.SendPropertyChanged("CreateName"); - this.OnCreateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime NOT NULL")] - public System.DateTime CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateName", DbType="NChar(10)")] - public string UpdateName - { - get - { - return this._UpdateName; - } - set - { - if ((this._UpdateName != value)) - { - this.OnUpdateNameChanging(value); - this.SendPropertyChanging(); - this._UpdateName = value; - this.SendPropertyChanged("UpdateName"); - this.OnUpdateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTime", DbType="DateTime")] - public System.Nullable UpdateTime - { - get - { - return this._UpdateTime; - } - set - { - if ((this._UpdateTime != value)) - { - this.OnUpdateTimeChanging(value); - this.SendPropertyChanging(); - this._UpdateTime = value; - this.SendPropertyChanged("UpdateTime"); - this.OnUpdateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Email_Pop")] - public partial class Email_Pop : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EmailID; - - private string _EmailFwq; - - private string _EmailDk; - - private string _EmailYx; - - private string _EmailUsername; - - private string _EmailPass; - - private string _CreateTime; - - private string _CreateName; - - private string _UpdateTime; - - private string _UpdateName; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEmailIDChanging(string value); - partial void OnEmailIDChanged(); - partial void OnEmailFwqChanging(string value); - partial void OnEmailFwqChanged(); - partial void OnEmailDkChanging(string value); - partial void OnEmailDkChanged(); - partial void OnEmailYxChanging(string value); - partial void OnEmailYxChanged(); - partial void OnEmailUsernameChanging(string value); - partial void OnEmailUsernameChanged(); - partial void OnEmailPassChanging(string value); - partial void OnEmailPassChanged(); - partial void OnCreateTimeChanging(string value); - partial void OnCreateTimeChanged(); - partial void OnCreateNameChanging(string value); - partial void OnCreateNameChanged(); - partial void OnUpdateTimeChanging(string value); - partial void OnUpdateTimeChanged(); - partial void OnUpdateNameChanging(string value); - partial void OnUpdateNameChanged(); - #endregion - - public Email_Pop() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EmailID - { - get - { - return this._EmailID; - } - set - { - if ((this._EmailID != value)) - { - this.OnEmailIDChanging(value); - this.SendPropertyChanging(); - this._EmailID = value; - this.SendPropertyChanged("EmailID"); - this.OnEmailIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailFwq", DbType="VarChar(50)")] - public string EmailFwq - { - get - { - return this._EmailFwq; - } - set - { - if ((this._EmailFwq != value)) - { - this.OnEmailFwqChanging(value); - this.SendPropertyChanging(); - this._EmailFwq = value; - this.SendPropertyChanged("EmailFwq"); - this.OnEmailFwqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailDk", DbType="VarChar(50)")] - public string EmailDk - { - get - { - return this._EmailDk; - } - set - { - if ((this._EmailDk != value)) - { - this.OnEmailDkChanging(value); - this.SendPropertyChanging(); - this._EmailDk = value; - this.SendPropertyChanged("EmailDk"); - this.OnEmailDkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailYx", DbType="VarChar(50)")] - public string EmailYx - { - get - { - return this._EmailYx; - } - set - { - if ((this._EmailYx != value)) - { - this.OnEmailYxChanging(value); - this.SendPropertyChanging(); - this._EmailYx = value; - this.SendPropertyChanged("EmailYx"); - this.OnEmailYxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailUsername", DbType="VarChar(50)")] - public string EmailUsername - { - get - { - return this._EmailUsername; - } - set - { - if ((this._EmailUsername != value)) - { - this.OnEmailUsernameChanging(value); - this.SendPropertyChanging(); - this._EmailUsername = value; - this.SendPropertyChanged("EmailUsername"); - this.OnEmailUsernameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailPass", DbType="VarChar(50)")] - public string EmailPass - { - get - { - return this._EmailPass; - } - set - { - if ((this._EmailPass != value)) - { - this.OnEmailPassChanging(value); - this.SendPropertyChanging(); - this._EmailPass = value; - this.SendPropertyChanged("EmailPass"); - this.OnEmailPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="VarChar(50)")] - public string CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateName", DbType="VarChar(50)")] - public string CreateName - { - get - { - return this._CreateName; - } - set - { - if ((this._CreateName != value)) - { - this.OnCreateNameChanging(value); - this.SendPropertyChanging(); - this._CreateName = value; - this.SendPropertyChanged("CreateName"); - this.OnCreateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTime", DbType="VarChar(50)")] - public string UpdateTime - { - get - { - return this._UpdateTime; - } - set - { - if ((this._UpdateTime != value)) - { - this.OnUpdateTimeChanging(value); - this.SendPropertyChanging(); - this._UpdateTime = value; - this.SendPropertyChanged("UpdateTime"); - this.OnUpdateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateName", DbType="VarChar(50)")] - public string UpdateName - { - get - { - return this._UpdateName; - } - set - { - if ((this._UpdateName != value)) - { - this.OnUpdateNameChanging(value); - this.SendPropertyChanging(); - this._UpdateName = value; - this.SendPropertyChanged("UpdateName"); - this.OnUpdateNameChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Email_SendLog")] - public partial class Email_SendLog : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EmailId; - - private string _EmailTile; - - private string _EmailContent; - - private string _EmailURL; - - private string _EmailName; - - private string _EmailStatus; - - private System.Nullable _CreateTime; - - private string _CreateName; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEmailIdChanging(string value); - partial void OnEmailIdChanged(); - partial void OnEmailTileChanging(string value); - partial void OnEmailTileChanged(); - partial void OnEmailContentChanging(string value); - partial void OnEmailContentChanged(); - partial void OnEmailURLChanging(string value); - partial void OnEmailURLChanged(); - partial void OnEmailNameChanging(string value); - partial void OnEmailNameChanged(); - partial void OnEmailStatusChanging(string value); - partial void OnEmailStatusChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - partial void OnCreateNameChanging(string value); - partial void OnCreateNameChanged(); - #endregion - - public Email_SendLog() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EmailId - { - get - { - return this._EmailId; - } - set - { - if ((this._EmailId != value)) - { - this.OnEmailIdChanging(value); - this.SendPropertyChanging(); - this._EmailId = value; - this.SendPropertyChanged("EmailId"); - this.OnEmailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailTile", DbType="VarChar(255)")] - public string EmailTile - { - get - { - return this._EmailTile; - } - set - { - if ((this._EmailTile != value)) - { - this.OnEmailTileChanging(value); - this.SendPropertyChanging(); - this._EmailTile = value; - this.SendPropertyChanged("EmailTile"); - this.OnEmailTileChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailContent", DbType="Text", UpdateCheck=UpdateCheck.Never)] - public string EmailContent - { - get - { - return this._EmailContent; - } - set - { - if ((this._EmailContent != value)) - { - this.OnEmailContentChanging(value); - this.SendPropertyChanging(); - this._EmailContent = value; - this.SendPropertyChanged("EmailContent"); - this.OnEmailContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailURL", DbType="VarChar(50)")] - public string EmailURL - { - get - { - return this._EmailURL; - } - set - { - if ((this._EmailURL != value)) - { - this.OnEmailURLChanging(value); - this.SendPropertyChanging(); - this._EmailURL = value; - this.SendPropertyChanged("EmailURL"); - this.OnEmailURLChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailName", DbType="VarChar(50)")] - public string EmailName - { - get - { - return this._EmailName; - } - set - { - if ((this._EmailName != value)) - { - this.OnEmailNameChanging(value); - this.SendPropertyChanging(); - this._EmailName = value; - this.SendPropertyChanged("EmailName"); - this.OnEmailNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailStatus", DbType="VarChar(10)")] - public string EmailStatus - { - get - { - return this._EmailStatus; - } - set - { - if ((this._EmailStatus != value)) - { - this.OnEmailStatusChanging(value); - this.SendPropertyChanging(); - this._EmailStatus = value; - this.SendPropertyChanged("EmailStatus"); - this.OnEmailStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateName", DbType="VarChar(50)")] - public string CreateName - { - get - { - return this._CreateName; - } - set - { - if ((this._CreateName != value)) - { - this.OnCreateNameChanging(value); - this.SendPropertyChanging(); - this._CreateName = value; - this.SendPropertyChanged("CreateName"); - this.OnCreateNameChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Email_SendTemplate")] - public partial class Email_SendTemplate : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EmailId; - - private string _EmailParamsID; - - private string _EailTiaoJian; - - private System.Nullable _EmailUserYN; - - private string _EmailTitle; - - private string _EmailContext; - - private string _CreateName; - - private System.Nullable _CreateTime; - - private string _UpdateName; - - private System.Nullable _UpdateTime; - - private string _EmailDesc; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEmailIdChanging(string value); - partial void OnEmailIdChanged(); - partial void OnEmailParamsIDChanging(string value); - partial void OnEmailParamsIDChanged(); - partial void OnEailTiaoJianChanging(string value); - partial void OnEailTiaoJianChanged(); - partial void OnEmailUserYNChanging(System.Nullable value); - partial void OnEmailUserYNChanged(); - partial void OnEmailTitleChanging(string value); - partial void OnEmailTitleChanged(); - partial void OnEmailContextChanging(string value); - partial void OnEmailContextChanged(); - partial void OnCreateNameChanging(string value); - partial void OnCreateNameChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - partial void OnUpdateNameChanging(string value); - partial void OnUpdateNameChanged(); - partial void OnUpdateTimeChanging(System.Nullable value); - partial void OnUpdateTimeChanged(); - partial void OnEmailDescChanging(string value); - partial void OnEmailDescChanged(); - #endregion - - public Email_SendTemplate() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EmailId - { - get - { - return this._EmailId; - } - set - { - if ((this._EmailId != value)) - { - this.OnEmailIdChanging(value); - this.SendPropertyChanging(); - this._EmailId = value; - this.SendPropertyChanged("EmailId"); - this.OnEmailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailParamsID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string EmailParamsID - { - get - { - return this._EmailParamsID; - } - set - { - if ((this._EmailParamsID != value)) - { - this.OnEmailParamsIDChanging(value); - this.SendPropertyChanging(); - this._EmailParamsID = value; - this.SendPropertyChanged("EmailParamsID"); - this.OnEmailParamsIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EailTiaoJian", DbType="VarChar(500)")] - public string EailTiaoJian - { - get - { - return this._EailTiaoJian; - } - set - { - if ((this._EailTiaoJian != value)) - { - this.OnEailTiaoJianChanging(value); - this.SendPropertyChanging(); - this._EailTiaoJian = value; - this.SendPropertyChanged("EailTiaoJian"); - this.OnEailTiaoJianChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailUserYN", DbType="Int")] - public System.Nullable EmailUserYN - { - get - { - return this._EmailUserYN; - } - set - { - if ((this._EmailUserYN != value)) - { - this.OnEmailUserYNChanging(value); - this.SendPropertyChanging(); - this._EmailUserYN = value; - this.SendPropertyChanged("EmailUserYN"); - this.OnEmailUserYNChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailTitle", DbType="VarChar(500)")] - public string EmailTitle - { - get - { - return this._EmailTitle; - } - set - { - if ((this._EmailTitle != value)) - { - this.OnEmailTitleChanging(value); - this.SendPropertyChanging(); - this._EmailTitle = value; - this.SendPropertyChanged("EmailTitle"); - this.OnEmailTitleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailContext", DbType="Text", UpdateCheck=UpdateCheck.Never)] - public string EmailContext - { - get - { - return this._EmailContext; - } - set - { - if ((this._EmailContext != value)) - { - this.OnEmailContextChanging(value); - this.SendPropertyChanging(); - this._EmailContext = value; - this.SendPropertyChanged("EmailContext"); - this.OnEmailContextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateName", DbType="VarChar(500)")] - public string CreateName - { - get - { - return this._CreateName; - } - set - { - if ((this._CreateName != value)) - { - this.OnCreateNameChanging(value); - this.SendPropertyChanging(); - this._CreateName = value; - this.SendPropertyChanged("CreateName"); - this.OnCreateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateName", DbType="VarChar(500)")] - public string UpdateName - { - get - { - return this._UpdateName; - } - set - { - if ((this._UpdateName != value)) - { - this.OnUpdateNameChanging(value); - this.SendPropertyChanging(); - this._UpdateName = value; - this.SendPropertyChanged("UpdateName"); - this.OnUpdateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTime", DbType="DateTime")] - public System.Nullable UpdateTime - { - get - { - return this._UpdateTime; - } - set - { - if ((this._UpdateTime != value)) - { - this.OnUpdateTimeChanging(value); - this.SendPropertyChanging(); - this._UpdateTime = value; - this.SendPropertyChanged("UpdateTime"); - this.OnUpdateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailDesc", DbType="VarChar(500)")] - public string EmailDesc - { - get - { - return this._EmailDesc; - } - set - { - if ((this._EmailDesc != value)) - { - this.OnEmailDescChanging(value); - this.SendPropertyChanging(); - this._EmailDesc = value; - this.SendPropertyChanged("EmailDesc"); - this.OnEmailDescChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Email_ToPeople")] - public partial class Email_ToPeople : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EmID; - - private string _EmtempID; - - private string _EmuserID; - - private string _EmuserName; - - private string _EmuaerEmailAddress; - - private string _EMPeopleType; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEmIDChanging(string value); - partial void OnEmIDChanged(); - partial void OnEmtempIDChanging(string value); - partial void OnEmtempIDChanged(); - partial void OnEmuserIDChanging(string value); - partial void OnEmuserIDChanged(); - partial void OnEmuserNameChanging(string value); - partial void OnEmuserNameChanged(); - partial void OnEmuaerEmailAddressChanging(string value); - partial void OnEmuaerEmailAddressChanged(); - partial void OnEMPeopleTypeChanging(string value); - partial void OnEMPeopleTypeChanged(); - #endregion - - public Email_ToPeople() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EmID - { - get - { - return this._EmID; - } - set - { - if ((this._EmID != value)) - { - this.OnEmIDChanging(value); - this.SendPropertyChanging(); - this._EmID = value; - this.SendPropertyChanged("EmID"); - this.OnEmIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmtempID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string EmtempID - { - get - { - return this._EmtempID; - } - set - { - if ((this._EmtempID != value)) - { - this.OnEmtempIDChanging(value); - this.SendPropertyChanging(); - this._EmtempID = value; - this.SendPropertyChanged("EmtempID"); - this.OnEmtempIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmuserID", DbType="VarChar(50)")] - public string EmuserID - { - get - { - return this._EmuserID; - } - set - { - if ((this._EmuserID != value)) - { - this.OnEmuserIDChanging(value); - this.SendPropertyChanging(); - this._EmuserID = value; - this.SendPropertyChanged("EmuserID"); - this.OnEmuserIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmuserName", DbType="VarChar(50)")] - public string EmuserName - { - get - { - return this._EmuserName; - } - set - { - if ((this._EmuserName != value)) - { - this.OnEmuserNameChanging(value); - this.SendPropertyChanging(); - this._EmuserName = value; - this.SendPropertyChanged("EmuserName"); - this.OnEmuserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmuaerEmailAddress", DbType="VarChar(100)")] - public string EmuaerEmailAddress - { - get - { - return this._EmuaerEmailAddress; - } - set - { - if ((this._EmuaerEmailAddress != value)) - { - this.OnEmuaerEmailAddressChanging(value); - this.SendPropertyChanging(); - this._EmuaerEmailAddress = value; - this.SendPropertyChanged("EmuaerEmailAddress"); - this.OnEmuaerEmailAddressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMPeopleType", DbType="VarChar(5)")] - public string EMPeopleType - { - get - { - return this._EMPeopleType; - } - set - { - if ((this._EMPeopleType != value)) - { - this.OnEMPeopleTypeChanging(value); - this.SendPropertyChanging(); - this._EMPeopleType = value; - this.SendPropertyChanged("EMPeopleType"); - this.OnEMPeopleTypeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.File_Template")] - public partial class File_Template : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TemplateId; - - private string _TemplateName; - - private string _UploadMan; - - private System.Nullable _UploadDate; - - private string _AttachUrl; - - private string _Remark; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTemplateIdChanging(string value); - partial void OnTemplateIdChanged(); - partial void OnTemplateNameChanging(string value); - partial void OnTemplateNameChanged(); - partial void OnUploadManChanging(string value); - partial void OnUploadManChanged(); - partial void OnUploadDateChanging(System.Nullable value); - partial void OnUploadDateChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public File_Template() - { - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TemplateId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TemplateId - { - get - { - return this._TemplateId; - } - set - { - if ((this._TemplateId != value)) - { - this.OnTemplateIdChanging(value); - this.SendPropertyChanging(); - this._TemplateId = value; - this.SendPropertyChanged("TemplateId"); - this.OnTemplateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TemplateName", DbType="NVarChar(100)")] - public string TemplateName - { - get - { - return this._TemplateName; - } - set - { - if ((this._TemplateName != value)) - { - this.OnTemplateNameChanging(value); - this.SendPropertyChanging(); - this._TemplateName = value; - this.SendPropertyChanged("TemplateName"); - this.OnTemplateNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UploadMan", DbType="NVarChar(50)")] - public string UploadMan - { - get - { - return this._UploadMan; - } - set - { - if ((this._UploadMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUploadManChanging(value); - this.SendPropertyChanging(); - this._UploadMan = value; - this.SendPropertyChanged("UploadMan"); - this.OnUploadManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UploadDate", DbType="DateTime")] - public System.Nullable UploadDate - { - get - { - return this._UploadDate; - } - set - { - if ((this._UploadDate != value)) - { - this.OnUploadDateChanging(value); - this.SendPropertyChanging(); - this._UploadDate = value; - this.SendPropertyChanged("UploadDate"); - this.OnUploadDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(500)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_File_Template_Sys_User", Storage="_Sys_User", ThisKey="UploadMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.File_Template.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.File_Template.Add(this); - this._UploadMan = value.UserId; - } - else - { - this._UploadMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.File_UserGuideAndQA")] - public partial class File_UserGuideAndQA : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _FileId; - - private string _FileName; - - private string _UploadMan; - - private System.Nullable _UploadDate; - - private string _AttachUrl; - - private string _Remark; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnFileIdChanging(string value); - partial void OnFileIdChanged(); - partial void OnFileNameChanging(string value); - partial void OnFileNameChanged(); - partial void OnUploadManChanging(string value); - partial void OnUploadManChanged(); - partial void OnUploadDateChanging(System.Nullable value); - partial void OnUploadDateChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public File_UserGuideAndQA() - { - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string FileId - { - get - { - return this._FileId; - } - set - { - if ((this._FileId != value)) - { - this.OnFileIdChanging(value); - this.SendPropertyChanging(); - this._FileId = value; - this.SendPropertyChanged("FileId"); - this.OnFileIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileName", DbType="NVarChar(150)")] - public string FileName - { - get - { - return this._FileName; - } - set - { - if ((this._FileName != value)) - { - this.OnFileNameChanging(value); - this.SendPropertyChanging(); - this._FileName = value; - this.SendPropertyChanged("FileName"); - this.OnFileNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UploadMan", DbType="NVarChar(50)")] - public string UploadMan - { - get - { - return this._UploadMan; - } - set - { - if ((this._UploadMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUploadManChanging(value); - this.SendPropertyChanging(); - this._UploadMan = value; - this.SendPropertyChanged("UploadMan"); - this.OnUploadManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UploadDate", DbType="DateTime")] - public System.Nullable UploadDate - { - get - { - return this._UploadDate; - } - set - { - if ((this._UploadDate != value)) - { - this.OnUploadDateChanging(value); - this.SendPropertyChanging(); - this._UploadDate = value; - this.SendPropertyChanged("UploadDate"); - this.OnUploadDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(500)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_File_UserGuideAndQA_Sys_User", Storage="_Sys_User", ThisKey="UploadMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.File_UserGuideAndQA.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.File_UserGuideAndQA.Add(this); - this._UploadMan = value.UserId; - } - else - { - this._UploadMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ManHours_Actual")] - public partial class ManHours_Actual : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ManHoursActualId; - - private string _ManHoursPlanId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _Type; - - private string _Description; - - private string _DisciplineId; - - private string _Discipline; - - private string _UserId; - - private string _UserName; - - private string _Roles; - - private string _Account; - - private System.Nullable _Month; - - private System.Nullable _Hours; - - private System.Nullable _Itype; - - private string _ManHoursDate; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnManHoursActualIdChanging(string value); - partial void OnManHoursActualIdChanged(); - partial void OnManHoursPlanIdChanging(string value); - partial void OnManHoursPlanIdChanged(); - partial void OnResourcePlanIdChanging(string value); - partial void OnResourcePlanIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnDescriptionChanging(string value); - partial void OnDescriptionChanged(); - partial void OnDisciplineIdChanging(string value); - partial void OnDisciplineIdChanged(); - partial void OnDisciplineChanging(string value); - partial void OnDisciplineChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - partial void OnRolesChanging(string value); - partial void OnRolesChanged(); - partial void OnAccountChanging(string value); - partial void OnAccountChanged(); - partial void OnMonthChanging(System.Nullable value); - partial void OnMonthChanged(); - partial void OnHoursChanging(System.Nullable value); - partial void OnHoursChanged(); - partial void OnItypeChanging(System.Nullable value); - partial void OnItypeChanged(); - partial void OnManHoursDateChanging(string value); - partial void OnManHoursDateChanged(); - #endregion - - public ManHours_Actual() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursActualId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ManHoursActualId - { - get - { - return this._ManHoursActualId; - } - set - { - if ((this._ManHoursActualId != value)) - { - this.OnManHoursActualIdChanging(value); - this.SendPropertyChanging(); - this._ManHoursActualId = value; - this.SendPropertyChanged("ManHoursActualId"); - this.OnManHoursActualIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanId", DbType="NVarChar(50)")] - public string ManHoursPlanId - { - get - { - return this._ManHoursPlanId; - } - set - { - if ((this._ManHoursPlanId != value)) - { - this.OnManHoursPlanIdChanging(value); - this.SendPropertyChanging(); - this._ManHoursPlanId = value; - this.SendPropertyChanged("ManHoursPlanId"); - this.OnManHoursPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this.OnResourcePlanIdChanging(value); - this.SendPropertyChanging(); - this._ResourcePlanId = value; - this.SendPropertyChanged("ResourcePlanId"); - this.OnResourcePlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(500)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this.OnDescriptionChanging(value); - this.SendPropertyChanging(); - this._Description = value; - this.SendPropertyChanged("Description"); - this.OnDescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this.OnDisciplineIdChanging(value); - this.SendPropertyChanging(); - this._DisciplineId = value; - this.SendPropertyChanged("DisciplineId"); - this.OnDisciplineIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this.OnDisciplineChanging(value); - this.SendPropertyChanging(); - this._Discipline = value; - this.SendPropertyChanged("Discipline"); - this.OnDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this.OnRolesChanging(value); - this.SendPropertyChanging(); - this._Roles = value; - this.SendPropertyChanged("Roles"); - this.OnRolesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this.OnAccountChanging(value); - this.SendPropertyChanging(); - this._Account = value; - this.SendPropertyChanged("Account"); - this.OnAccountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month", DbType="Date")] - public System.Nullable Month - { - get - { - return this._Month; - } - set - { - if ((this._Month != value)) - { - this.OnMonthChanging(value); - this.SendPropertyChanging(); - this._Month = value; - this.SendPropertyChanged("Month"); - this.OnMonthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hours", DbType="Float")] - public System.Nullable Hours - { - get - { - return this._Hours; - } - set - { - if ((this._Hours != value)) - { - this.OnHoursChanging(value); - this.SendPropertyChanging(); - this._Hours = value; - this.SendPropertyChanged("Hours"); - this.OnHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Itype", DbType="Int")] - public System.Nullable Itype - { - get - { - return this._Itype; - } - set - { - if ((this._Itype != value)) - { - this.OnItypeChanging(value); - this.SendPropertyChanging(); - this._Itype = value; - this.SendPropertyChanged("Itype"); - this.OnItypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursDate", DbType="VarChar(6)")] - public string ManHoursDate - { - get - { - return this._ManHoursDate; - } - set - { - if ((this._ManHoursDate != value)) - { - this.OnManHoursDateChanging(value); - this.SendPropertyChanging(); - this._ManHoursDate = value; - this.SendPropertyChanged("ManHoursDate"); - this.OnManHoursDateChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ManHours_Plan")] - public partial class ManHours_Plan : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ManHoursPlanId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _EngineerId; - - private string _EngineerName; - - private string _Account; - - private string _DisciplineId; - - private string _Discipline; - - private string _Roles; - - private System.Nullable _ManHours; - - private System.Nullable _AccountDisabled; - - private System.Nullable _IsClose; - - private EntityRef _Editor_EProject; - - private EntityRef _Resource_Plan; - - private EntityRef _Sys_User; - - private EntitySet _ManHours_PlanManHours; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnManHoursPlanIdChanging(string value); - partial void OnManHoursPlanIdChanged(); - partial void OnResourcePlanIdChanging(string value); - partial void OnResourcePlanIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnEngineerIdChanging(string value); - partial void OnEngineerIdChanged(); - partial void OnEngineerNameChanging(string value); - partial void OnEngineerNameChanged(); - partial void OnAccountChanging(string value); - partial void OnAccountChanged(); - partial void OnDisciplineIdChanging(string value); - partial void OnDisciplineIdChanged(); - partial void OnDisciplineChanging(string value); - partial void OnDisciplineChanged(); - partial void OnRolesChanging(string value); - partial void OnRolesChanged(); - partial void OnManHoursChanging(System.Nullable value); - partial void OnManHoursChanged(); - partial void OnAccountDisabledChanging(System.Nullable value); - partial void OnAccountDisabledChanged(); - partial void OnIsCloseChanging(System.Nullable value); - partial void OnIsCloseChanged(); - #endregion - - public ManHours_Plan() - { - this._Editor_EProject = default(EntityRef); - this._Resource_Plan = default(EntityRef); - this._Sys_User = default(EntityRef); - this._ManHours_PlanManHours = new EntitySet(new Action(this.attach_ManHours_PlanManHours), new Action(this.detach_ManHours_PlanManHours)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ManHoursPlanId - { - get - { - return this._ManHoursPlanId; - } - set - { - if ((this._ManHoursPlanId != value)) - { - this.OnManHoursPlanIdChanging(value); - this.SendPropertyChanging(); - this._ManHoursPlanId = value; - this.SendPropertyChanged("ManHoursPlanId"); - this.OnManHoursPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - if (this._Resource_Plan.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnResourcePlanIdChanging(value); - this.SendPropertyChanging(); - this._ResourcePlanId = value; - this.SendPropertyChanged("ResourcePlanId"); - this.OnResourcePlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerId", DbType="NVarChar(50)")] - public string EngineerId - { - get - { - return this._EngineerId; - } - set - { - if ((this._EngineerId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEngineerIdChanging(value); - this.SendPropertyChanging(); - this._EngineerId = value; - this.SendPropertyChanged("EngineerId"); - this.OnEngineerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerName", DbType="NVarChar(50)")] - public string EngineerName - { - get - { - return this._EngineerName; - } - set - { - if ((this._EngineerName != value)) - { - this.OnEngineerNameChanging(value); - this.SendPropertyChanging(); - this._EngineerName = value; - this.SendPropertyChanged("EngineerName"); - this.OnEngineerNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this.OnAccountChanging(value); - this.SendPropertyChanging(); - this._Account = value; - this.SendPropertyChanged("Account"); - this.OnAccountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this.OnDisciplineIdChanging(value); - this.SendPropertyChanging(); - this._DisciplineId = value; - this.SendPropertyChanged("DisciplineId"); - this.OnDisciplineIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this.OnDisciplineChanging(value); - this.SendPropertyChanging(); - this._Discipline = value; - this.SendPropertyChanged("Discipline"); - this.OnDisciplineChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this.OnRolesChanging(value); - this.SendPropertyChanging(); - this._Roles = value; - this.SendPropertyChanged("Roles"); - this.OnRolesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours", DbType="Float")] - public System.Nullable ManHours - { - get - { - return this._ManHours; - } - set - { - if ((this._ManHours != value)) - { - this.OnManHoursChanging(value); - this.SendPropertyChanging(); - this._ManHours = value; - this.SendPropertyChanged("ManHours"); - this.OnManHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountDisabled", DbType="Int")] - public System.Nullable AccountDisabled - { - get - { - return this._AccountDisabled; - } - set - { - if ((this._AccountDisabled != value)) - { - this.OnAccountDisabledChanging(value); - this.SendPropertyChanging(); - this._AccountDisabled = value; - this.SendPropertyChanged("AccountDisabled"); - this.OnAccountDisabledChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsClose", DbType="Int")] - public System.Nullable IsClose - { - get - { - return this._IsClose; - } - set - { - if ((this._IsClose != value)) - { - this.OnIsCloseChanging(value); - this.SendPropertyChanging(); - this._IsClose = value; - this.SendPropertyChanged("IsClose"); - this.OnIsCloseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.ManHours_Plan.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.ManHours_Plan.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Resource_Plan", Storage="_Resource_Plan", ThisKey="ResourcePlanId", OtherKey="ResourcePlanId", IsForeignKey=true)] - public Resource_Plan Resource_Plan - { - get - { - return this._Resource_Plan.Entity; - } - set - { - Resource_Plan previousValue = this._Resource_Plan.Entity; - if (((previousValue != value) - || (this._Resource_Plan.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Resource_Plan.Entity = null; - previousValue.ManHours_Plan.Remove(this); - } - this._Resource_Plan.Entity = value; - if ((value != null)) - { - value.ManHours_Plan.Add(this); - this._ResourcePlanId = value.ResourcePlanId; - } - else - { - this._ResourcePlanId = default(string); - } - this.SendPropertyChanged("Resource_Plan"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Sys_User", Storage="_Sys_User", ThisKey="EngineerId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.ManHours_Plan.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.ManHours_Plan.Add(this); - this._EngineerId = value.UserId; - } - else - { - this._EngineerId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_ManHours_Plan", Storage="_ManHours_PlanManHours", ThisKey="ManHoursPlanId", OtherKey="ManHoursPlanId", DeleteRule="NO ACTION")] - public EntitySet ManHours_PlanManHours - { - get - { - return this._ManHours_PlanManHours; - } - set - { - this._ManHours_PlanManHours.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.ManHours_Plan = this; - } - - private void detach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.ManHours_Plan = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ManHours_PlanDetail")] - public partial class ManHours_PlanDetail : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ManHoursPlanDetailId; - - private string _PlanManHoursId; - - private string _EProjectId; - - private string _UserId; - - private string _UserName; - - private System.Nullable _DateMonth; - - private System.Nullable _Hour; - - private EntityRef _Editor_EProject; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnManHoursPlanDetailIdChanging(string value); - partial void OnManHoursPlanDetailIdChanged(); - partial void OnPlanManHoursIdChanging(string value); - partial void OnPlanManHoursIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - partial void OnDateMonthChanging(System.Nullable value); - partial void OnDateMonthChanged(); - partial void OnHourChanging(System.Nullable value); - partial void OnHourChanged(); - #endregion - - public ManHours_PlanDetail() - { - this._Editor_EProject = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ManHoursPlanDetailId - { - get - { - return this._ManHoursPlanDetailId; - } - set - { - if ((this._ManHoursPlanDetailId != value)) - { - this.OnManHoursPlanDetailIdChanging(value); - this.SendPropertyChanging(); - this._ManHoursPlanDetailId = value; - this.SendPropertyChanged("ManHoursPlanDetailId"); - this.OnManHoursPlanDetailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanManHoursId", DbType="NVarChar(50)")] - public string PlanManHoursId - { - get - { - return this._PlanManHoursId; - } - set - { - if ((this._PlanManHoursId != value)) - { - this.OnPlanManHoursIdChanging(value); - this.SendPropertyChanging(); - this._PlanManHoursId = value; - this.SendPropertyChanged("PlanManHoursId"); - this.OnPlanManHoursIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateMonth", DbType="DateTime")] - public System.Nullable DateMonth - { - get - { - return this._DateMonth; - } - set - { - if ((this._DateMonth != value)) - { - this.OnDateMonthChanging(value); - this.SendPropertyChanging(); - this._DateMonth = value; - this.SendPropertyChanged("DateMonth"); - this.OnDateMonthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hour", DbType="Float")] - public System.Nullable Hour - { - get - { - return this._Hour; - } - set - { - if ((this._Hour != value)) - { - this.OnHourChanging(value); - this.SendPropertyChanging(); - this._Hour = value; - this.SendPropertyChanged("Hour"); - this.OnHourChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanDetail_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.ManHours_PlanDetail.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.ManHours_PlanDetail.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanDetail_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.ManHours_PlanDetail.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.ManHours_PlanDetail.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ManHours_PlanManHours")] - public partial class ManHours_PlanManHours : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PlanManHoursId; - - private string _EprojectId; - - private string _ManHoursPlanId; - - private string _UserId; - - private string _UserName; - - private string _ManHoursMonth; - - private string _Month1; - - private string _Month2; - - private string _Month3; - - private string _Month4; - - private string _Month5; - - private string _Month6; - - private string _Month7; - - private string _Month8; - - private string _Month9; - - private string _Month10; - - private string _Month11; - - private string _Month12; - - private EntityRef _Editor_EProject; - - private EntityRef _ManHours_Plan; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPlanManHoursIdChanging(string value); - partial void OnPlanManHoursIdChanged(); - partial void OnEprojectIdChanging(string value); - partial void OnEprojectIdChanged(); - partial void OnManHoursPlanIdChanging(string value); - partial void OnManHoursPlanIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - partial void OnManHoursMonthChanging(string value); - partial void OnManHoursMonthChanged(); - partial void OnMonth1Changing(string value); - partial void OnMonth1Changed(); - partial void OnMonth2Changing(string value); - partial void OnMonth2Changed(); - partial void OnMonth3Changing(string value); - partial void OnMonth3Changed(); - partial void OnMonth4Changing(string value); - partial void OnMonth4Changed(); - partial void OnMonth5Changing(string value); - partial void OnMonth5Changed(); - partial void OnMonth6Changing(string value); - partial void OnMonth6Changed(); - partial void OnMonth7Changing(string value); - partial void OnMonth7Changed(); - partial void OnMonth8Changing(string value); - partial void OnMonth8Changed(); - partial void OnMonth9Changing(string value); - partial void OnMonth9Changed(); - partial void OnMonth10Changing(string value); - partial void OnMonth10Changed(); - partial void OnMonth11Changing(string value); - partial void OnMonth11Changed(); - partial void OnMonth12Changing(string value); - partial void OnMonth12Changed(); - #endregion - - public ManHours_PlanManHours() - { - this._Editor_EProject = default(EntityRef); - this._ManHours_Plan = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanManHoursId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PlanManHoursId - { - get - { - return this._PlanManHoursId; - } - set - { - if ((this._PlanManHoursId != value)) - { - this.OnPlanManHoursIdChanging(value); - this.SendPropertyChanging(); - this._PlanManHoursId = value; - this.SendPropertyChanged("PlanManHoursId"); - this.OnPlanManHoursIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EprojectId", DbType="NVarChar(50)")] - public string EprojectId - { - get - { - return this._EprojectId; - } - set - { - if ((this._EprojectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEprojectIdChanging(value); - this.SendPropertyChanging(); - this._EprojectId = value; - this.SendPropertyChanged("EprojectId"); - this.OnEprojectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanId", DbType="NVarChar(50)")] - public string ManHoursPlanId - { - get - { - return this._ManHoursPlanId; - } - set - { - if ((this._ManHoursPlanId != value)) - { - if (this._ManHours_Plan.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnManHoursPlanIdChanging(value); - this.SendPropertyChanging(); - this._ManHoursPlanId = value; - this.SendPropertyChanged("ManHoursPlanId"); - this.OnManHoursPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursMonth", DbType="NVarChar(50)")] - public string ManHoursMonth - { - get - { - return this._ManHoursMonth; - } - set - { - if ((this._ManHoursMonth != value)) - { - this.OnManHoursMonthChanging(value); - this.SendPropertyChanging(); - this._ManHoursMonth = value; - this.SendPropertyChanged("ManHoursMonth"); - this.OnManHoursMonthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month1", DbType="NVarChar(50)")] - public string Month1 - { - get - { - return this._Month1; - } - set - { - if ((this._Month1 != value)) - { - this.OnMonth1Changing(value); - this.SendPropertyChanging(); - this._Month1 = value; - this.SendPropertyChanged("Month1"); - this.OnMonth1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month2", DbType="NVarChar(50)")] - public string Month2 - { - get - { - return this._Month2; - } - set - { - if ((this._Month2 != value)) - { - this.OnMonth2Changing(value); - this.SendPropertyChanging(); - this._Month2 = value; - this.SendPropertyChanged("Month2"); - this.OnMonth2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month3", DbType="NVarChar(50)")] - public string Month3 - { - get - { - return this._Month3; - } - set - { - if ((this._Month3 != value)) - { - this.OnMonth3Changing(value); - this.SendPropertyChanging(); - this._Month3 = value; - this.SendPropertyChanged("Month3"); - this.OnMonth3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month4", DbType="NVarChar(50)")] - public string Month4 - { - get - { - return this._Month4; - } - set - { - if ((this._Month4 != value)) - { - this.OnMonth4Changing(value); - this.SendPropertyChanging(); - this._Month4 = value; - this.SendPropertyChanged("Month4"); - this.OnMonth4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month5", DbType="NVarChar(50)")] - public string Month5 - { - get - { - return this._Month5; - } - set - { - if ((this._Month5 != value)) - { - this.OnMonth5Changing(value); - this.SendPropertyChanging(); - this._Month5 = value; - this.SendPropertyChanged("Month5"); - this.OnMonth5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month6", DbType="NVarChar(50)")] - public string Month6 - { - get - { - return this._Month6; - } - set - { - if ((this._Month6 != value)) - { - this.OnMonth6Changing(value); - this.SendPropertyChanging(); - this._Month6 = value; - this.SendPropertyChanged("Month6"); - this.OnMonth6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month7", DbType="NVarChar(50)")] - public string Month7 - { - get - { - return this._Month7; - } - set - { - if ((this._Month7 != value)) - { - this.OnMonth7Changing(value); - this.SendPropertyChanging(); - this._Month7 = value; - this.SendPropertyChanged("Month7"); - this.OnMonth7Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month8", DbType="NVarChar(50)")] - public string Month8 - { - get - { - return this._Month8; - } - set - { - if ((this._Month8 != value)) - { - this.OnMonth8Changing(value); - this.SendPropertyChanging(); - this._Month8 = value; - this.SendPropertyChanged("Month8"); - this.OnMonth8Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month9", DbType="NVarChar(50)")] - public string Month9 - { - get - { - return this._Month9; - } - set - { - if ((this._Month9 != value)) - { - this.OnMonth9Changing(value); - this.SendPropertyChanging(); - this._Month9 = value; - this.SendPropertyChanged("Month9"); - this.OnMonth9Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month10", DbType="NVarChar(50)")] - public string Month10 - { - get - { - return this._Month10; - } - set - { - if ((this._Month10 != value)) - { - this.OnMonth10Changing(value); - this.SendPropertyChanging(); - this._Month10 = value; - this.SendPropertyChanged("Month10"); - this.OnMonth10Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month11", DbType="NVarChar(50)")] - public string Month11 - { - get - { - return this._Month11; - } - set - { - if ((this._Month11 != value)) - { - this.OnMonth11Changing(value); - this.SendPropertyChanging(); - this._Month11 = value; - this.SendPropertyChanged("Month11"); - this.OnMonth11Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month12", DbType="NVarChar(50)")] - public string Month12 - { - get - { - return this._Month12; - } - set - { - if ((this._Month12 != value)) - { - this.OnMonth12Changing(value); - this.SendPropertyChanging(); - this._Month12 = value; - this.SendPropertyChanged("Month12"); - this.OnMonth12Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_Editor_EProject", Storage="_Editor_EProject", ThisKey="EprojectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.ManHours_PlanManHours.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.ManHours_PlanManHours.Add(this); - this._EprojectId = value.EProjectId; - } - else - { - this._EprojectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_ManHours_Plan", Storage="_ManHours_Plan", ThisKey="ManHoursPlanId", OtherKey="ManHoursPlanId", IsForeignKey=true)] - public ManHours_Plan ManHours_Plan - { - get - { - return this._ManHours_Plan.Entity; - } - set - { - ManHours_Plan previousValue = this._ManHours_Plan.Entity; - if (((previousValue != value) - || (this._ManHours_Plan.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._ManHours_Plan.Entity = null; - previousValue.ManHours_PlanManHours.Remove(this); - } - this._ManHours_Plan.Entity = value; - if ((value != null)) - { - value.ManHours_PlanManHours.Add(this); - this._ManHoursPlanId = value.ManHoursPlanId; - } - else - { - this._ManHoursPlanId = default(string); - } - this.SendPropertyChanged("ManHours_Plan"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.ManHours_PlanManHours.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.ManHours_PlanManHours.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OriginDatas")] - public partial class OriginDatas - { - - private string _JsonData; - - public OriginDatas() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jsonData", Storage="_JsonData", DbType="Text", UpdateCheck=UpdateCheck.Never)] - public string JsonData - { - get - { - return this._JsonData; - } - set - { - if ((this._JsonData != value)) - { - this._JsonData = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Resource_Plan")] - public partial class Resource_Plan : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _WO; - - private System.Nullable _ProjectApproval_Sch_Start; - - private System.Nullable _ProjectApproval_Sch_End; - - private System.Nullable _ProjectApproval_Sch_NotApplicable; - - private System.Nullable _Detail_Eng_Civil_Sch_Start; - - private System.Nullable _Detail_Eng_Civil_Sch_End; - - private System.Nullable _Detail_Eng_Civil_Sch_NotApplicable; - - private System.Nullable _Detail_Eng_Mech_EI_Sch_Start; - - private System.Nullable _Detail_Eng_Mech_EI_Sch_End; - - private System.Nullable _Detail_Eng_Mech_EI_Sch_NotApplicable; - - private System.Nullable _LLE_Procurement_Sch_Start; - - private System.Nullable _LLE_Procurement_Sch_End; - - private System.Nullable _LLE_Procurement_Sch_NotApplicable; - - private System.Nullable _Const_Civil_Sch_Start; - - private System.Nullable _Const_Civil_Sch_End; - - private System.Nullable _Const_Civil_Sch_NotApplicable; - - private System.Nullable _Const_Mech_EI_Start; - - private System.Nullable _Const_Mech_EI_End; - - private System.Nullable _Const_Mech_EI_NotApplicable; - - private System.Nullable _MC_Sch_Start; - - private System.Nullable _MC_Sch_End; - - private System.Nullable _MC_Sch_NotApplicable; - - private System.Nullable _CountNum; - - private System.Nullable _IsClose; - - private string _Phase; - - private string _Design; - - private string _Procurement; - - private string _Construction; - - private System.Nullable _CreateDate; - - private EntitySet _ManHours_Plan; - - private EntityRef _Editor_EProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnResourcePlanIdChanging(string value); - partial void OnResourcePlanIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnWOChanging(string value); - partial void OnWOChanged(); - partial void OnProjectApproval_Sch_StartChanging(System.Nullable value); - partial void OnProjectApproval_Sch_StartChanged(); - partial void OnProjectApproval_Sch_EndChanging(System.Nullable value); - partial void OnProjectApproval_Sch_EndChanged(); - partial void OnProjectApproval_Sch_NotApplicableChanging(System.Nullable value); - partial void OnProjectApproval_Sch_NotApplicableChanged(); - partial void OnDetail_Eng_Civil_Sch_StartChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_Sch_StartChanged(); - partial void OnDetail_Eng_Civil_Sch_EndChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_Sch_EndChanged(); - partial void OnDetail_Eng_Civil_Sch_NotApplicableChanging(System.Nullable value); - partial void OnDetail_Eng_Civil_Sch_NotApplicableChanged(); - partial void OnDetail_Eng_Mech_EI_Sch_StartChanging(System.Nullable value); - partial void OnDetail_Eng_Mech_EI_Sch_StartChanged(); - partial void OnDetail_Eng_Mech_EI_Sch_EndChanging(System.Nullable value); - partial void OnDetail_Eng_Mech_EI_Sch_EndChanged(); - partial void OnDetail_Eng_Mech_EI_Sch_NotApplicableChanging(System.Nullable value); - partial void OnDetail_Eng_Mech_EI_Sch_NotApplicableChanged(); - partial void OnLLE_Procurement_Sch_StartChanging(System.Nullable value); - partial void OnLLE_Procurement_Sch_StartChanged(); - partial void OnLLE_Procurement_Sch_EndChanging(System.Nullable value); - partial void OnLLE_Procurement_Sch_EndChanged(); - partial void OnLLE_Procurement_Sch_NotApplicableChanging(System.Nullable value); - partial void OnLLE_Procurement_Sch_NotApplicableChanged(); - partial void OnConst_Civil_Sch_StartChanging(System.Nullable value); - partial void OnConst_Civil_Sch_StartChanged(); - partial void OnConst_Civil_Sch_EndChanging(System.Nullable value); - partial void OnConst_Civil_Sch_EndChanged(); - partial void OnConst_Civil_Sch_NotApplicableChanging(System.Nullable value); - partial void OnConst_Civil_Sch_NotApplicableChanged(); - partial void OnConst_Mech_EI_StartChanging(System.Nullable value); - partial void OnConst_Mech_EI_StartChanged(); - partial void OnConst_Mech_EI_EndChanging(System.Nullable value); - partial void OnConst_Mech_EI_EndChanged(); - partial void OnConst_Mech_EI_NotApplicableChanging(System.Nullable value); - partial void OnConst_Mech_EI_NotApplicableChanged(); - partial void OnMC_Sch_StartChanging(System.Nullable value); - partial void OnMC_Sch_StartChanged(); - partial void OnMC_Sch_EndChanging(System.Nullable value); - partial void OnMC_Sch_EndChanged(); - partial void OnMC_Sch_NotApplicableChanging(System.Nullable value); - partial void OnMC_Sch_NotApplicableChanged(); - partial void OnCountNumChanging(System.Nullable value); - partial void OnCountNumChanged(); - partial void OnIsCloseChanging(System.Nullable value); - partial void OnIsCloseChanged(); - partial void OnPhaseChanging(string value); - partial void OnPhaseChanged(); - partial void OnDesignChanging(string value); - partial void OnDesignChanged(); - partial void OnProcurementChanging(string value); - partial void OnProcurementChanged(); - partial void OnConstructionChanging(string value); - partial void OnConstructionChanged(); - partial void OnCreateDateChanging(System.Nullable value); - partial void OnCreateDateChanged(); - #endregion - - public Resource_Plan() - { - this._ManHours_Plan = new EntitySet(new Action(this.attach_ManHours_Plan), new Action(this.detach_ManHours_Plan)); - this._Editor_EProject = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this.OnResourcePlanIdChanging(value); - this.SendPropertyChanging(); - this._ResourcePlanId = value; - this.SendPropertyChanged("ResourcePlanId"); - this.OnResourcePlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - if (this._Editor_EProject.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WO", DbType="NVarChar(50)")] - public string WO - { - get - { - return this._WO; - } - set - { - if ((this._WO != value)) - { - this.OnWOChanging(value); - this.SendPropertyChanging(); - this._WO = value; - this.SendPropertyChanged("WO"); - this.OnWOChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectApproval_Sch_Start", DbType="DateTime")] - public System.Nullable ProjectApproval_Sch_Start - { - get - { - return this._ProjectApproval_Sch_Start; - } - set - { - if ((this._ProjectApproval_Sch_Start != value)) - { - this.OnProjectApproval_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._ProjectApproval_Sch_Start = value; - this.SendPropertyChanged("ProjectApproval_Sch_Start"); - this.OnProjectApproval_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectApproval_Sch_End", DbType="DateTime")] - public System.Nullable ProjectApproval_Sch_End - { - get - { - return this._ProjectApproval_Sch_End; - } - set - { - if ((this._ProjectApproval_Sch_End != value)) - { - this.OnProjectApproval_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._ProjectApproval_Sch_End = value; - this.SendPropertyChanged("ProjectApproval_Sch_End"); - this.OnProjectApproval_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectApproval_Sch_NotApplicable", DbType="Bit")] - public System.Nullable ProjectApproval_Sch_NotApplicable - { - get - { - return this._ProjectApproval_Sch_NotApplicable; - } - set - { - if ((this._ProjectApproval_Sch_NotApplicable != value)) - { - this.OnProjectApproval_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._ProjectApproval_Sch_NotApplicable = value; - this.SendPropertyChanged("ProjectApproval_Sch_NotApplicable"); - this.OnProjectApproval_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_Start", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_Sch_Start - { - get - { - return this._Detail_Eng_Civil_Sch_Start; - } - set - { - if ((this._Detail_Eng_Civil_Sch_Start != value)) - { - this.OnDetail_Eng_Civil_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_Sch_Start = value; - this.SendPropertyChanged("Detail_Eng_Civil_Sch_Start"); - this.OnDetail_Eng_Civil_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_End", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_Sch_End - { - get - { - return this._Detail_Eng_Civil_Sch_End; - } - set - { - if ((this._Detail_Eng_Civil_Sch_End != value)) - { - this.OnDetail_Eng_Civil_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_Sch_End = value; - this.SendPropertyChanged("Detail_Eng_Civil_Sch_End"); - this.OnDetail_Eng_Civil_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_NotApplicable", DbType="Bit")] - public System.Nullable Detail_Eng_Civil_Sch_NotApplicable - { - get - { - return this._Detail_Eng_Civil_Sch_NotApplicable; - } - set - { - if ((this._Detail_Eng_Civil_Sch_NotApplicable != value)) - { - this.OnDetail_Eng_Civil_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Civil_Sch_NotApplicable = value; - this.SendPropertyChanged("Detail_Eng_Civil_Sch_NotApplicable"); - this.OnDetail_Eng_Civil_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_Start", DbType="DateTime")] - public System.Nullable Detail_Eng_Mech_EI_Sch_Start - { - get - { - return this._Detail_Eng_Mech_EI_Sch_Start; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_Start != value)) - { - this.OnDetail_Eng_Mech_EI_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Mech_EI_Sch_Start = value; - this.SendPropertyChanged("Detail_Eng_Mech_EI_Sch_Start"); - this.OnDetail_Eng_Mech_EI_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_End", DbType="DateTime")] - public System.Nullable Detail_Eng_Mech_EI_Sch_End - { - get - { - return this._Detail_Eng_Mech_EI_Sch_End; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_End != value)) - { - this.OnDetail_Eng_Mech_EI_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Mech_EI_Sch_End = value; - this.SendPropertyChanged("Detail_Eng_Mech_EI_Sch_End"); - this.OnDetail_Eng_Mech_EI_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_NotApplicable", DbType="Bit")] - public System.Nullable Detail_Eng_Mech_EI_Sch_NotApplicable - { - get - { - return this._Detail_Eng_Mech_EI_Sch_NotApplicable; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_NotApplicable != value)) - { - this.OnDetail_Eng_Mech_EI_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._Detail_Eng_Mech_EI_Sch_NotApplicable = value; - this.SendPropertyChanged("Detail_Eng_Mech_EI_Sch_NotApplicable"); - this.OnDetail_Eng_Mech_EI_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LLE_Procurement_Sch_Start", DbType="DateTime")] - public System.Nullable LLE_Procurement_Sch_Start - { - get - { - return this._LLE_Procurement_Sch_Start; - } - set - { - if ((this._LLE_Procurement_Sch_Start != value)) - { - this.OnLLE_Procurement_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._LLE_Procurement_Sch_Start = value; - this.SendPropertyChanged("LLE_Procurement_Sch_Start"); - this.OnLLE_Procurement_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LLE_Procurement_Sch_End", DbType="DateTime")] - public System.Nullable LLE_Procurement_Sch_End - { - get - { - return this._LLE_Procurement_Sch_End; - } - set - { - if ((this._LLE_Procurement_Sch_End != value)) - { - this.OnLLE_Procurement_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._LLE_Procurement_Sch_End = value; - this.SendPropertyChanged("LLE_Procurement_Sch_End"); - this.OnLLE_Procurement_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LLE_Procurement_Sch_NotApplicable", DbType="Bit")] - public System.Nullable LLE_Procurement_Sch_NotApplicable - { - get - { - return this._LLE_Procurement_Sch_NotApplicable; - } - set - { - if ((this._LLE_Procurement_Sch_NotApplicable != value)) - { - this.OnLLE_Procurement_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._LLE_Procurement_Sch_NotApplicable = value; - this.SendPropertyChanged("LLE_Procurement_Sch_NotApplicable"); - this.OnLLE_Procurement_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Civil_Sch_Start", DbType="DateTime")] - public System.Nullable Const_Civil_Sch_Start - { - get - { - return this._Const_Civil_Sch_Start; - } - set - { - if ((this._Const_Civil_Sch_Start != value)) - { - this.OnConst_Civil_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._Const_Civil_Sch_Start = value; - this.SendPropertyChanged("Const_Civil_Sch_Start"); - this.OnConst_Civil_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Civil_Sch_End", DbType="DateTime")] - public System.Nullable Const_Civil_Sch_End - { - get - { - return this._Const_Civil_Sch_End; - } - set - { - if ((this._Const_Civil_Sch_End != value)) - { - this.OnConst_Civil_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._Const_Civil_Sch_End = value; - this.SendPropertyChanged("Const_Civil_Sch_End"); - this.OnConst_Civil_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Civil_Sch_NotApplicable", DbType="Bit")] - public System.Nullable Const_Civil_Sch_NotApplicable - { - get - { - return this._Const_Civil_Sch_NotApplicable; - } - set - { - if ((this._Const_Civil_Sch_NotApplicable != value)) - { - this.OnConst_Civil_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._Const_Civil_Sch_NotApplicable = value; - this.SendPropertyChanged("Const_Civil_Sch_NotApplicable"); - this.OnConst_Civil_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Mech_EI_Start", DbType="DateTime")] - public System.Nullable Const_Mech_EI_Start - { - get - { - return this._Const_Mech_EI_Start; - } - set - { - if ((this._Const_Mech_EI_Start != value)) - { - this.OnConst_Mech_EI_StartChanging(value); - this.SendPropertyChanging(); - this._Const_Mech_EI_Start = value; - this.SendPropertyChanged("Const_Mech_EI_Start"); - this.OnConst_Mech_EI_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Mech_EI_End", DbType="DateTime")] - public System.Nullable Const_Mech_EI_End - { - get - { - return this._Const_Mech_EI_End; - } - set - { - if ((this._Const_Mech_EI_End != value)) - { - this.OnConst_Mech_EI_EndChanging(value); - this.SendPropertyChanging(); - this._Const_Mech_EI_End = value; - this.SendPropertyChanged("Const_Mech_EI_End"); - this.OnConst_Mech_EI_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Const_Mech_EI_NotApplicable", DbType="Bit")] - public System.Nullable Const_Mech_EI_NotApplicable - { - get - { - return this._Const_Mech_EI_NotApplicable; - } - set - { - if ((this._Const_Mech_EI_NotApplicable != value)) - { - this.OnConst_Mech_EI_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._Const_Mech_EI_NotApplicable = value; - this.SendPropertyChanged("Const_Mech_EI_NotApplicable"); - this.OnConst_Mech_EI_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Sch_Start", DbType="DateTime")] - public System.Nullable MC_Sch_Start - { - get - { - return this._MC_Sch_Start; - } - set - { - if ((this._MC_Sch_Start != value)) - { - this.OnMC_Sch_StartChanging(value); - this.SendPropertyChanging(); - this._MC_Sch_Start = value; - this.SendPropertyChanged("MC_Sch_Start"); - this.OnMC_Sch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Sch_End", DbType="DateTime")] - public System.Nullable MC_Sch_End - { - get - { - return this._MC_Sch_End; - } - set - { - if ((this._MC_Sch_End != value)) - { - this.OnMC_Sch_EndChanging(value); - this.SendPropertyChanging(); - this._MC_Sch_End = value; - this.SendPropertyChanged("MC_Sch_End"); - this.OnMC_Sch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Sch_NotApplicable", DbType="Bit")] - public System.Nullable MC_Sch_NotApplicable - { - get - { - return this._MC_Sch_NotApplicable; - } - set - { - if ((this._MC_Sch_NotApplicable != value)) - { - this.OnMC_Sch_NotApplicableChanging(value); - this.SendPropertyChanging(); - this._MC_Sch_NotApplicable = value; - this.SendPropertyChanged("MC_Sch_NotApplicable"); - this.OnMC_Sch_NotApplicableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CountNum", DbType="Int")] - public System.Nullable CountNum - { - get - { - return this._CountNum; - } - set - { - if ((this._CountNum != value)) - { - this.OnCountNumChanging(value); - this.SendPropertyChanging(); - this._CountNum = value; - this.SendPropertyChanged("CountNum"); - this.OnCountNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsClose", DbType="Int")] - public System.Nullable IsClose - { - get - { - return this._IsClose; - } - set - { - if ((this._IsClose != value)) - { - this.OnIsCloseChanging(value); - this.SendPropertyChanging(); - this._IsClose = value; - this.SendPropertyChanged("IsClose"); - this.OnIsCloseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phase", DbType="NVarChar(30)")] - public string Phase - { - get - { - return this._Phase; - } - set - { - if ((this._Phase != value)) - { - this.OnPhaseChanging(value); - this.SendPropertyChanging(); - this._Phase = value; - this.SendPropertyChanged("Phase"); - this.OnPhaseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Design", DbType="NVarChar(30)")] - public string Design - { - get - { - return this._Design; - } - set - { - if ((this._Design != value)) - { - this.OnDesignChanging(value); - this.SendPropertyChanging(); - this._Design = value; - this.SendPropertyChanged("Design"); - this.OnDesignChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Procurement", DbType="NVarChar(30)")] - public string Procurement - { - get - { - return this._Procurement; - } - set - { - if ((this._Procurement != value)) - { - this.OnProcurementChanging(value); - this.SendPropertyChanging(); - this._Procurement = value; - this.SendPropertyChanged("Procurement"); - this.OnProcurementChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Construction", DbType="NVarChar(30)")] - public string Construction - { - get - { - return this._Construction; - } - set - { - if ((this._Construction != value)) - { - this.OnConstructionChanging(value); - this.SendPropertyChanging(); - this._Construction = value; - this.SendPropertyChanged("Construction"); - this.OnConstructionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")] - public System.Nullable CreateDate - { - get - { - return this._CreateDate; - } - set - { - if ((this._CreateDate != value)) - { - this.OnCreateDateChanging(value); - this.SendPropertyChanging(); - this._CreateDate = value; - this.SendPropertyChanged("CreateDate"); - this.OnCreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Resource_Plan", Storage="_ManHours_Plan", ThisKey="ResourcePlanId", OtherKey="ResourcePlanId", DeleteRule="NO ACTION")] - public EntitySet ManHours_Plan - { - get - { - return this._ManHours_Plan; - } - set - { - this._ManHours_Plan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Resource_Plan_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] - public Editor_EProject Editor_EProject - { - get - { - return this._Editor_EProject.Entity; - } - set - { - Editor_EProject previousValue = this._Editor_EProject.Entity; - if (((previousValue != value) - || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Editor_EProject.Entity = null; - previousValue.Resource_Plan.Remove(this); - } - this._Editor_EProject.Entity = value; - if ((value != null)) - { - value.Resource_Plan.Add(this); - this._EProjectId = value.EProjectId; - } - else - { - this._EProjectId = default(string); - } - this.SendPropertyChanged("Editor_EProject"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Resource_Plan = this; - } - - private void detach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Resource_Plan = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Resource_PlanDetail")] - public partial class Resource_PlanDetail : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ResourcePlanDetailId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _DisciplinesWBSId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private System.Nullable _Sch_Start; - - private System.Nullable _Sch_End; - - private string _DesignersId; - - private string _Designer; - - private System.Nullable _Ratio1; - - private System.Nullable _ManHours1; - - private string _CheckersId; - - private string _Checker; - - private System.Nullable _Ratio2; - - private System.Nullable _ManHours2; - - private string _ApproversId; - - private string _Approver; - - private System.Nullable _Ratio3; - - private System.Nullable _ManHours3; - - private string _LeadersId; - - private string _Leader; - - private System.Nullable _Ratio4; - - private System.Nullable _ManHours4; - - private string _Types; - - private System.Nullable _ISort; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnResourcePlanDetailIdChanging(string value); - partial void OnResourcePlanDetailIdChanged(); - partial void OnResourcePlanIdChanging(string value); - partial void OnResourcePlanIdChanged(); - partial void OnEProjectIdChanging(string value); - partial void OnEProjectIdChanged(); - partial void OnDisciplinesWBSIdChanging(string value); - partial void OnDisciplinesWBSIdChanged(); - partial void OnDisciplinesWBSCodeChanging(string value); - partial void OnDisciplinesWBSCodeChanged(); - partial void OnDisciplinesWBSNameChanging(string value); - partial void OnDisciplinesWBSNameChanged(); - partial void OnWBSChanging(string value); - partial void OnWBSChanged(); - partial void OnSch_StartChanging(System.Nullable value); - partial void OnSch_StartChanged(); - partial void OnSch_EndChanging(System.Nullable value); - partial void OnSch_EndChanged(); - partial void OnDesignersIdChanging(string value); - partial void OnDesignersIdChanged(); - partial void OnDesignerChanging(string value); - partial void OnDesignerChanged(); - partial void OnRatio1Changing(System.Nullable value); - partial void OnRatio1Changed(); - partial void OnManHours1Changing(System.Nullable value); - partial void OnManHours1Changed(); - partial void OnCheckersIdChanging(string value); - partial void OnCheckersIdChanged(); - partial void OnCheckerChanging(string value); - partial void OnCheckerChanged(); - partial void OnRatio2Changing(System.Nullable value); - partial void OnRatio2Changed(); - partial void OnManHours2Changing(System.Nullable value); - partial void OnManHours2Changed(); - partial void OnApproversIdChanging(string value); - partial void OnApproversIdChanged(); - partial void OnApproverChanging(string value); - partial void OnApproverChanged(); - partial void OnRatio3Changing(System.Nullable value); - partial void OnRatio3Changed(); - partial void OnManHours3Changing(System.Nullable value); - partial void OnManHours3Changed(); - partial void OnLeadersIdChanging(string value); - partial void OnLeadersIdChanged(); - partial void OnLeaderChanging(string value); - partial void OnLeaderChanged(); - partial void OnRatio4Changing(System.Nullable value); - partial void OnRatio4Changed(); - partial void OnManHours4Changing(System.Nullable value); - partial void OnManHours4Changed(); - partial void OnTypesChanging(string value); - partial void OnTypesChanged(); - partial void OnISortChanging(System.Nullable value); - partial void OnISortChanged(); - #endregion - - public Resource_PlanDetail() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ResourcePlanDetailId - { - get - { - return this._ResourcePlanDetailId; - } - set - { - if ((this._ResourcePlanDetailId != value)) - { - this.OnResourcePlanDetailIdChanging(value); - this.SendPropertyChanging(); - this._ResourcePlanDetailId = value; - this.SendPropertyChanged("ResourcePlanDetailId"); - this.OnResourcePlanDetailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this.OnResourcePlanIdChanging(value); - this.SendPropertyChanging(); - this._ResourcePlanId = value; - this.SendPropertyChanged("ResourcePlanId"); - this.OnResourcePlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this.OnEProjectIdChanging(value); - this.SendPropertyChanging(); - this._EProjectId = value; - this.SendPropertyChanged("EProjectId"); - this.OnEProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50)")] - public string DisciplinesWBSId - { - get - { - return this._DisciplinesWBSId; - } - set - { - if ((this._DisciplinesWBSId != value)) - { - this.OnDisciplinesWBSIdChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSId = value; - this.SendPropertyChanged("DisciplinesWBSId"); - this.OnDisciplinesWBSIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this.OnDisciplinesWBSCodeChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSCode = value; - this.SendPropertyChanged("DisciplinesWBSCode"); - this.OnDisciplinesWBSCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this.OnDisciplinesWBSNameChanging(value); - this.SendPropertyChanging(); - this._DisciplinesWBSName = value; - this.SendPropertyChanged("DisciplinesWBSName"); - this.OnDisciplinesWBSNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this.OnWBSChanging(value); - this.SendPropertyChanging(); - this._WBS = value; - this.SendPropertyChanged("WBS"); - this.OnWBSChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_Start", DbType="DateTime")] - public System.Nullable Sch_Start - { - get - { - return this._Sch_Start; - } - set - { - if ((this._Sch_Start != value)) - { - this.OnSch_StartChanging(value); - this.SendPropertyChanging(); - this._Sch_Start = value; - this.SendPropertyChanged("Sch_Start"); - this.OnSch_StartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_End", DbType="DateTime")] - public System.Nullable Sch_End - { - get - { - return this._Sch_End; - } - set - { - if ((this._Sch_End != value)) - { - this.OnSch_EndChanging(value); - this.SendPropertyChanging(); - this._Sch_End = value; - this.SendPropertyChanged("Sch_End"); - this.OnSch_EndChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignersId", DbType="NVarChar(50)")] - public string DesignersId - { - get - { - return this._DesignersId; - } - set - { - if ((this._DesignersId != value)) - { - this.OnDesignersIdChanging(value); - this.SendPropertyChanging(); - this._DesignersId = value; - this.SendPropertyChanged("DesignersId"); - this.OnDesignersIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Designer", DbType="NVarChar(50)")] - public string Designer - { - get - { - return this._Designer; - } - set - { - if ((this._Designer != value)) - { - this.OnDesignerChanging(value); - this.SendPropertyChanging(); - this._Designer = value; - this.SendPropertyChanged("Designer"); - this.OnDesignerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio1", DbType="Decimal(18,2)")] - public System.Nullable Ratio1 - { - get - { - return this._Ratio1; - } - set - { - if ((this._Ratio1 != value)) - { - this.OnRatio1Changing(value); - this.SendPropertyChanging(); - this._Ratio1 = value; - this.SendPropertyChanged("Ratio1"); - this.OnRatio1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours1", DbType="Decimal(18,2)")] - public System.Nullable ManHours1 - { - get - { - return this._ManHours1; - } - set - { - if ((this._ManHours1 != value)) - { - this.OnManHours1Changing(value); - this.SendPropertyChanging(); - this._ManHours1 = value; - this.SendPropertyChanged("ManHours1"); - this.OnManHours1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckersId", DbType="NVarChar(50)")] - public string CheckersId - { - get - { - return this._CheckersId; - } - set - { - if ((this._CheckersId != value)) - { - this.OnCheckersIdChanging(value); - this.SendPropertyChanging(); - this._CheckersId = value; - this.SendPropertyChanged("CheckersId"); - this.OnCheckersIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Checker", DbType="NVarChar(50)")] - public string Checker - { - get - { - return this._Checker; - } - set - { - if ((this._Checker != value)) - { - this.OnCheckerChanging(value); - this.SendPropertyChanging(); - this._Checker = value; - this.SendPropertyChanged("Checker"); - this.OnCheckerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio2", DbType="Decimal(18,2)")] - public System.Nullable Ratio2 - { - get - { - return this._Ratio2; - } - set - { - if ((this._Ratio2 != value)) - { - this.OnRatio2Changing(value); - this.SendPropertyChanging(); - this._Ratio2 = value; - this.SendPropertyChanged("Ratio2"); - this.OnRatio2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours2", DbType="Decimal(18,2)")] - public System.Nullable ManHours2 - { - get - { - return this._ManHours2; - } - set - { - if ((this._ManHours2 != value)) - { - this.OnManHours2Changing(value); - this.SendPropertyChanging(); - this._ManHours2 = value; - this.SendPropertyChanged("ManHours2"); - this.OnManHours2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproversId", DbType="NVarChar(50)")] - public string ApproversId - { - get - { - return this._ApproversId; - } - set - { - if ((this._ApproversId != value)) - { - this.OnApproversIdChanging(value); - this.SendPropertyChanging(); - this._ApproversId = value; - this.SendPropertyChanged("ApproversId"); - this.OnApproversIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Approver", DbType="NVarChar(50)")] - public string Approver - { - get - { - return this._Approver; - } - set - { - if ((this._Approver != value)) - { - this.OnApproverChanging(value); - this.SendPropertyChanging(); - this._Approver = value; - this.SendPropertyChanged("Approver"); - this.OnApproverChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio3", DbType="Decimal(18,2)")] - public System.Nullable Ratio3 - { - get - { - return this._Ratio3; - } - set - { - if ((this._Ratio3 != value)) - { - this.OnRatio3Changing(value); - this.SendPropertyChanging(); - this._Ratio3 = value; - this.SendPropertyChanged("Ratio3"); - this.OnRatio3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours3", DbType="Decimal(18,2)")] - public System.Nullable ManHours3 - { - get - { - return this._ManHours3; - } - set - { - if ((this._ManHours3 != value)) - { - this.OnManHours3Changing(value); - this.SendPropertyChanging(); - this._ManHours3 = value; - this.SendPropertyChanged("ManHours3"); - this.OnManHours3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeadersId", DbType="NVarChar(50)")] - public string LeadersId - { - get - { - return this._LeadersId; - } - set - { - if ((this._LeadersId != value)) - { - this.OnLeadersIdChanging(value); - this.SendPropertyChanging(); - this._LeadersId = value; - this.SendPropertyChanged("LeadersId"); - this.OnLeadersIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Leader", DbType="NVarChar(50)")] - public string Leader - { - get - { - return this._Leader; - } - set - { - if ((this._Leader != value)) - { - this.OnLeaderChanging(value); - this.SendPropertyChanging(); - this._Leader = value; - this.SendPropertyChanged("Leader"); - this.OnLeaderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio4", DbType="Decimal(18,2)")] - public System.Nullable Ratio4 - { - get - { - return this._Ratio4; - } - set - { - if ((this._Ratio4 != value)) - { - this.OnRatio4Changing(value); - this.SendPropertyChanging(); - this._Ratio4 = value; - this.SendPropertyChanged("Ratio4"); - this.OnRatio4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours4", DbType="Decimal(18,2)")] - public System.Nullable ManHours4 - { - get - { - return this._ManHours4; - } - set - { - if ((this._ManHours4 != value)) - { - this.OnManHours4Changing(value); - this.SendPropertyChanging(); - this._ManHours4 = value; - this.SendPropertyChanged("ManHours4"); - this.OnManHours4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Types", DbType="NChar(10)")] - public string Types - { - get - { - return this._Types; - } - set - { - if ((this._Types != value)) - { - this.OnTypesChanging(value); - this.SendPropertyChanging(); - this._Types = value; - this.SendPropertyChanged("Types"); - this.OnTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISort", DbType="Int")] - public System.Nullable ISort - { - get - { - return this._ISort; - } - set - { - if ((this._ISort != value)) - { - this.OnISortChanging(value); - this.SendPropertyChanging(); - this._ISort = value; - this.SendPropertyChanged("ISort"); - this.OnISortChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SyncDataUserLogs")] - public partial class SyncDataUserLogs : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private int _Id; - - private string _BatchNo; - - private int _DataType; - - private string _DepatId; - - private string _UserId; - - private System.Nullable _CreatedTime; - - private System.Nullable _IsSuccess; - - private string _Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIdChanging(int value); - partial void OnIdChanged(); - partial void OnBatchNoChanging(string value); - partial void OnBatchNoChanged(); - partial void OnDataTypeChanging(int value); - partial void OnDataTypeChanged(); - partial void OnDepatIdChanging(string value); - partial void OnDepatIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnCreatedTimeChanging(System.Nullable value); - partial void OnCreatedTimeChanged(); - partial void OnIsSuccessChanging(System.Nullable value); - partial void OnIsSuccessChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public SyncDataUserLogs() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="id", Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] - public int Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this.OnIdChanging(value); - this.SendPropertyChanging(); - this._Id = value; - this.SendPropertyChanged("Id"); - this.OnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="batchNo", Storage="_BatchNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string BatchNo - { - get - { - return this._BatchNo; - } - set - { - if ((this._BatchNo != value)) - { - this.OnBatchNoChanging(value); - this.SendPropertyChanging(); - this._BatchNo = value; - this.SendPropertyChanged("BatchNo"); - this.OnBatchNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="dataType", Storage="_DataType", DbType="Int NOT NULL")] - public int DataType - { - get - { - return this._DataType; - } - set - { - if ((this._DataType != value)) - { - this.OnDataTypeChanging(value); - this.SendPropertyChanging(); - this._DataType = value; - this.SendPropertyChanged("DataType"); - this.OnDataTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="depatId", Storage="_DepatId", DbType="NVarChar(50)")] - public string DepatId - { - get - { - return this._DepatId; - } - set - { - if ((this._DepatId != value)) - { - this.OnDepatIdChanging(value); - this.SendPropertyChanging(); - this._DepatId = value; - this.SendPropertyChanged("DepatId"); - this.OnDepatIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="userId", Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="createdTime", Storage="_CreatedTime", DbType="DateTime")] - public System.Nullable CreatedTime - { - get - { - return this._CreatedTime; - } - set - { - if ((this._CreatedTime != value)) - { - this.OnCreatedTimeChanging(value); - this.SendPropertyChanging(); - this._CreatedTime = value; - this.SendPropertyChanged("CreatedTime"); - this.OnCreatedTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSuccess", DbType="Bit")] - public System.Nullable IsSuccess - { - get - { - return this._IsSuccess; - } - set - { - if ((this._IsSuccess != value)) - { - this.OnIsSuccessChanging(value); - this.SendPropertyChanging(); - this._IsSuccess = value; - this.SendPropertyChanged("IsSuccess"); - this.OnIsSuccessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ActualManHourMonthSet")] - public partial class Sys_ActualManHourMonthSet : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ActualManHourMonthId; - - private string _DepartId; - - private string _Person; - - private System.Nullable _HeadCount; - - private string _Years; - - private System.Nullable _Month1; - - private System.Nullable _Month2; - - private System.Nullable _Month3; - - private System.Nullable _Month4; - - private System.Nullable _Month5; - - private System.Nullable _Month6; - - private System.Nullable _Month7; - - private System.Nullable _Month8; - - private System.Nullable _Month9; - - private System.Nullable _Month10; - - private System.Nullable _Month11; - - private System.Nullable _Month12; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnActualManHourMonthIdChanging(string value); - partial void OnActualManHourMonthIdChanged(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnPersonChanging(string value); - partial void OnPersonChanged(); - partial void OnHeadCountChanging(System.Nullable value); - partial void OnHeadCountChanged(); - partial void OnYearsChanging(string value); - partial void OnYearsChanged(); - partial void OnMonth1Changing(System.Nullable value); - partial void OnMonth1Changed(); - partial void OnMonth2Changing(System.Nullable value); - partial void OnMonth2Changed(); - partial void OnMonth3Changing(System.Nullable value); - partial void OnMonth3Changed(); - partial void OnMonth4Changing(System.Nullable value); - partial void OnMonth4Changed(); - partial void OnMonth5Changing(System.Nullable value); - partial void OnMonth5Changed(); - partial void OnMonth6Changing(System.Nullable value); - partial void OnMonth6Changed(); - partial void OnMonth7Changing(System.Nullable value); - partial void OnMonth7Changed(); - partial void OnMonth8Changing(System.Nullable value); - partial void OnMonth8Changed(); - partial void OnMonth9Changing(System.Nullable value); - partial void OnMonth9Changed(); - partial void OnMonth10Changing(System.Nullable value); - partial void OnMonth10Changed(); - partial void OnMonth11Changing(System.Nullable value); - partial void OnMonth11Changed(); - partial void OnMonth12Changing(System.Nullable value); - partial void OnMonth12Changed(); - #endregion - - public Sys_ActualManHourMonthSet() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualManHourMonthId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ActualManHourMonthId - { - get - { - return this._ActualManHourMonthId; - } - set - { - if ((this._ActualManHourMonthId != value)) - { - this.OnActualManHourMonthIdChanging(value); - this.SendPropertyChanging(); - this._ActualManHourMonthId = value; - this.SendPropertyChanged("ActualManHourMonthId"); - this.OnActualManHourMonthIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Person", DbType="NChar(10)")] - public string Person - { - get - { - return this._Person; - } - set - { - if ((this._Person != value)) - { - this.OnPersonChanging(value); - this.SendPropertyChanging(); - this._Person = value; - this.SendPropertyChanged("Person"); - this.OnPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeadCount", DbType="Int")] - public System.Nullable HeadCount - { - get - { - return this._HeadCount; - } - set - { - if ((this._HeadCount != value)) - { - this.OnHeadCountChanging(value); - this.SendPropertyChanging(); - this._HeadCount = value; - this.SendPropertyChanged("HeadCount"); - this.OnHeadCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Years", DbType="NVarChar(10)")] - public string Years - { - get - { - return this._Years; - } - set - { - if ((this._Years != value)) - { - this.OnYearsChanging(value); - this.SendPropertyChanging(); - this._Years = value; - this.SendPropertyChanged("Years"); - this.OnYearsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month1", DbType="Decimal(18,2)")] - public System.Nullable Month1 - { - get - { - return this._Month1; - } - set - { - if ((this._Month1 != value)) - { - this.OnMonth1Changing(value); - this.SendPropertyChanging(); - this._Month1 = value; - this.SendPropertyChanged("Month1"); - this.OnMonth1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month2", DbType="Decimal(18,2)")] - public System.Nullable Month2 - { - get - { - return this._Month2; - } - set - { - if ((this._Month2 != value)) - { - this.OnMonth2Changing(value); - this.SendPropertyChanging(); - this._Month2 = value; - this.SendPropertyChanged("Month2"); - this.OnMonth2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month3", DbType="Decimal(18,2)")] - public System.Nullable Month3 - { - get - { - return this._Month3; - } - set - { - if ((this._Month3 != value)) - { - this.OnMonth3Changing(value); - this.SendPropertyChanging(); - this._Month3 = value; - this.SendPropertyChanged("Month3"); - this.OnMonth3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month4", DbType="Decimal(18,2)")] - public System.Nullable Month4 - { - get - { - return this._Month4; - } - set - { - if ((this._Month4 != value)) - { - this.OnMonth4Changing(value); - this.SendPropertyChanging(); - this._Month4 = value; - this.SendPropertyChanged("Month4"); - this.OnMonth4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month5", DbType="Decimal(18,2)")] - public System.Nullable Month5 - { - get - { - return this._Month5; - } - set - { - if ((this._Month5 != value)) - { - this.OnMonth5Changing(value); - this.SendPropertyChanging(); - this._Month5 = value; - this.SendPropertyChanged("Month5"); - this.OnMonth5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month6", DbType="Decimal(18,2)")] - public System.Nullable Month6 - { - get - { - return this._Month6; - } - set - { - if ((this._Month6 != value)) - { - this.OnMonth6Changing(value); - this.SendPropertyChanging(); - this._Month6 = value; - this.SendPropertyChanged("Month6"); - this.OnMonth6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month7", DbType="Decimal(18,2)")] - public System.Nullable Month7 - { - get - { - return this._Month7; - } - set - { - if ((this._Month7 != value)) - { - this.OnMonth7Changing(value); - this.SendPropertyChanging(); - this._Month7 = value; - this.SendPropertyChanged("Month7"); - this.OnMonth7Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month8", DbType="Decimal(18,2)")] - public System.Nullable Month8 - { - get - { - return this._Month8; - } - set - { - if ((this._Month8 != value)) - { - this.OnMonth8Changing(value); - this.SendPropertyChanging(); - this._Month8 = value; - this.SendPropertyChanged("Month8"); - this.OnMonth8Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month9", DbType="Decimal(18,2)")] - public System.Nullable Month9 - { - get - { - return this._Month9; - } - set - { - if ((this._Month9 != value)) - { - this.OnMonth9Changing(value); - this.SendPropertyChanging(); - this._Month9 = value; - this.SendPropertyChanged("Month9"); - this.OnMonth9Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month10", DbType="Decimal(18,2)")] - public System.Nullable Month10 - { - get - { - return this._Month10; - } - set - { - if ((this._Month10 != value)) - { - this.OnMonth10Changing(value); - this.SendPropertyChanging(); - this._Month10 = value; - this.SendPropertyChanged("Month10"); - this.OnMonth10Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month11", DbType="Decimal(18,2)")] - public System.Nullable Month11 - { - get - { - return this._Month11; - } - set - { - if ((this._Month11 != value)) - { - this.OnMonth11Changing(value); - this.SendPropertyChanging(); - this._Month11 = value; - this.SendPropertyChanged("Month11"); - this.OnMonth11Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month12", DbType="Decimal(18,2)")] - public System.Nullable Month12 - { - get - { - return this._Month12; - } - set - { - if ((this._Month12 != value)) - { - this.OnMonth12Changing(value); - this.SendPropertyChanging(); - this._Month12 = value; - this.SendPropertyChanged("Month12"); - this.OnMonth12Changed(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ButtonPower")] - public partial class Sys_ButtonPower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonPowerID; - - private string _RoleId; - - private string _MenuId; - - private string _ButtonToMenuId; - - private EntityRef _Sys_Menu; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonPowerIDChanging(string value); - partial void OnButtonPowerIDChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - #endregion - - public Sys_ButtonPower() - { - this._Sys_Menu = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonPowerID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonPowerID - { - get - { - return this._ButtonPowerID; - } - set - { - if ((this._ButtonPowerID != value)) - { - this.OnButtonPowerIDChanging(value); - this.SendPropertyChanging(); - this._ButtonPowerID = value; - this.SendPropertyChanged("ButtonPowerID"); - this.OnButtonPowerIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50)")] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Sys_ButtonPower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Sys_ButtonPower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_ButtonPower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_ButtonPower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ButtonToMenu")] - public partial class Sys_ButtonToMenu : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonToMenuId; - - private string _MenuId; - - private string _ButtonName; - - private string _ButtonEnName; - - private System.Nullable _SortIndex; - - private EntityRef _Sys_Menu; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonNameChanging(string value); - partial void OnButtonNameChanged(); - partial void OnButtonEnNameChanging(string value); - partial void OnButtonEnNameChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - #endregion - - public Sys_ButtonToMenu() - { - this._Sys_Menu = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonName", DbType="NVarChar(50)")] - public string ButtonName - { - get - { - return this._ButtonName; - } - set - { - if ((this._ButtonName != value)) - { - this.OnButtonNameChanging(value); - this.SendPropertyChanging(); - this._ButtonName = value; - this.SendPropertyChanged("ButtonName"); - this.OnButtonNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonEnName", DbType="NVarChar(50)")] - public string ButtonEnName - { - get - { - return this._ButtonEnName; - } - set - { - if ((this._ButtonEnName != value)) - { - this.OnButtonEnNameChanging(value); - this.SendPropertyChanging(); - this._ButtonEnName = value; - this.SendPropertyChanged("ButtonEnName"); - this.OnButtonEnNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ButtonToMenu_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Sys_ButtonToMenu.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Sys_ButtonToMenu.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Const")] - public partial class Sys_Const : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ID; - - private string _ConstValue; - - private string _ConstText; - - private System.Nullable _SortIndex; - - private string _GroupId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIDChanging(string value); - partial void OnIDChanged(); - partial void OnConstValueChanging(string value); - partial void OnConstValueChanged(); - partial void OnConstTextChanging(string value); - partial void OnConstTextChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnGroupIdChanging(string value); - partial void OnGroupIdChanged(); - #endregion - - public Sys_Const() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this.OnIDChanging(value); - this.SendPropertyChanging(); - this._ID = value; - this.SendPropertyChanged("ID"); - this.OnIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(50)")] - public string ConstValue - { - get - { - return this._ConstValue; - } - set - { - if ((this._ConstValue != value)) - { - this.OnConstValueChanging(value); - this.SendPropertyChanging(); - this._ConstValue = value; - this.SendPropertyChanged("ConstValue"); - this.OnConstValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstText", DbType="NVarChar(100)")] - public string ConstText - { - get - { - return this._ConstText; - } - set - { - if ((this._ConstText != value)) - { - this.OnConstTextChanging(value); - this.SendPropertyChanging(); - this._ConstText = value; - this.SendPropertyChanged("ConstText"); - this.OnConstTextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupId", DbType="NVarChar(50)")] - public string GroupId - { - get - { - return this._GroupId; - } - set - { - if ((this._GroupId != value)) - { - this.OnGroupIdChanging(value); - this.SendPropertyChanging(); - this._GroupId = value; - this.SendPropertyChanged("GroupId"); - this.OnGroupIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ErrLogInfo")] - public partial class Sys_ErrLogInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ErrLogId; - - private string _ErrType; - - private string _ErrMessage; - - private string _ErrStackTrace; - - private System.Nullable _ErrTime; - - private string _ErrUrl; - - private string _ErrIP; - - private string _UserName; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnErrLogIdChanging(string value); - partial void OnErrLogIdChanged(); - partial void OnErrTypeChanging(string value); - partial void OnErrTypeChanged(); - partial void OnErrMessageChanging(string value); - partial void OnErrMessageChanged(); - partial void OnErrStackTraceChanging(string value); - partial void OnErrStackTraceChanged(); - partial void OnErrTimeChanging(System.Nullable value); - partial void OnErrTimeChanged(); - partial void OnErrUrlChanging(string value); - partial void OnErrUrlChanged(); - partial void OnErrIPChanging(string value); - partial void OnErrIPChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - #endregion - - public Sys_ErrLogInfo() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ErrLogId - { - get - { - return this._ErrLogId; - } - set - { - if ((this._ErrLogId != value)) - { - this.OnErrLogIdChanging(value); - this.SendPropertyChanging(); - this._ErrLogId = value; - this.SendPropertyChanged("ErrLogId"); - this.OnErrLogIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrType", DbType="NVarChar(500)")] - public string ErrType - { - get - { - return this._ErrType; - } - set - { - if ((this._ErrType != value)) - { - this.OnErrTypeChanging(value); - this.SendPropertyChanging(); - this._ErrType = value; - this.SendPropertyChanged("ErrType"); - this.OnErrTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrMessage", DbType="NVarChar(2000)")] - public string ErrMessage - { - get - { - return this._ErrMessage; - } - set - { - if ((this._ErrMessage != value)) - { - this.OnErrMessageChanging(value); - this.SendPropertyChanging(); - this._ErrMessage = value; - this.SendPropertyChanged("ErrMessage"); - this.OnErrMessageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrStackTrace", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string ErrStackTrace - { - get - { - return this._ErrStackTrace; - } - set - { - if ((this._ErrStackTrace != value)) - { - this.OnErrStackTraceChanging(value); - this.SendPropertyChanging(); - this._ErrStackTrace = value; - this.SendPropertyChanged("ErrStackTrace"); - this.OnErrStackTraceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrTime", DbType="DateTime")] - public System.Nullable ErrTime - { - get - { - return this._ErrTime; - } - set - { - if ((this._ErrTime != value)) - { - this.OnErrTimeChanging(value); - this.SendPropertyChanging(); - this._ErrTime = value; - this.SendPropertyChanged("ErrTime"); - this.OnErrTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrUrl", DbType="NVarChar(800)")] - public string ErrUrl - { - get - { - return this._ErrUrl; - } - set - { - if ((this._ErrUrl != value)) - { - this.OnErrUrlChanging(value); - this.SendPropertyChanging(); - this._ErrUrl = value; - this.SendPropertyChanged("ErrUrl"); - this.OnErrUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrIP", DbType="NVarChar(50)")] - public string ErrIP - { - get - { - return this._ErrIP; - } - set - { - if ((this._ErrIP != value)) - { - this.OnErrIPChanging(value); - this.SendPropertyChanging(); - this._ErrIP = value; - this.SendPropertyChanged("ErrIP"); - this.OnErrIPChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Log")] - public partial class Sys_Log : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LogId; - - private string _UserId; - - private string _ProjectId; - - private System.Nullable _OperationTime; - - private string _Ip; - - private string _HostName; - - private string _OperationLog; - - private string _SystemId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLogIdChanging(string value); - partial void OnLogIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnOperationTimeChanging(System.Nullable value); - partial void OnOperationTimeChanged(); - partial void OnIpChanging(string value); - partial void OnIpChanged(); - partial void OnHostNameChanging(string value); - partial void OnHostNameChanged(); - partial void OnOperationLogChanging(string value); - partial void OnOperationLogChanged(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); - #endregion - - public Sys_Log() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LogId - { - get - { - return this._LogId; - } - set - { - if ((this._LogId != value)) - { - this.OnLogIdChanging(value); - this.SendPropertyChanging(); - this._LogId = value; - this.SendPropertyChanged("LogId"); - this.OnLogIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationTime", DbType="DateTime")] - public System.Nullable OperationTime - { - get - { - return this._OperationTime; - } - set - { - if ((this._OperationTime != value)) - { - this.OnOperationTimeChanging(value); - this.SendPropertyChanging(); - this._OperationTime = value; - this.SendPropertyChanged("OperationTime"); - this.OnOperationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ip", DbType="NVarChar(20)")] - public string Ip - { - get - { - return this._Ip; - } - set - { - if ((this._Ip != value)) - { - this.OnIpChanging(value); - this.SendPropertyChanging(); - this._Ip = value; - this.SendPropertyChanged("Ip"); - this.OnIpChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HostName", DbType="NVarChar(100)")] - public string HostName - { - get - { - return this._HostName; - } - set - { - if ((this._HostName != value)) - { - this.OnHostNameChanging(value); - this.SendPropertyChanging(); - this._HostName = value; - this.SendPropertyChanged("HostName"); - this.OnHostNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationLog", DbType="NVarChar(1000)")] - public string OperationLog - { - get - { - return this._OperationLog; - } - set - { - if ((this._OperationLog != value)) - { - this.OnOperationLogChanging(value); - this.SendPropertyChanging(); - this._OperationLog = value; - this.SendPropertyChanged("OperationLog"); - this.OnOperationLogChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Menu")] - public partial class Sys_Menu : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MenuId; - - private string _MenuName; - - private string _MenuEnName; - - private string _Url; - - private System.Nullable _SortIndex; - - private string _SuperMenu; - - private EntitySet _Sys_ButtonToMenu; - - private EntitySet _Sys_ButtonPower; - - private EntitySet _Sys_RolePower; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnMenuNameChanging(string value); - partial void OnMenuNameChanged(); - partial void OnMenuEnNameChanging(string value); - partial void OnMenuEnNameChanged(); - partial void OnUrlChanging(string value); - partial void OnUrlChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnSuperMenuChanging(string value); - partial void OnSuperMenuChanged(); - #endregion - - public Sys_Menu() - { - this._Sys_ButtonToMenu = new EntitySet(new Action(this.attach_Sys_ButtonToMenu), new Action(this.detach_Sys_ButtonToMenu)); - this._Sys_ButtonPower = new EntitySet(new Action(this.attach_Sys_ButtonPower), new Action(this.detach_Sys_ButtonPower)); - this._Sys_RolePower = new EntitySet(new Action(this.attach_Sys_RolePower), new Action(this.detach_Sys_RolePower)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(50)")] - public string MenuName - { - get - { - return this._MenuName; - } - set - { - if ((this._MenuName != value)) - { - this.OnMenuNameChanging(value); - this.SendPropertyChanging(); - this._MenuName = value; - this.SendPropertyChanged("MenuName"); - this.OnMenuNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuEnName", DbType="NVarChar(50)")] - public string MenuEnName - { - get - { - return this._MenuEnName; - } - set - { - if ((this._MenuEnName != value)) - { - this.OnMenuEnNameChanging(value); - this.SendPropertyChanging(); - this._MenuEnName = value; - this.SendPropertyChanged("MenuEnName"); - this.OnMenuEnNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Url", DbType="NVarChar(60)")] - public string Url - { - get - { - return this._Url; - } - set - { - if ((this._Url != value)) - { - this.OnUrlChanging(value); - this.SendPropertyChanging(); - this._Url = value; - this.SendPropertyChanged("Url"); - this.OnUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="SmallInt")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperMenu", DbType="NVarChar(50)")] - public string SuperMenu - { - get - { - return this._SuperMenu; - } - set - { - if ((this._SuperMenu != value)) - { - this.OnSuperMenuChanging(value); - this.SendPropertyChanging(); - this._SuperMenu = value; - this.SendPropertyChanged("SuperMenu"); - this.OnSuperMenuChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ButtonToMenu_Sys_Menu", Storage="_Sys_ButtonToMenu", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Sys_ButtonToMenu - { - get - { - return this._Sys_ButtonToMenu; - } - set - { - this._Sys_ButtonToMenu.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Menu", Storage="_Sys_ButtonPower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Sys_ButtonPower - { - get - { - return this._Sys_ButtonPower; - } - set - { - this._Sys_ButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_Menu", Storage="_Sys_RolePower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Sys_RolePower - { - get - { - return this._Sys_RolePower; - } - set - { - this._Sys_RolePower.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Sys_ButtonToMenu(Sys_ButtonToMenu entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Sys_ButtonToMenu(Sys_ButtonToMenu entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Role")] - public partial class Sys_Role : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RoleId; - - private string _RoleCode; - - private string _RoleName; - - private string _Def; - - private System.Nullable _SortIndex; - - private System.Nullable _IsAuditFlow; - - private EntitySet _Sys_ButtonPower; - - private EntitySet _Sys_RolePower; - - private EntitySet _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnRoleCodeChanging(string value); - partial void OnRoleCodeChanged(); - partial void OnRoleNameChanging(string value); - partial void OnRoleNameChanged(); - partial void OnDefChanging(string value); - partial void OnDefChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnIsAuditFlowChanging(System.Nullable value); - partial void OnIsAuditFlowChanged(); - #endregion - - public Sys_Role() - { - this._Sys_ButtonPower = new EntitySet(new Action(this.attach_Sys_ButtonPower), new Action(this.detach_Sys_ButtonPower)); - this._Sys_RolePower = new EntitySet(new Action(this.attach_Sys_RolePower), new Action(this.detach_Sys_RolePower)); - this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleCode", DbType="NVarChar(50)")] - public string RoleCode - { - get - { - return this._RoleCode; - } - set - { - if ((this._RoleCode != value)) - { - this.OnRoleCodeChanging(value); - this.SendPropertyChanging(); - this._RoleCode = value; - this.SendPropertyChanged("RoleCode"); - this.OnRoleCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RoleName - { - get - { - return this._RoleName; - } - set - { - if ((this._RoleName != value)) - { - this.OnRoleNameChanging(value); - this.SendPropertyChanging(); - this._RoleName = value; - this.SendPropertyChanged("RoleName"); - this.OnRoleNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Def", DbType="NVarChar(100)")] - public string Def - { - get - { - return this._Def; - } - set - { - if ((this._Def != value)) - { - this.OnDefChanging(value); - this.SendPropertyChanging(); - this._Def = value; - this.SendPropertyChanged("Def"); - this.OnDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAuditFlow", DbType="Bit")] - public System.Nullable IsAuditFlow - { - get - { - return this._IsAuditFlow; - } - set - { - if ((this._IsAuditFlow != value)) - { - this.OnIsAuditFlowChanging(value); - this.SendPropertyChanging(); - this._IsAuditFlow = value; - this.SendPropertyChanged("IsAuditFlow"); - this.OnIsAuditFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Role", Storage="_Sys_ButtonPower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_ButtonPower - { - get - { - return this._Sys_ButtonPower; - } - set - { - this._Sys_ButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_RolePower", Storage="_Sys_RolePower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_RolePower - { - get - { - return this._Sys_RolePower; - } - set - { - this._Sys_RolePower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Sys_Role", Storage="_Sys_User", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_User - { - get - { - return this._Sys_User; - } - set - { - this._Sys_User.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_RolePower")] - public partial class Sys_RolePower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RolePowerId; - - private string _RoleId; - - private string _MenuId; - - private string _ButtonToMenus; - - private EntityRef _Sys_Menu; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRolePowerIdChanging(string value); - partial void OnRolePowerIdChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonToMenusChanging(string value); - partial void OnButtonToMenusChanged(); - #endregion - - public Sys_RolePower() - { - this._Sys_Menu = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RolePowerId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RolePowerId - { - get - { - return this._RolePowerId; - } - set - { - if ((this._RolePowerId != value)) - { - this.OnRolePowerIdChanging(value); - this.SendPropertyChanging(); - this._RolePowerId = value; - this.SendPropertyChanged("RolePowerId"); - this.OnRolePowerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenus", DbType="NVarChar(1000)")] - public string ButtonToMenus - { - get - { - return this._ButtonToMenus; - } - set - { - if ((this._ButtonToMenus != value)) - { - this.OnButtonToMenusChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenus = value; - this.SendPropertyChanged("ButtonToMenus"); - this.OnButtonToMenusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Sys_RolePower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Sys_RolePower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_RolePower", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_RolePower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_RolePower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Set")] - public partial class Sys_Set : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private int _SetId; - - private string _SetName; - - private System.Nullable _IsAuto; - - private string _SetValue; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSetIdChanging(int value); - partial void OnSetIdChanged(); - partial void OnSetNameChanging(string value); - partial void OnSetNameChanged(); - partial void OnIsAutoChanging(System.Nullable value); - partial void OnIsAutoChanged(); - partial void OnSetValueChanging(string value); - partial void OnSetValueChanged(); - #endregion - - public Sys_Set() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetId", DbType="Int NOT NULL", IsPrimaryKey=true)] - public int SetId - { - get - { - return this._SetId; - } - set - { - if ((this._SetId != value)) - { - this.OnSetIdChanging(value); - this.SendPropertyChanging(); - this._SetId = value; - this.SendPropertyChanged("SetId"); - this.OnSetIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetName", DbType="NVarChar(50)")] - public string SetName - { - get - { - return this._SetName; - } - set - { - if ((this._SetName != value)) - { - this.OnSetNameChanging(value); - this.SendPropertyChanging(); - this._SetName = value; - this.SendPropertyChanged("SetName"); - this.OnSetNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAuto", DbType="Bit")] - public System.Nullable IsAuto - { - get - { - return this._IsAuto; - } - set - { - if ((this._IsAuto != value)) - { - this.OnIsAutoChanging(value); - this.SendPropertyChanging(); - this._IsAuto = value; - this.SendPropertyChanged("IsAuto"); - this.OnIsAutoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetValue", DbType="NVarChar(50)")] - public string SetValue - { - get - { - return this._SetValue; - } - set - { - if ((this._SetValue != value)) - { - this.OnSetValueChanging(value); - this.SendPropertyChanging(); - this._SetValue = value; - this.SendPropertyChanged("SetValue"); - this.OnSetValueChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_System")] - public partial class Sys_System : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SystemId; - - private string _SystemName; - - private string _SystemType; - - private System.Nullable _SorIndex; - - private System.Nullable _IsEnable; - - private System.Nullable _IsMoreProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); - partial void OnSystemNameChanging(string value); - partial void OnSystemNameChanged(); - partial void OnSystemTypeChanging(string value); - partial void OnSystemTypeChanged(); - partial void OnSorIndexChanging(System.Nullable value); - partial void OnSorIndexChanged(); - partial void OnIsEnableChanging(System.Nullable value); - partial void OnIsEnableChanged(); - partial void OnIsMoreProjectChanging(System.Nullable value); - partial void OnIsMoreProjectChanged(); - #endregion - - public Sys_System() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(120)")] - public string SystemName - { - get - { - return this._SystemName; - } - set - { - if ((this._SystemName != value)) - { - this.OnSystemNameChanging(value); - this.SendPropertyChanging(); - this._SystemName = value; - this.SendPropertyChanged("SystemName"); - this.OnSystemNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemType", DbType="Char(1)")] - public string SystemType - { - get - { - return this._SystemType; - } - set - { - if ((this._SystemType != value)) - { - this.OnSystemTypeChanging(value); - this.SendPropertyChanging(); - this._SystemType = value; - this.SendPropertyChanged("SystemType"); - this.OnSystemTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SorIndex", DbType="Int")] - public System.Nullable SorIndex - { - get - { - return this._SorIndex; - } - set - { - if ((this._SorIndex != value)) - { - this.OnSorIndexChanging(value); - this.SendPropertyChanging(); - this._SorIndex = value; - this.SendPropertyChanged("SorIndex"); - this.OnSorIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEnable", DbType="Bit")] - public System.Nullable IsEnable - { - get - { - return this._IsEnable; - } - set - { - if ((this._IsEnable != value)) - { - this.OnIsEnableChanging(value); - this.SendPropertyChanging(); - this._IsEnable = value; - this.SendPropertyChanged("IsEnable"); - this.OnIsEnableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMoreProject", DbType="Bit")] - public System.Nullable IsMoreProject - { - get - { - return this._IsMoreProject; - } - set - { - if ((this._IsMoreProject != value)) - { - this.OnIsMoreProjectChanging(value); - this.SendPropertyChanging(); - this._IsMoreProject = value; - this.SendPropertyChanged("IsMoreProject"); - this.OnIsMoreProjectChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_User")] - public partial class Sys_User : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UserId; - - private string _Account; - - private string _UserCode; - - private string _Password; - - private string _UserName; - - private string _ChineseName; - - private string _RoleId; - - private System.Nullable _IsPost; - - private string _UnitId; - - private string _DepartId; - - private System.Nullable _IsHeadMan; - - private string _EmailPassword; - - private string _Email; - - private string _LoginProjectId; - - private string _Phone; - - private string _Remark; - - private string _ActType; - - private System.Nullable _IsCTE; - - private System.Nullable _IsCalculated; - - private System.Nullable _IsThirdParty; - - private string _ManagerName; - - private EntitySet _Design_Input; - - private EntitySet _User; - - private EntitySet _Design_Notice; - - private EntitySet _Design_Notice_Sys_User1; - - private EntitySet _Design_NoticeFlow; - - private EntitySet _Editor_AreaConcern; - - private EntitySet _Editor_Punch; - - private EntitySet _Editor_Punch_Sys_User1; - - private EntitySet _Editor_Punch_Sys_User2; - - private EntitySet _File_Template; - - private EntitySet _File_UserGuideAndQA; - - private EntitySet _ManHours_Plan; - - private EntitySet _ManHours_PlanDetail; - - private EntitySet _ManHours_PlanManHours; - - private EntityRef _Base_Depart; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnAccountChanging(string value); - partial void OnAccountChanged(); - partial void OnUserCodeChanging(string value); - partial void OnUserCodeChanged(); - partial void OnPasswordChanging(string value); - partial void OnPasswordChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - partial void OnChineseNameChanging(string value); - partial void OnChineseNameChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnIsPostChanging(System.Nullable value); - partial void OnIsPostChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnIsHeadManChanging(System.Nullable value); - partial void OnIsHeadManChanged(); - partial void OnEmailPasswordChanging(string value); - partial void OnEmailPasswordChanged(); - partial void OnEmailChanging(string value); - partial void OnEmailChanged(); - partial void OnLoginProjectIdChanging(string value); - partial void OnLoginProjectIdChanged(); - partial void OnPhoneChanging(string value); - partial void OnPhoneChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnActTypeChanging(string value); - partial void OnActTypeChanged(); - partial void OnIsCTEChanging(System.Nullable value); - partial void OnIsCTEChanged(); - partial void OnIsCalculatedChanging(System.Nullable value); - partial void OnIsCalculatedChanged(); - partial void OnIsThirdPartyChanging(System.Nullable value); - partial void OnIsThirdPartyChanged(); - partial void OnManagerNameChanging(string value); - partial void OnManagerNameChanged(); - #endregion - - public Sys_User() - { - this._Design_Input = new EntitySet(new Action(this.attach_Design_Input), new Action(this.detach_Design_Input)); - this._User = new EntitySet(new Action(this.attach_User), new Action(this.detach_User)); - this._Design_Notice = new EntitySet(new Action(this.attach_Design_Notice), new Action(this.detach_Design_Notice)); - this._Design_Notice_Sys_User1 = new EntitySet(new Action(this.attach_Design_Notice_Sys_User1), new Action(this.detach_Design_Notice_Sys_User1)); - this._Design_NoticeFlow = new EntitySet(new Action(this.attach_Design_NoticeFlow), new Action(this.detach_Design_NoticeFlow)); - this._Editor_AreaConcern = new EntitySet(new Action(this.attach_Editor_AreaConcern), new Action(this.detach_Editor_AreaConcern)); - this._Editor_Punch = new EntitySet(new Action(this.attach_Editor_Punch), new Action(this.detach_Editor_Punch)); - this._Editor_Punch_Sys_User1 = new EntitySet(new Action(this.attach_Editor_Punch_Sys_User1), new Action(this.detach_Editor_Punch_Sys_User1)); - this._Editor_Punch_Sys_User2 = new EntitySet(new Action(this.attach_Editor_Punch_Sys_User2), new Action(this.detach_Editor_Punch_Sys_User2)); - this._File_Template = new EntitySet(new Action(this.attach_File_Template), new Action(this.detach_File_Template)); - this._File_UserGuideAndQA = new EntitySet(new Action(this.attach_File_UserGuideAndQA), new Action(this.detach_File_UserGuideAndQA)); - this._ManHours_Plan = new EntitySet(new Action(this.attach_ManHours_Plan), new Action(this.detach_ManHours_Plan)); - this._ManHours_PlanDetail = new EntitySet(new Action(this.attach_ManHours_PlanDetail), new Action(this.detach_ManHours_PlanDetail)); - this._ManHours_PlanManHours = new EntitySet(new Action(this.attach_ManHours_PlanManHours), new Action(this.detach_ManHours_PlanManHours)); - this._Base_Depart = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this.OnAccountChanging(value); - this.SendPropertyChanging(); - this._Account = value; - this.SendPropertyChanged("Account"); - this.OnAccountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserCode", DbType="NVarChar(50)")] - public string UserCode - { - get - { - return this._UserCode; - } - set - { - if ((this._UserCode != value)) - { - this.OnUserCodeChanging(value); - this.SendPropertyChanging(); - this._UserCode = value; - this.SendPropertyChanged("UserCode"); - this.OnUserCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="NVarChar(50)")] - public string Password - { - get - { - return this._Password; - } - set - { - if ((this._Password != value)) - { - this.OnPasswordChanging(value); - this.SendPropertyChanging(); - this._Password = value; - this.SendPropertyChanged("Password"); - this.OnPasswordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChineseName", DbType="NVarChar(20)")] - public string ChineseName - { - get - { - return this._ChineseName; - } - set - { - if ((this._ChineseName != value)) - { - this.OnChineseNameChanging(value); - this.SendPropertyChanging(); - this._ChineseName = value; - this.SendPropertyChanged("ChineseName"); - this.OnChineseNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPost", DbType="Bit")] - public System.Nullable IsPost - { - get - { - return this._IsPost; - } - set - { - if ((this._IsPost != value)) - { - this.OnIsPostChanging(value); - this.SendPropertyChanging(); - this._IsPost = value; - this.SendPropertyChanged("IsPost"); - this.OnIsPostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - if (this._Base_Depart.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHeadMan", DbType="Bit")] - public System.Nullable IsHeadMan - { - get - { - return this._IsHeadMan; - } - set - { - if ((this._IsHeadMan != value)) - { - this.OnIsHeadManChanging(value); - this.SendPropertyChanging(); - this._IsHeadMan = value; - this.SendPropertyChanged("IsHeadMan"); - this.OnIsHeadManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailPassword", DbType="NVarChar(50)")] - public string EmailPassword - { - get - { - return this._EmailPassword; - } - set - { - if ((this._EmailPassword != value)) - { - this.OnEmailPasswordChanging(value); - this.SendPropertyChanging(); - this._EmailPassword = value; - this.SendPropertyChanged("EmailPassword"); - this.OnEmailPasswordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(50)")] - public string Email - { - get - { - return this._Email; - } - set - { - if ((this._Email != value)) - { - this.OnEmailChanging(value); - this.SendPropertyChanging(); - this._Email = value; - this.SendPropertyChanged("Email"); - this.OnEmailChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoginProjectId", DbType="NVarChar(50)")] - public string LoginProjectId - { - get - { - return this._LoginProjectId; - } - set - { - if ((this._LoginProjectId != value)) - { - this.OnLoginProjectIdChanging(value); - this.SendPropertyChanging(); - this._LoginProjectId = value; - this.SendPropertyChanged("LoginProjectId"); - this.OnLoginProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phone", DbType="NVarChar(50)")] - public string Phone - { - get - { - return this._Phone; - } - set - { - if ((this._Phone != value)) - { - this.OnPhoneChanging(value); - this.SendPropertyChanging(); - this._Phone = value; - this.SendPropertyChanged("Phone"); - this.OnPhoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActType", DbType="NVarChar(50)")] - public string ActType - { - get - { - return this._ActType; - } - set - { - if ((this._ActType != value)) - { - this.OnActTypeChanging(value); - this.SendPropertyChanging(); - this._ActType = value; - this.SendPropertyChanged("ActType"); - this.OnActTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCTE", DbType="Bit")] - public System.Nullable IsCTE - { - get - { - return this._IsCTE; - } - set - { - if ((this._IsCTE != value)) - { - this.OnIsCTEChanging(value); - this.SendPropertyChanging(); - this._IsCTE = value; - this.SendPropertyChanged("IsCTE"); - this.OnIsCTEChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCalculated", DbType="Bit")] - public System.Nullable IsCalculated - { - get - { - return this._IsCalculated; - } - set - { - if ((this._IsCalculated != value)) - { - this.OnIsCalculatedChanging(value); - this.SendPropertyChanging(); - this._IsCalculated = value; - this.SendPropertyChanged("IsCalculated"); - this.OnIsCalculatedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsThirdParty", DbType="Bit")] - public System.Nullable IsThirdParty - { - get - { - return this._IsThirdParty; - } - set - { - if ((this._IsThirdParty != value)) - { - this.OnIsThirdPartyChanging(value); - this.SendPropertyChanging(); - this._IsThirdParty = value; - this.SendPropertyChanged("IsThirdParty"); - this.OnIsThirdPartyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManagerName", DbType="NVarChar(50)")] - public string ManagerName - { - get - { - return this._ManagerName; - } - set - { - if ((this._ManagerName != value)) - { - this.OnManagerNameChanging(value); - this.SendPropertyChanging(); - this._ManagerName = value; - this.SendPropertyChanged("ManagerName"); - this.OnManagerNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User", Storage="_Design_Input", ThisKey="UserId", OtherKey="IssuedMan", DeleteRule="NO ACTION")] - public EntitySet Design_Input - { - get - { - return this._Design_Input; - } - set - { - this._Design_Input.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User1", Storage="_User", ThisKey="UserId", OtherKey="ReceivedMan", DeleteRule="NO ACTION")] - public EntitySet User - { - get - { - return this._User; - } - set - { - this._User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Sys_User", Storage="_Design_Notice", ThisKey="UserId", OtherKey="IssuedMan", DeleteRule="NO ACTION")] - public EntitySet Design_Notice - { - get - { - return this._Design_Notice; - } - set - { - this._Design_Notice.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Sys_User1", Storage="_Design_Notice_Sys_User1", ThisKey="UserId", OtherKey="ReceivedMan", DeleteRule="NO ACTION")] - public EntitySet Design_Notice_Sys_User1 - { - get - { - return this._Design_Notice_Sys_User1; - } - set - { - this._Design_Notice_Sys_User1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_NoticeFlow_Sys_User", Storage="_Design_NoticeFlow", ThisKey="UserId", OtherKey="SubmitMan", DeleteRule="NO ACTION")] - public EntitySet Design_NoticeFlow - { - get - { - return this._Design_NoticeFlow; - } - set - { - this._Design_NoticeFlow.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Sys_User", Storage="_Editor_AreaConcern", ThisKey="UserId", OtherKey="CreatedById", DeleteRule="NO ACTION")] - public EntitySet Editor_AreaConcern - { - get - { - return this._Editor_AreaConcern; - } - set - { - this._Editor_AreaConcern.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User", Storage="_Editor_Punch", ThisKey="UserId", OtherKey="ResiedById", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch - { - get - { - return this._Editor_Punch; - } - set - { - this._Editor_Punch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User1", Storage="_Editor_Punch_Sys_User1", ThisKey="UserId", OtherKey="CTECheckerId", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch_Sys_User1 - { - get - { - return this._Editor_Punch_Sys_User1; - } - set - { - this._Editor_Punch_Sys_User1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Sys_User2", Storage="_Editor_Punch_Sys_User2", ThisKey="UserId", OtherKey="OwnerCheckerId", DeleteRule="NO ACTION")] - public EntitySet Editor_Punch_Sys_User2 - { - get - { - return this._Editor_Punch_Sys_User2; - } - set - { - this._Editor_Punch_Sys_User2.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_File_Template_Sys_User", Storage="_File_Template", ThisKey="UserId", OtherKey="UploadMan", DeleteRule="NO ACTION")] - public EntitySet File_Template - { - get - { - return this._File_Template; - } - set - { - this._File_Template.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_File_UserGuideAndQA_Sys_User", Storage="_File_UserGuideAndQA", ThisKey="UserId", OtherKey="UploadMan", DeleteRule="NO ACTION")] - public EntitySet File_UserGuideAndQA - { - get - { - return this._File_UserGuideAndQA; - } - set - { - this._File_UserGuideAndQA.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_Plan_Sys_User", Storage="_ManHours_Plan", ThisKey="UserId", OtherKey="EngineerId", DeleteRule="NO ACTION")] - public EntitySet ManHours_Plan - { - get - { - return this._ManHours_Plan; - } - set - { - this._ManHours_Plan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanDetail_Sys_User", Storage="_ManHours_PlanDetail", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet ManHours_PlanDetail - { - get - { - return this._ManHours_PlanDetail; - } - set - { - this._ManHours_PlanDetail.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ManHours_PlanManHours_Sys_User", Storage="_ManHours_PlanManHours", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet ManHours_PlanManHours - { - get - { - return this._ManHours_PlanManHours; - } - set - { - this._ManHours_PlanManHours.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)] - public Base_Depart Base_Depart - { - get - { - return this._Base_Depart.Entity; - } - set - { - Base_Depart previousValue = this._Base_Depart.Entity; - if (((previousValue != value) - || (this._Base_Depart.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Depart.Entity = null; - previousValue.Sys_User.Remove(this); - } - this._Base_Depart.Entity = value; - if ((value != null)) - { - value.Sys_User.Add(this); - this._DepartId = value.DepartId; - } - else - { - this._DepartId = default(string); - } - this.SendPropertyChanged("Base_Depart"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_User.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_User.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Design_Input(Design_Input entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_User(Design_Input entity) - { - this.SendPropertyChanging(); - entity.ReceivedManSys_User = this; - } - - private void detach_User(Design_Input entity) - { - this.SendPropertyChanging(); - entity.ReceivedManSys_User = null; - } - - private void attach_Design_Notice(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Design_Notice(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Design_Notice_Sys_User1(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.ReceivedManSys_User = this; - } - - private void detach_Design_Notice_Sys_User1(Design_Notice entity) - { - this.SendPropertyChanging(); - entity.ReceivedManSys_User = null; - } - - private void attach_Design_NoticeFlow(Design_NoticeFlow entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Design_NoticeFlow(Design_NoticeFlow entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Editor_AreaConcern(Editor_AreaConcern entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Editor_Punch(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Editor_Punch_Sys_User1(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.CTEChecker = this; - } - - private void detach_Editor_Punch_Sys_User1(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.CTEChecker = null; - } - - private void attach_Editor_Punch_Sys_User2(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.OwnerChecker = this; - } - - private void detach_Editor_Punch_Sys_User2(Editor_Punch entity) - { - this.SendPropertyChanging(); - entity.OwnerChecker = null; - } - - private void attach_File_Template(File_Template entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_File_Template(File_Template entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_File_UserGuideAndQA(File_UserGuideAndQA entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_File_UserGuideAndQA(File_UserGuideAndQA entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_ManHours_Plan(ManHours_Plan entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_ManHours_PlanDetail(ManHours_PlanDetail entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_ManHours_PlanDetail(ManHours_PlanDetail entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_ManHours_PlanManHours(ManHours_PlanManHours entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ConcernReport")] - public partial class View_ConcernReport - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_JobStatus; - - private string _PM_General_Priority; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_ConstManager; - - private string _PM_MA_ProjectApproval; - - private string _ProjectControl_MS_MC; - - private string _CM_CM_RevisedEnd; - - private string _EntryDate; - - private string _PM_General_Category; - - private string _Descriptions; - - public View_ConcernReport() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManager", DbType="NVarChar(50)")] - public string ProjectControl_ConstManager - { - get - { - return this._ProjectControl_ConstManager; - } - set - { - if ((this._ProjectControl_ConstManager != value)) - { - this._ProjectControl_ConstManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="NVarChar(10)")] - public string PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this._PM_MA_ProjectApproval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_MC", DbType="NVarChar(10)")] - public string ProjectControl_MS_MC - { - get - { - return this._ProjectControl_MS_MC; - } - set - { - if ((this._ProjectControl_MS_MC != value)) - { - this._ProjectControl_MS_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedEnd", DbType="NVarChar(10)")] - public string CM_CM_RevisedEnd - { - get - { - return this._CM_CM_RevisedEnd; - } - set - { - if ((this._CM_CM_RevisedEnd != value)) - { - this._CM_CM_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntryDate", DbType="NVarChar(10)")] - public string EntryDate - { - get - { - return this._EntryDate; - } - set - { - if ((this._EntryDate != value)) - { - this._EntryDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this._PM_General_Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Descriptions", DbType="NVarChar(1500)")] - public string Descriptions - { - get - { - return this._Descriptions; - } - set - { - if ((this._Descriptions != value)) - { - this._Descriptions = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Disciplines")] - public partial class View_Disciplines - { - - private string _Disciplines; - - private string _Type; - - private string _DisciplinesWBSId; - - public View_Disciplines() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Disciplines", DbType="NVarChar(110)")] - public string Disciplines - { - get - { - return this._Disciplines; - } - set - { - if ((this._Disciplines != value)) - { - this._Disciplines = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="type", Storage="_Type", DbType="VarChar(19) NOT NULL", CanBeNull=false)] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this._Type = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(101)")] - public string DisciplinesWBSId - { - get - { - return this._DisciplinesWBSId; - } - set - { - if ((this._DisciplinesWBSId != value)) - { - this._DisciplinesWBSId = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EprojectAPI")] - public partial class View_EprojectAPI - { - - private string _Id; - - private string _Create_by; - - private System.Nullable _Create_time; - - private string _Update_by; - - private System.Nullable _Update_time; - - private string _Bu_code; - - private string _Job_no; - - private string _Job_type; - - private string _Lead_by; - - private string _Job_title; - - private System.Nullable _Budget; - - private string _Project_manager; - - private string _Construction_manager; - - private string _Engineering_manager; - - private string _Approval_date; - - private string _Mc_planed; - - private string _Mc_revised; - - private string _Priority; - - private string _Category; - - private string _Job_status; - - private string _Schedule; - - private string _Cost; - - private string _Scope; - - private string _Received_date; - - private System.Nullable _Estimated_fianl_cost; - - private string _Mc_actual; - - private string _MC_Signed; - - private string _Rfsu; - - private string _Punch_c_killed; - - private string _Fc_signed; - - private string _Business_closed; - - private string _Ifc_received; - - private string _As_built_received; - - private string _Md_received; - - private string _Date_registeration; - - private string _Cost_effectivity; - - private System.Nullable _PVI; - - private string _Cancel_date; - - private string _Account_no; - - private string _Network_no; - - private string _Study_wo; - - private string _Cte_involved; - - private string _Capex_plan_no; - - private string _CDI; - - public View_EprojectAPI() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this._Id = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Create_by", DbType="NVarChar(50)")] - public string Create_by - { - get - { - return this._Create_by; - } - set - { - if ((this._Create_by != value)) - { - this._Create_by = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Create_time", DbType="DateTime")] - public System.Nullable Create_time - { - get - { - return this._Create_time; - } - set - { - if ((this._Create_time != value)) - { - this._Create_time = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Update_by", DbType="NVarChar(50)")] - public string Update_by - { - get - { - return this._Update_by; - } - set - { - if ((this._Update_by != value)) - { - this._Update_by = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Update_time", DbType="DateTime")] - public System.Nullable Update_time - { - get - { - return this._Update_time; - } - set - { - if ((this._Update_time != value)) - { - this._Update_time = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bu_code", DbType="NVarChar(50)")] - public string Bu_code - { - get - { - return this._Bu_code; - } - set - { - if ((this._Bu_code != value)) - { - this._Bu_code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_no", DbType="NVarChar(50)")] - public string Job_no - { - get - { - return this._Job_no; - } - set - { - if ((this._Job_no != value)) - { - this._Job_no = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_type", DbType="NVarChar(50)")] - public string Job_type - { - get - { - return this._Job_type; - } - set - { - if ((this._Job_type != value)) - { - this._Job_type = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Lead_by", DbType="NVarChar(50)")] - public string Lead_by - { - get - { - return this._Lead_by; - } - set - { - if ((this._Lead_by != value)) - { - this._Lead_by = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_title", DbType="NVarChar(300)")] - public string Job_title - { - get - { - return this._Job_title; - } - set - { - if ((this._Job_title != value)) - { - this._Job_title = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Budget", DbType="Decimal(18,2)")] - public System.Nullable Budget - { - get - { - return this._Budget; - } - set - { - if ((this._Budget != value)) - { - this._Budget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Project_manager", DbType="NVarChar(50)")] - public string Project_manager - { - get - { - return this._Project_manager; - } - set - { - if ((this._Project_manager != value)) - { - this._Project_manager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Construction_manager", DbType="NVarChar(50)")] - public string Construction_manager - { - get - { - return this._Construction_manager; - } - set - { - if ((this._Construction_manager != value)) - { - this._Construction_manager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Engineering_manager", DbType="NVarChar(50)")] - public string Engineering_manager - { - get - { - return this._Engineering_manager; - } - set - { - if ((this._Engineering_manager != value)) - { - this._Engineering_manager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Approval_date", DbType="NVarChar(10)")] - public string Approval_date - { - get - { - return this._Approval_date; - } - set - { - if ((this._Approval_date != value)) - { - this._Approval_date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mc_planed", DbType="NVarChar(10)")] - public string Mc_planed - { - get - { - return this._Mc_planed; - } - set - { - if ((this._Mc_planed != value)) - { - this._Mc_planed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mc_revised", DbType="NVarChar(10)")] - public string Mc_revised - { - get - { - return this._Mc_revised; - } - set - { - if ((this._Mc_revised != value)) - { - this._Mc_revised = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Priority", DbType="NVarChar(50)")] - public string Priority - { - get - { - return this._Priority; - } - set - { - if ((this._Priority != value)) - { - this._Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Category", DbType="NVarChar(50)")] - public string Category - { - get - { - return this._Category; - } - set - { - if ((this._Category != value)) - { - this._Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_status", DbType="NVarChar(50)")] - public string Job_status - { - get - { - return this._Job_status; - } - set - { - if ((this._Job_status != value)) - { - this._Job_status = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Schedule", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Schedule - { - get - { - return this._Schedule; - } - set - { - if ((this._Schedule != value)) - { - this._Schedule = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cost", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Cost - { - get - { - return this._Cost; - } - set - { - if ((this._Cost != value)) - { - this._Cost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Scope", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Scope - { - get - { - return this._Scope; - } - set - { - if ((this._Scope != value)) - { - this._Scope = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Received_date", DbType="NVarChar(10)")] - public string Received_date - { - get - { - return this._Received_date; - } - set - { - if ((this._Received_date != value)) - { - this._Received_date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Estimated_fianl_cost", DbType="Decimal(21,2)")] - public System.Nullable Estimated_fianl_cost - { - get - { - return this._Estimated_fianl_cost; - } - set - { - if ((this._Estimated_fianl_cost != value)) - { - this._Estimated_fianl_cost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mc_actual", DbType="NVarChar(10)")] - public string Mc_actual - { - get - { - return this._Mc_actual; - } - set - { - if ((this._Mc_actual != value)) - { - this._Mc_actual = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Signed", DbType="NVarChar(10)")] - public string MC_Signed - { - get - { - return this._MC_Signed; - } - set - { - if ((this._MC_Signed != value)) - { - this._MC_Signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rfsu", DbType="NVarChar(10)")] - public string Rfsu - { - get - { - return this._Rfsu; - } - set - { - if ((this._Rfsu != value)) - { - this._Rfsu = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Punch_c_killed", DbType="NVarChar(10)")] - public string Punch_c_killed - { - get - { - return this._Punch_c_killed; - } - set - { - if ((this._Punch_c_killed != value)) - { - this._Punch_c_killed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fc_signed", DbType="NVarChar(10)")] - public string Fc_signed - { - get - { - return this._Fc_signed; - } - set - { - if ((this._Fc_signed != value)) - { - this._Fc_signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Business_closed", DbType="NVarChar(10)")] - public string Business_closed - { - get - { - return this._Business_closed; - } - set - { - if ((this._Business_closed != value)) - { - this._Business_closed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ifc_received", DbType="NVarChar(10)")] - public string Ifc_received - { - get - { - return this._Ifc_received; - } - set - { - if ((this._Ifc_received != value)) - { - this._Ifc_received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_As_built_received", DbType="NVarChar(10)")] - public string As_built_received - { - get - { - return this._As_built_received; - } - set - { - if ((this._As_built_received != value)) - { - this._As_built_received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Md_received", DbType="NVarChar(10)")] - public string Md_received - { - get - { - return this._Md_received; - } - set - { - if ((this._Md_received != value)) - { - this._Md_received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_registeration", DbType="NVarChar(10)")] - public string Date_registeration - { - get - { - return this._Date_registeration; - } - set - { - if ((this._Date_registeration != value)) - { - this._Date_registeration = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cost_effectivity", DbType="NVarChar(50)")] - public string Cost_effectivity - { - get - { - return this._Cost_effectivity; - } - set - { - if ((this._Cost_effectivity != value)) - { - this._Cost_effectivity = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PVI", DbType="Decimal(18,2)")] - public System.Nullable PVI - { - get - { - return this._PVI; - } - set - { - if ((this._PVI != value)) - { - this._PVI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cancel_date", DbType="NVarChar(10)")] - public string Cancel_date - { - get - { - return this._Cancel_date; - } - set - { - if ((this._Cancel_date != value)) - { - this._Cancel_date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account_no", DbType="NVarChar(50)")] - public string Account_no - { - get - { - return this._Account_no; - } - set - { - if ((this._Account_no != value)) - { - this._Account_no = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Network_no", DbType="NVarChar(50)")] - public string Network_no - { - get - { - return this._Network_no; - } - set - { - if ((this._Network_no != value)) - { - this._Network_no = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Study_wo", DbType="NVarChar(50)")] - public string Study_wo - { - get - { - return this._Study_wo; - } - set - { - if ((this._Study_wo != value)) - { - this._Study_wo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cte_involved", DbType="NChar(1)")] - public string Cte_involved - { - get - { - return this._Cte_involved; - } - set - { - if ((this._Cte_involved != value)) - { - this._Cte_involved = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Capex_plan_no", DbType="NVarChar(150)")] - public string Capex_plan_no - { - get - { - return this._Capex_plan_no; - } - set - { - if ((this._Capex_plan_no != value)) - { - this._Capex_plan_no = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CDI", DbType="NVarChar(50)")] - public string CDI - { - get - { - return this._CDI; - } - set - { - if ((this._CDI != value)) - { - this._CDI = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_FCR_Report")] - public partial class View_FCR_Report - { - - private string _FCRLogId; - - private string _ProjectControl_JobNo; - - private string _DisciplineName; - - private string _FCRNo; - - private string _FCR_COST; - - private System.Nullable _FCR_COST_CNY; - - private string _FCR_SCH; - - private System.Nullable _FCR_SCH_DAY; - - private string _FCR_INITATOR; - - private string _FCR_CATETORY; - - private System.Nullable _DATE_RECEIVE; - - private System.Nullable _DATE_ISSUE; - - private System.Nullable _DATE_RETURN; - - private string _Design_Reason_Related_With; - - private string _FCR_CDI; - - private string _Remark; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_LeadByName; - - private string _MC_Date; - - private string _Closed_Date; - - public View_FCR_Report() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCRLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string FCRLogId - { - get - { - return this._FCRLogId; - } - set - { - if ((this._FCRLogId != value)) - { - this._FCRLogId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineName", DbType="NVarChar(50)")] - public string DisciplineName - { - get - { - return this._DisciplineName; - } - set - { - if ((this._DisciplineName != value)) - { - this._DisciplineName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCRNo", DbType="NVarChar(50)")] - public string FCRNo - { - get - { - return this._FCRNo; - } - set - { - if ((this._FCRNo != value)) - { - this._FCRNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_COST", DbType="NVarChar(10)")] - public string FCR_COST - { - get - { - return this._FCR_COST; - } - set - { - if ((this._FCR_COST != value)) - { - this._FCR_COST = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_COST_CNY", DbType="Decimal(18,2)")] - public System.Nullable FCR_COST_CNY - { - get - { - return this._FCR_COST_CNY; - } - set - { - if ((this._FCR_COST_CNY != value)) - { - this._FCR_COST_CNY = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_SCH", DbType="NVarChar(10)")] - public string FCR_SCH - { - get - { - return this._FCR_SCH; - } - set - { - if ((this._FCR_SCH != value)) - { - this._FCR_SCH = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_SCH_DAY", DbType="Decimal(18,2)")] - public System.Nullable FCR_SCH_DAY - { - get - { - return this._FCR_SCH_DAY; - } - set - { - if ((this._FCR_SCH_DAY != value)) - { - this._FCR_SCH_DAY = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_INITATOR", DbType="NVarChar(50)")] - public string FCR_INITATOR - { - get - { - return this._FCR_INITATOR; - } - set - { - if ((this._FCR_INITATOR != value)) - { - this._FCR_INITATOR = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_CATETORY", DbType="NVarChar(50)")] - public string FCR_CATETORY - { - get - { - return this._FCR_CATETORY; - } - set - { - if ((this._FCR_CATETORY != value)) - { - this._FCR_CATETORY = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DATE_RECEIVE", DbType="DateTime")] - public System.Nullable DATE_RECEIVE - { - get - { - return this._DATE_RECEIVE; - } - set - { - if ((this._DATE_RECEIVE != value)) - { - this._DATE_RECEIVE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DATE_ISSUE", DbType="DateTime")] - public System.Nullable DATE_ISSUE - { - get - { - return this._DATE_ISSUE; - } - set - { - if ((this._DATE_ISSUE != value)) - { - this._DATE_ISSUE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DATE_RETURN", DbType="DateTime")] - public System.Nullable DATE_RETURN - { - get - { - return this._DATE_RETURN; - } - set - { - if ((this._DATE_RETURN != value)) - { - this._DATE_RETURN = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Design_Reason_Related_With", DbType="NVarChar(20)")] - public string Design_Reason_Related_With - { - get - { - return this._Design_Reason_Related_With; - } - set - { - if ((this._Design_Reason_Related_With != value)) - { - this._Design_Reason_Related_With = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FCR_CDI", DbType="NVarChar(50)")] - public string FCR_CDI - { - get - { - return this._FCR_CDI; - } - set - { - if ((this._FCR_CDI != value)) - { - this._FCR_CDI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Date", DbType="VarChar(10)")] - public string MC_Date - { - get - { - return this._MC_Date; - } - set - { - if ((this._MC_Date != value)) - { - this._MC_Date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Closed_Date", DbType="VarChar(10)")] - public string Closed_Date - { - get - { - return this._Closed_Date; - } - set - { - if ((this._Closed_Date != value)) - { - this._Closed_Date = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_GaReport_ScheduleGanttBar")] - public partial class View_GaReport_ScheduleGanttBar - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobTitle; - - private string _PM_General_Priority; - - private string _PM_General_Category; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_LeadByName; - - private System.Nullable _PlanHours_ACP; - - private System.Nullable _PlanHours_S; - - private string _Schedule; - - private System.Nullable _Detail_Eng_Civil_ReviseStart; - - private System.Nullable _Detail_Eng_Civil_ReviseEnd; - - private System.Nullable _Detail_Eng_MechEI_ReviseStart; - - private System.Nullable _Detail_Eng_MechEI_ReviseEnd; - - private System.Nullable _RP_Detail_Eng_Civil_Sch_Start; - - private System.Nullable _RP_Detail_Eng_Civil_Sch_End; - - private System.Nullable _RP_Detail_Eng_Mech_EI_Sch_Start; - - private System.Nullable _RP_Detail_Eng_Mech_EI_Sch_End; - - private System.Nullable _RevisedStartA; - - private System.Nullable _RevisedEndA; - - private System.Nullable _RevisedStartCC; - - private System.Nullable _RevisedEndCC; - - private System.Nullable _RevisedStartCM; - - private System.Nullable _RevisedEndCM; - - public View_GaReport_ScheduleGanttBar() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this._PM_General_Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanHours_ACP", DbType="Float")] - public System.Nullable PlanHours_ACP - { - get - { - return this._PlanHours_ACP; - } - set - { - if ((this._PlanHours_ACP != value)) - { - this._PlanHours_ACP = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanHours_S", DbType="Float")] - public System.Nullable PlanHours_S - { - get - { - return this._PlanHours_S; - } - set - { - if ((this._PlanHours_S != value)) - { - this._PlanHours_S = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Schedule", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Schedule - { - get - { - return this._Schedule; - } - set - { - if ((this._Schedule != value)) - { - this._Schedule = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_ReviseStart", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_ReviseStart - { - get - { - return this._Detail_Eng_Civil_ReviseStart; - } - set - { - if ((this._Detail_Eng_Civil_ReviseStart != value)) - { - this._Detail_Eng_Civil_ReviseStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_ReviseEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_Civil_ReviseEnd - { - get - { - return this._Detail_Eng_Civil_ReviseEnd; - } - set - { - if ((this._Detail_Eng_Civil_ReviseEnd != value)) - { - this._Detail_Eng_Civil_ReviseEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_ReviseStart", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_ReviseStart - { - get - { - return this._Detail_Eng_MechEI_ReviseStart; - } - set - { - if ((this._Detail_Eng_MechEI_ReviseStart != value)) - { - this._Detail_Eng_MechEI_ReviseStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_MechEI_ReviseEnd", DbType="DateTime")] - public System.Nullable Detail_Eng_MechEI_ReviseEnd - { - get - { - return this._Detail_Eng_MechEI_ReviseEnd; - } - set - { - if ((this._Detail_Eng_MechEI_ReviseEnd != value)) - { - this._Detail_Eng_MechEI_ReviseEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RP_Detail_Eng_Civil_Sch_Start", DbType="DateTime")] - public System.Nullable RP_Detail_Eng_Civil_Sch_Start - { - get - { - return this._RP_Detail_Eng_Civil_Sch_Start; - } - set - { - if ((this._RP_Detail_Eng_Civil_Sch_Start != value)) - { - this._RP_Detail_Eng_Civil_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RP_Detail_Eng_Civil_Sch_End", DbType="DateTime")] - public System.Nullable RP_Detail_Eng_Civil_Sch_End - { - get - { - return this._RP_Detail_Eng_Civil_Sch_End; - } - set - { - if ((this._RP_Detail_Eng_Civil_Sch_End != value)) - { - this._RP_Detail_Eng_Civil_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RP_Detail_Eng_Mech_EI_Sch_Start", DbType="DateTime")] - public System.Nullable RP_Detail_Eng_Mech_EI_Sch_Start - { - get - { - return this._RP_Detail_Eng_Mech_EI_Sch_Start; - } - set - { - if ((this._RP_Detail_Eng_Mech_EI_Sch_Start != value)) - { - this._RP_Detail_Eng_Mech_EI_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RP_Detail_Eng_Mech_EI_Sch_End", DbType="DateTime")] - public System.Nullable RP_Detail_Eng_Mech_EI_Sch_End - { - get - { - return this._RP_Detail_Eng_Mech_EI_Sch_End; - } - set - { - if ((this._RP_Detail_Eng_Mech_EI_Sch_End != value)) - { - this._RP_Detail_Eng_Mech_EI_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStartA", DbType="DateTime")] - public System.Nullable RevisedStartA - { - get - { - return this._RevisedStartA; - } - set - { - if ((this._RevisedStartA != value)) - { - this._RevisedStartA = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEndA", DbType="DateTime")] - public System.Nullable RevisedEndA - { - get - { - return this._RevisedEndA; - } - set - { - if ((this._RevisedEndA != value)) - { - this._RevisedEndA = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStartCC", DbType="DateTime")] - public System.Nullable RevisedStartCC - { - get - { - return this._RevisedStartCC; - } - set - { - if ((this._RevisedStartCC != value)) - { - this._RevisedStartCC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEndCC", DbType="DateTime")] - public System.Nullable RevisedEndCC - { - get - { - return this._RevisedEndCC; - } - set - { - if ((this._RevisedEndCC != value)) - { - this._RevisedEndCC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStartCM", DbType="DateTime")] - public System.Nullable RevisedStartCM - { - get - { - return this._RevisedStartCM; - } - set - { - if ((this._RevisedStartCM != value)) - { - this._RevisedStartCM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEndCM", DbType="DateTime")] - public System.Nullable RevisedEndCM - { - get - { - return this._RevisedEndCM; - } - set - { - if ((this._RevisedEndCM != value)) - { - this._RevisedEndCM = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HomePage_Permits")] - public partial class View_HomePage_Permits - { - - private int _Sort; - - private string _EProjectId; - - private string _Name; - - private System.Nullable _ScheduledDate; - - private System.Nullable _ActualDate; - - private string _Need; - - public View_HomePage_Permits() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="sort", Storage="_Sort", DbType="Int NOT NULL")] - public int Sort - { - get - { - return this._Sort; - } - set - { - if ((this._Sort != value)) - { - this._Sort = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string Name - { - get - { - return this._Name; - } - set - { - if ((this._Name != value)) - { - this._Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ScheduledDate", DbType="DateTime")] - public System.Nullable ScheduledDate - { - get - { - return this._ScheduledDate; - } - set - { - if ((this._ScheduledDate != value)) - { - this._ScheduledDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualDate", DbType="DateTime")] - public System.Nullable ActualDate - { - get - { - return this._ActualDate; - } - set - { - if ((this._ActualDate != value)) - { - this._ActualDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Need", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string Need - { - get - { - return this._Need; - } - set - { - if ((this._Need != value)) - { - this._Need = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_InDetailedDesign_GetCivil")] - public partial class View_InDetailedDesign_GetCivil - { - - private string _PMId; - - private string _EProjectId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private System.Nullable _SchStart; - - private System.Nullable _SchEnd; - - private System.Nullable _RevisedStart; - - private System.Nullable _RevisedEnd; - - private System.Nullable _ActualProgress; - - public View_InDetailedDesign_GetCivil() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string PMId - { - get - { - return this._PMId; - } - set - { - if ((this._PMId != value)) - { - this._PMId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this._DisciplinesWBSCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this._DisciplinesWBSName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this._WBS = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchStart", DbType="DateTime")] - public System.Nullable SchStart - { - get - { - return this._SchStart; - } - set - { - if ((this._SchStart != value)) - { - this._SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchEnd", DbType="DateTime")] - public System.Nullable SchEnd - { - get - { - return this._SchEnd; - } - set - { - if ((this._SchEnd != value)) - { - this._SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStart", DbType="DateTime")] - public System.Nullable RevisedStart - { - get - { - return this._RevisedStart; - } - set - { - if ((this._RevisedStart != value)) - { - this._RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEnd", DbType="DateTime")] - public System.Nullable RevisedEnd - { - get - { - return this._RevisedEnd; - } - set - { - if ((this._RevisedEnd != value)) - { - this._RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualProgress", DbType="Decimal(18,2)")] - public System.Nullable ActualProgress - { - get - { - return this._ActualProgress; - } - set - { - if ((this._ActualProgress != value)) - { - this._ActualProgress = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_InDetailedDesign_GetMechEI")] - public partial class View_InDetailedDesign_GetMechEI - { - - private string _PMId; - - private string _EProjectId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private System.Nullable _SchStart; - - private System.Nullable _SchEnd; - - private System.Nullable _RevisedStart; - - private System.Nullable _RevisedEnd; - - private System.Nullable _ActualProgress; - - public View_InDetailedDesign_GetMechEI() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PMId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string PMId - { - get - { - return this._PMId; - } - set - { - if ((this._PMId != value)) - { - this._PMId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this._DisciplinesWBSCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this._DisciplinesWBSName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this._WBS = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchStart", DbType="DateTime")] - public System.Nullable SchStart - { - get - { - return this._SchStart; - } - set - { - if ((this._SchStart != value)) - { - this._SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SchEnd", DbType="DateTime")] - public System.Nullable SchEnd - { - get - { - return this._SchEnd; - } - set - { - if ((this._SchEnd != value)) - { - this._SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedStart", DbType="DateTime")] - public System.Nullable RevisedStart - { - get - { - return this._RevisedStart; - } - set - { - if ((this._RevisedStart != value)) - { - this._RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisedEnd", DbType="DateTime")] - public System.Nullable RevisedEnd - { - get - { - return this._RevisedEnd; - } - set - { - if ((this._RevisedEnd != value)) - { - this._RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualProgress", DbType="Decimal(18,2)")] - public System.Nullable ActualProgress - { - get - { - return this._ActualProgress; - } - set - { - if ((this._ActualProgress != value)) - { - this._ActualProgress = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Job_List")] - public partial class View_Job_List - { - - private string _EProjectId; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_JobTitle; - - private System.Nullable _ProjectControl_OrginalBudget; - - private string _ProjectControl_ProjectManager; - - private string _PM_General_Priority; - - private string _ProjectControl_JobStatus; - - private string _PM_MA_JobReveive; - - private string _Date_Resource_Plan; - - private System.Nullable _Duration_Resource_Plan; - - private string _Date_Plan_EHS_Review_Files; - - private string _Date_EHS_Review_Files; - - private System.Nullable _Duration_EHS_Review_Files; - - private string _Date_EHS_Review_Meeting; - - private System.Nullable _Duration_EHS_Review_Meeting; - - private string _Date_Estimate_Worksheet; - - private System.Nullable _Duration_Estimate_Worksheet; - - private string _Date_Budget; - - private System.Nullable _Duration_Budget; - - private string _Date_Approval; - - private System.Nullable _Duration_Approval; - - private string _Date_Teco_Alarm_Study; - - private System.Nullable _Duration_Teco_Alarm_Study; - - private string _IFC_Start_Process; - - private string _IFC_End_Process; - - private string _IFC_Act_Process; - - private System.Nullable _Light_IFC_Process; - - private string _IFC_Start_MasterPlanning; - - private string _IFC_End_MasterPlanning; - - private string _IFC_Act_MasterPlanning; - - private System.Nullable _Light_IFC_MasterPlanning; - - private string _IFC_Start_Civil; - - private string _IFC_End_Civil; - - private string _IFC_Act_Civil; - - private System.Nullable _Light_IFC_Civil; - - private string _IFC_Start_Architectral; - - private string _IFC_End_Architectral; - - private string _IFC_Act_Architectral; - - private System.Nullable _Light_IFC_Architectral; - - private string _IFC_Start_HVAC; - - private string _IFC_End_HVAC; - - private string _IFC_Act_HVAC; - - private System.Nullable _Light_IFC_HVAC; - - private string _IFC_Start_Plumbing; - - private string _IFC_End_Plumbing; - - private string _IFC_Act_Plumbing; - - private System.Nullable _Light_IFC_Plumbing; - - private string _IFC_Start_Mech_Equi; - - private string _IFC_End_Mech_Equi; - - private string _IFC_Act_Mech_Equi; - - private System.Nullable _Light_IFC_Mech_Equi; - - private string _IFC_Start_Piping; - - private string _IFC_End_Piping; - - private string _IFC_Act_Piping; - - private System.Nullable _Light_IFC_Piping; - - private string _IFC_Start_Electrical; - - private string _IFC_End_Electrical; - - private string _IFC_Act_Electrical; - - private System.Nullable _Light_IFC_Electrical; - - private string _IFC_Start_Telecommunication; - - private string _IFC_End_Telecommunication; - - private string _IFC_Act_Telecommunication; - - private System.Nullable _Light_IFC_Telecommunication; - - private string _IFC_Start_Instrument; - - private string _IFC_End_Instrument; - - private string _IFC_Act_Instrument; - - private System.Nullable _Light_IFC_Instrument; - - private string _Date_Plan_IFC; - - private string _Date_Act_IFC; - - private System.Nullable _Act_Plan_IFC; - - private string _Date_Plan_MC; - - private string _Date_Act_MC; - - private System.Nullable _Act_Plan_MC; - - private string _Date_Act_Teco_Execution; - - private System.Nullable _Duration_Act_Teco_Execution; - - private string _Date_As_Built; - - private System.Nullable _Duration_As_Built; - - private string _Date_FC; - - private string _IsNeedFC; - - private System.Nullable _Duration_FC; - - private string _Hold_Date; - - private string _Cancel_Date; - - private string _Job_Delaybyteam1; - - private string _Job_Delaybypersonel1; - - private string _Job_Remark1; - - private string _Job_Delaybyteam2; - - private string _Job_Delaybypersonel2; - - private string _Job_Remark2; - - private string _Job_Delaybyteam3; - - private string _Job_Delaybypersonel3; - - private string _Job_Remark3; - - private string _Equivalent_Qty; - - public View_Job_List() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OrginalBudget", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_OrginalBudget - { - get - { - return this._ProjectControl_OrginalBudget; - } - set - { - if ((this._ProjectControl_OrginalBudget != value)) - { - this._ProjectControl_OrginalBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="NVarChar(10)")] - public string PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Resource_Plan", DbType="NVarChar(10)")] - public string Date_Resource_Plan - { - get - { - return this._Date_Resource_Plan; - } - set - { - if ((this._Date_Resource_Plan != value)) - { - this._Date_Resource_Plan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Resource_Plan", DbType="Int")] - public System.Nullable Duration_Resource_Plan - { - get - { - return this._Duration_Resource_Plan; - } - set - { - if ((this._Duration_Resource_Plan != value)) - { - this._Duration_Resource_Plan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Plan_EHS_Review_Files", DbType="NVarChar(10)")] - public string Date_Plan_EHS_Review_Files - { - get - { - return this._Date_Plan_EHS_Review_Files; - } - set - { - if ((this._Date_Plan_EHS_Review_Files != value)) - { - this._Date_Plan_EHS_Review_Files = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_EHS_Review_Files", DbType="NVarChar(10)")] - public string Date_EHS_Review_Files - { - get - { - return this._Date_EHS_Review_Files; - } - set - { - if ((this._Date_EHS_Review_Files != value)) - { - this._Date_EHS_Review_Files = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_EHS_Review_Files", DbType="Int")] - public System.Nullable Duration_EHS_Review_Files - { - get - { - return this._Duration_EHS_Review_Files; - } - set - { - if ((this._Duration_EHS_Review_Files != value)) - { - this._Duration_EHS_Review_Files = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_EHS_Review_Meeting", DbType="NVarChar(10)")] - public string Date_EHS_Review_Meeting - { - get - { - return this._Date_EHS_Review_Meeting; - } - set - { - if ((this._Date_EHS_Review_Meeting != value)) - { - this._Date_EHS_Review_Meeting = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_EHS_Review_Meeting", DbType="Int")] - public System.Nullable Duration_EHS_Review_Meeting - { - get - { - return this._Duration_EHS_Review_Meeting; - } - set - { - if ((this._Duration_EHS_Review_Meeting != value)) - { - this._Duration_EHS_Review_Meeting = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Estimate_Worksheet", DbType="NVarChar(10)")] - public string Date_Estimate_Worksheet - { - get - { - return this._Date_Estimate_Worksheet; - } - set - { - if ((this._Date_Estimate_Worksheet != value)) - { - this._Date_Estimate_Worksheet = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Estimate_Worksheet", DbType="Int")] - public System.Nullable Duration_Estimate_Worksheet - { - get - { - return this._Duration_Estimate_Worksheet; - } - set - { - if ((this._Duration_Estimate_Worksheet != value)) - { - this._Duration_Estimate_Worksheet = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Budget", DbType="NVarChar(10)")] - public string Date_Budget - { - get - { - return this._Date_Budget; - } - set - { - if ((this._Date_Budget != value)) - { - this._Date_Budget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Budget", DbType="Int")] - public System.Nullable Duration_Budget - { - get - { - return this._Duration_Budget; - } - set - { - if ((this._Duration_Budget != value)) - { - this._Duration_Budget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Approval", DbType="NVarChar(10)")] - public string Date_Approval - { - get - { - return this._Date_Approval; - } - set - { - if ((this._Date_Approval != value)) - { - this._Date_Approval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Approval", DbType="Int")] - public System.Nullable Duration_Approval - { - get - { - return this._Duration_Approval; - } - set - { - if ((this._Duration_Approval != value)) - { - this._Duration_Approval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Teco_Alarm_Study", DbType="NVarChar(10)")] - public string Date_Teco_Alarm_Study - { - get - { - return this._Date_Teco_Alarm_Study; - } - set - { - if ((this._Date_Teco_Alarm_Study != value)) - { - this._Date_Teco_Alarm_Study = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Teco_Alarm_Study", DbType="Int")] - public System.Nullable Duration_Teco_Alarm_Study - { - get - { - return this._Duration_Teco_Alarm_Study; - } - set - { - if ((this._Duration_Teco_Alarm_Study != value)) - { - this._Duration_Teco_Alarm_Study = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Process", DbType="NVarChar(10)")] - public string IFC_Start_Process - { - get - { - return this._IFC_Start_Process; - } - set - { - if ((this._IFC_Start_Process != value)) - { - this._IFC_Start_Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Process", DbType="NVarChar(10)")] - public string IFC_End_Process - { - get - { - return this._IFC_End_Process; - } - set - { - if ((this._IFC_End_Process != value)) - { - this._IFC_End_Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Process", DbType="NVarChar(10)")] - public string IFC_Act_Process - { - get - { - return this._IFC_Act_Process; - } - set - { - if ((this._IFC_Act_Process != value)) - { - this._IFC_Act_Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Process", DbType="Int")] - public System.Nullable Light_IFC_Process - { - get - { - return this._Light_IFC_Process; - } - set - { - if ((this._Light_IFC_Process != value)) - { - this._Light_IFC_Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_MasterPlanning", DbType="NVarChar(10)")] - public string IFC_Start_MasterPlanning - { - get - { - return this._IFC_Start_MasterPlanning; - } - set - { - if ((this._IFC_Start_MasterPlanning != value)) - { - this._IFC_Start_MasterPlanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_MasterPlanning", DbType="NVarChar(10)")] - public string IFC_End_MasterPlanning - { - get - { - return this._IFC_End_MasterPlanning; - } - set - { - if ((this._IFC_End_MasterPlanning != value)) - { - this._IFC_End_MasterPlanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_MasterPlanning", DbType="NVarChar(10)")] - public string IFC_Act_MasterPlanning - { - get - { - return this._IFC_Act_MasterPlanning; - } - set - { - if ((this._IFC_Act_MasterPlanning != value)) - { - this._IFC_Act_MasterPlanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_MasterPlanning", DbType="Int")] - public System.Nullable Light_IFC_MasterPlanning - { - get - { - return this._Light_IFC_MasterPlanning; - } - set - { - if ((this._Light_IFC_MasterPlanning != value)) - { - this._Light_IFC_MasterPlanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Civil", DbType="NVarChar(10)")] - public string IFC_Start_Civil - { - get - { - return this._IFC_Start_Civil; - } - set - { - if ((this._IFC_Start_Civil != value)) - { - this._IFC_Start_Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Civil", DbType="NVarChar(10)")] - public string IFC_End_Civil - { - get - { - return this._IFC_End_Civil; - } - set - { - if ((this._IFC_End_Civil != value)) - { - this._IFC_End_Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Civil", DbType="NVarChar(10)")] - public string IFC_Act_Civil - { - get - { - return this._IFC_Act_Civil; - } - set - { - if ((this._IFC_Act_Civil != value)) - { - this._IFC_Act_Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Civil", DbType="Int")] - public System.Nullable Light_IFC_Civil - { - get - { - return this._Light_IFC_Civil; - } - set - { - if ((this._Light_IFC_Civil != value)) - { - this._Light_IFC_Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Architectral", DbType="NVarChar(10)")] - public string IFC_Start_Architectral - { - get - { - return this._IFC_Start_Architectral; - } - set - { - if ((this._IFC_Start_Architectral != value)) - { - this._IFC_Start_Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Architectral", DbType="NVarChar(10)")] - public string IFC_End_Architectral - { - get - { - return this._IFC_End_Architectral; - } - set - { - if ((this._IFC_End_Architectral != value)) - { - this._IFC_End_Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Architectral", DbType="NVarChar(10)")] - public string IFC_Act_Architectral - { - get - { - return this._IFC_Act_Architectral; - } - set - { - if ((this._IFC_Act_Architectral != value)) - { - this._IFC_Act_Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Architectral", DbType="Int")] - public System.Nullable Light_IFC_Architectral - { - get - { - return this._Light_IFC_Architectral; - } - set - { - if ((this._Light_IFC_Architectral != value)) - { - this._Light_IFC_Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_HVAC", DbType="NVarChar(10)")] - public string IFC_Start_HVAC - { - get - { - return this._IFC_Start_HVAC; - } - set - { - if ((this._IFC_Start_HVAC != value)) - { - this._IFC_Start_HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_HVAC", DbType="NVarChar(10)")] - public string IFC_End_HVAC - { - get - { - return this._IFC_End_HVAC; - } - set - { - if ((this._IFC_End_HVAC != value)) - { - this._IFC_End_HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_HVAC", DbType="NVarChar(10)")] - public string IFC_Act_HVAC - { - get - { - return this._IFC_Act_HVAC; - } - set - { - if ((this._IFC_Act_HVAC != value)) - { - this._IFC_Act_HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_HVAC", DbType="Int")] - public System.Nullable Light_IFC_HVAC - { - get - { - return this._Light_IFC_HVAC; - } - set - { - if ((this._Light_IFC_HVAC != value)) - { - this._Light_IFC_HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Plumbing", DbType="NVarChar(10)")] - public string IFC_Start_Plumbing - { - get - { - return this._IFC_Start_Plumbing; - } - set - { - if ((this._IFC_Start_Plumbing != value)) - { - this._IFC_Start_Plumbing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Plumbing", DbType="NVarChar(10)")] - public string IFC_End_Plumbing - { - get - { - return this._IFC_End_Plumbing; - } - set - { - if ((this._IFC_End_Plumbing != value)) - { - this._IFC_End_Plumbing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Plumbing", DbType="NVarChar(10)")] - public string IFC_Act_Plumbing - { - get - { - return this._IFC_Act_Plumbing; - } - set - { - if ((this._IFC_Act_Plumbing != value)) - { - this._IFC_Act_Plumbing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Plumbing", DbType="Int")] - public System.Nullable Light_IFC_Plumbing - { - get - { - return this._Light_IFC_Plumbing; - } - set - { - if ((this._Light_IFC_Plumbing != value)) - { - this._Light_IFC_Plumbing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Mech_Equi", DbType="NVarChar(10)")] - public string IFC_Start_Mech_Equi - { - get - { - return this._IFC_Start_Mech_Equi; - } - set - { - if ((this._IFC_Start_Mech_Equi != value)) - { - this._IFC_Start_Mech_Equi = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Mech_Equi", DbType="NVarChar(10)")] - public string IFC_End_Mech_Equi - { - get - { - return this._IFC_End_Mech_Equi; - } - set - { - if ((this._IFC_End_Mech_Equi != value)) - { - this._IFC_End_Mech_Equi = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Mech_Equi", DbType="NVarChar(10)")] - public string IFC_Act_Mech_Equi - { - get - { - return this._IFC_Act_Mech_Equi; - } - set - { - if ((this._IFC_Act_Mech_Equi != value)) - { - this._IFC_Act_Mech_Equi = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Mech_Equi", DbType="Int")] - public System.Nullable Light_IFC_Mech_Equi - { - get - { - return this._Light_IFC_Mech_Equi; - } - set - { - if ((this._Light_IFC_Mech_Equi != value)) - { - this._Light_IFC_Mech_Equi = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Piping", DbType="NVarChar(10)")] - public string IFC_Start_Piping - { - get - { - return this._IFC_Start_Piping; - } - set - { - if ((this._IFC_Start_Piping != value)) - { - this._IFC_Start_Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Piping", DbType="NVarChar(10)")] - public string IFC_End_Piping - { - get - { - return this._IFC_End_Piping; - } - set - { - if ((this._IFC_End_Piping != value)) - { - this._IFC_End_Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Piping", DbType="NVarChar(10)")] - public string IFC_Act_Piping - { - get - { - return this._IFC_Act_Piping; - } - set - { - if ((this._IFC_Act_Piping != value)) - { - this._IFC_Act_Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Piping", DbType="Int")] - public System.Nullable Light_IFC_Piping - { - get - { - return this._Light_IFC_Piping; - } - set - { - if ((this._Light_IFC_Piping != value)) - { - this._Light_IFC_Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Electrical", DbType="NVarChar(10)")] - public string IFC_Start_Electrical - { - get - { - return this._IFC_Start_Electrical; - } - set - { - if ((this._IFC_Start_Electrical != value)) - { - this._IFC_Start_Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Electrical", DbType="NVarChar(10)")] - public string IFC_End_Electrical - { - get - { - return this._IFC_End_Electrical; - } - set - { - if ((this._IFC_End_Electrical != value)) - { - this._IFC_End_Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Electrical", DbType="NVarChar(10)")] - public string IFC_Act_Electrical - { - get - { - return this._IFC_Act_Electrical; - } - set - { - if ((this._IFC_Act_Electrical != value)) - { - this._IFC_Act_Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Electrical", DbType="Int")] - public System.Nullable Light_IFC_Electrical - { - get - { - return this._Light_IFC_Electrical; - } - set - { - if ((this._Light_IFC_Electrical != value)) - { - this._Light_IFC_Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Telecommunication", DbType="NVarChar(10)")] - public string IFC_Start_Telecommunication - { - get - { - return this._IFC_Start_Telecommunication; - } - set - { - if ((this._IFC_Start_Telecommunication != value)) - { - this._IFC_Start_Telecommunication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Telecommunication", DbType="NVarChar(10)")] - public string IFC_End_Telecommunication - { - get - { - return this._IFC_End_Telecommunication; - } - set - { - if ((this._IFC_End_Telecommunication != value)) - { - this._IFC_End_Telecommunication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Telecommunication", DbType="NVarChar(10)")] - public string IFC_Act_Telecommunication - { - get - { - return this._IFC_Act_Telecommunication; - } - set - { - if ((this._IFC_Act_Telecommunication != value)) - { - this._IFC_Act_Telecommunication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Telecommunication", DbType="Int")] - public System.Nullable Light_IFC_Telecommunication - { - get - { - return this._Light_IFC_Telecommunication; - } - set - { - if ((this._Light_IFC_Telecommunication != value)) - { - this._Light_IFC_Telecommunication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Start_Instrument", DbType="NVarChar(10)")] - public string IFC_Start_Instrument - { - get - { - return this._IFC_Start_Instrument; - } - set - { - if ((this._IFC_Start_Instrument != value)) - { - this._IFC_Start_Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_End_Instrument", DbType="NVarChar(10)")] - public string IFC_End_Instrument - { - get - { - return this._IFC_End_Instrument; - } - set - { - if ((this._IFC_End_Instrument != value)) - { - this._IFC_End_Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Act_Instrument", DbType="NVarChar(10)")] - public string IFC_Act_Instrument - { - get - { - return this._IFC_Act_Instrument; - } - set - { - if ((this._IFC_Act_Instrument != value)) - { - this._IFC_Act_Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Light_IFC_Instrument", DbType="Int")] - public System.Nullable Light_IFC_Instrument - { - get - { - return this._Light_IFC_Instrument; - } - set - { - if ((this._Light_IFC_Instrument != value)) - { - this._Light_IFC_Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Plan_IFC", DbType="NVarChar(10)")] - public string Date_Plan_IFC - { - get - { - return this._Date_Plan_IFC; - } - set - { - if ((this._Date_Plan_IFC != value)) - { - this._Date_Plan_IFC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Act_IFC", DbType="NVarChar(10)")] - public string Date_Act_IFC - { - get - { - return this._Date_Act_IFC; - } - set - { - if ((this._Date_Act_IFC != value)) - { - this._Date_Act_IFC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Act_Plan_IFC", DbType="Int")] - public System.Nullable Act_Plan_IFC - { - get - { - return this._Act_Plan_IFC; - } - set - { - if ((this._Act_Plan_IFC != value)) - { - this._Act_Plan_IFC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Plan_MC", DbType="VarChar(10)")] - public string Date_Plan_MC - { - get - { - return this._Date_Plan_MC; - } - set - { - if ((this._Date_Plan_MC != value)) - { - this._Date_Plan_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Act_MC", DbType="NVarChar(10)")] - public string Date_Act_MC - { - get - { - return this._Date_Act_MC; - } - set - { - if ((this._Date_Act_MC != value)) - { - this._Date_Act_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Act_Plan_MC", DbType="Int")] - public System.Nullable Act_Plan_MC - { - get - { - return this._Act_Plan_MC; - } - set - { - if ((this._Act_Plan_MC != value)) - { - this._Act_Plan_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_Act_Teco_Execution", DbType="NVarChar(10)")] - public string Date_Act_Teco_Execution - { - get - { - return this._Date_Act_Teco_Execution; - } - set - { - if ((this._Date_Act_Teco_Execution != value)) - { - this._Date_Act_Teco_Execution = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_Act_Teco_Execution", DbType="Int")] - public System.Nullable Duration_Act_Teco_Execution - { - get - { - return this._Duration_Act_Teco_Execution; - } - set - { - if ((this._Duration_Act_Teco_Execution != value)) - { - this._Duration_Act_Teco_Execution = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_As_Built", DbType="NVarChar(10)")] - public string Date_As_Built - { - get - { - return this._Date_As_Built; - } - set - { - if ((this._Date_As_Built != value)) - { - this._Date_As_Built = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_As_Built", DbType="Int")] - public System.Nullable Duration_As_Built - { - get - { - return this._Duration_As_Built; - } - set - { - if ((this._Duration_As_Built != value)) - { - this._Duration_As_Built = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_FC", DbType="VarChar(10)")] - public string Date_FC - { - get - { - return this._Date_FC; - } - set - { - if ((this._Date_FC != value)) - { - this._Date_FC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedFC", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string IsNeedFC - { - get - { - return this._IsNeedFC; - } - set - { - if ((this._IsNeedFC != value)) - { - this._IsNeedFC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Duration_FC", DbType="Int")] - public System.Nullable Duration_FC - { - get - { - return this._Duration_FC; - } - set - { - if ((this._Duration_FC != value)) - { - this._Duration_FC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hold_Date", DbType="VarChar(10)")] - public string Hold_Date - { - get - { - return this._Hold_Date; - } - set - { - if ((this._Hold_Date != value)) - { - this._Hold_Date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cancel_Date", DbType="VarChar(10)")] - public string Cancel_Date - { - get - { - return this._Cancel_Date; - } - set - { - if ((this._Cancel_Date != value)) - { - this._Cancel_Date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam1", DbType="NVarChar(20)")] - public string Job_Delaybyteam1 - { - get - { - return this._Job_Delaybyteam1; - } - set - { - if ((this._Job_Delaybyteam1 != value)) - { - this._Job_Delaybyteam1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel1", DbType="NVarChar(20)")] - public string Job_Delaybypersonel1 - { - get - { - return this._Job_Delaybypersonel1; - } - set - { - if ((this._Job_Delaybypersonel1 != value)) - { - this._Job_Delaybypersonel1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark1", DbType="NVarChar(150)")] - public string Job_Remark1 - { - get - { - return this._Job_Remark1; - } - set - { - if ((this._Job_Remark1 != value)) - { - this._Job_Remark1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam2", DbType="NVarChar(20)")] - public string Job_Delaybyteam2 - { - get - { - return this._Job_Delaybyteam2; - } - set - { - if ((this._Job_Delaybyteam2 != value)) - { - this._Job_Delaybyteam2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel2", DbType="NVarChar(20)")] - public string Job_Delaybypersonel2 - { - get - { - return this._Job_Delaybypersonel2; - } - set - { - if ((this._Job_Delaybypersonel2 != value)) - { - this._Job_Delaybypersonel2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark2", DbType="NVarChar(150)")] - public string Job_Remark2 - { - get - { - return this._Job_Remark2; - } - set - { - if ((this._Job_Remark2 != value)) - { - this._Job_Remark2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybyteam3", DbType="NVarChar(20)")] - public string Job_Delaybyteam3 - { - get - { - return this._Job_Delaybyteam3; - } - set - { - if ((this._Job_Delaybyteam3 != value)) - { - this._Job_Delaybyteam3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Delaybypersonel3", DbType="NVarChar(20)")] - public string Job_Delaybypersonel3 - { - get - { - return this._Job_Delaybypersonel3; - } - set - { - if ((this._Job_Delaybypersonel3 != value)) - { - this._Job_Delaybypersonel3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Remark3", DbType="NVarChar(150)")] - public string Job_Remark3 - { - get - { - return this._Job_Remark3; - } - set - { - if ((this._Job_Remark3 != value)) - { - this._Job_Remark3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Equivalent_Qty", DbType="VarChar(10)")] - public string Equivalent_Qty - { - get - { - return this._Equivalent_Qty; - } - set - { - if ((this._Equivalent_Qty != value)) - { - this._Equivalent_Qty = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ManHours_Actual")] - public partial class View_ManHours_Actual - { - - private string _EProjectId; - - private string _EngineerName; - - private string _Roles; - - private string _DepartId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_BUCode; - - private System.Nullable _Hours; - - private string _UserId; - - private System.Nullable _Month; - - private System.Nullable _Itype; - - public View_ManHours_Actual() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerName", DbType="NVarChar(20)")] - public string EngineerName - { - get - { - return this._EngineerName; - } - set - { - if ((this._EngineerName != value)) - { - this._EngineerName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this._Roles = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hours", DbType="Float")] - public System.Nullable Hours - { - get - { - return this._Hours; - } - set - { - if ((this._Hours != value)) - { - this._Hours = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this._UserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month", DbType="Date")] - public System.Nullable Month - { - get - { - return this._Month; - } - set - { - if ((this._Month != value)) - { - this._Month = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Itype", DbType="Int")] - public System.Nullable Itype - { - get - { - return this._Itype; - } - set - { - if ((this._Itype != value)) - { - this._Itype = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ManHours_Plan")] - public partial class View_ManHours_Plan - { - - private string _EProjectId; - - private string _EngineerId; - - private string _DisciplineId; - - private string _Account; - - private string _Discipline; - - private System.Nullable _ManHours; - - private System.Nullable _AccountDisabled; - - private System.Nullable _IsClose; - - private string _EngineerName; - - private string _Roles; - - private string _DepartId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_Account; - - private string _PM_General_Priority; - - private System.Nullable _ProjectControl_MS_ResourcePlanReceived; - - private System.Nullable _ProjectControl_MS_MC; - - private System.Nullable _ProjectControl_PC_CancelDate; - - public View_ManHours_Plan() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerId", DbType="NVarChar(50)")] - public string EngineerId - { - get - { - return this._EngineerId; - } - set - { - if ((this._EngineerId != value)) - { - this._EngineerId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this._DisciplineId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this._Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this._Discipline = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours", DbType="Float")] - public System.Nullable ManHours - { - get - { - return this._ManHours; - } - set - { - if ((this._ManHours != value)) - { - this._ManHours = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountDisabled", DbType="Int")] - public System.Nullable AccountDisabled - { - get - { - return this._AccountDisabled; - } - set - { - if ((this._AccountDisabled != value)) - { - this._AccountDisabled = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsClose", DbType="Int")] - public System.Nullable IsClose - { - get - { - return this._IsClose; - } - set - { - if ((this._IsClose != value)) - { - this._IsClose = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerName", DbType="NVarChar(20)")] - public string EngineerName - { - get - { - return this._EngineerName; - } - set - { - if ((this._EngineerName != value)) - { - this._EngineerName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(101)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this._Roles = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Account", DbType="NVarChar(50)")] - public string ProjectControl_Account - { - get - { - return this._ProjectControl_Account; - } - set - { - if ((this._ProjectControl_Account != value)) - { - this._ProjectControl_Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_ResourcePlanReceived", DbType="DateTime")] - public System.Nullable ProjectControl_MS_ResourcePlanReceived - { - get - { - return this._ProjectControl_MS_ResourcePlanReceived; - } - set - { - if ((this._ProjectControl_MS_ResourcePlanReceived != value)) - { - this._ProjectControl_MS_ResourcePlanReceived = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_MC", DbType="DateTime")] - public System.Nullable ProjectControl_MS_MC - { - get - { - return this._ProjectControl_MS_MC; - } - set - { - if ((this._ProjectControl_MS_MC != value)) - { - this._ProjectControl_MS_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PC_CancelDate", DbType="DateTime")] - public System.Nullable ProjectControl_PC_CancelDate - { - get - { - return this._ProjectControl_PC_CancelDate; - } - set - { - if ((this._ProjectControl_PC_CancelDate != value)) - { - this._ProjectControl_PC_CancelDate = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ManHours_PlanDetail")] - public partial class View_ManHours_PlanDetail - { - - private string _ManHoursPlanDetailId; - - private string _EProjectId; - - private string _UserId; - - private string _UserName; - - private System.Nullable _DateMonth; - - private System.Nullable _Hour; - - private string _DepartId; - - public View_ManHours_PlanDetail() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ManHoursPlanDetailId - { - get - { - return this._ManHoursPlanDetailId; - } - set - { - if ((this._ManHoursPlanDetailId != value)) - { - this._ManHoursPlanDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this._UserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateMonth", DbType="DateTime")] - public System.Nullable DateMonth - { - get - { - return this._DateMonth; - } - set - { - if ((this._DateMonth != value)) - { - this._DateMonth = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hour", DbType="Float")] - public System.Nullable Hour - { - get - { - return this._Hour; - } - set - { - if ((this._Hour != value)) - { - this._Hour = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_NewManHours_Plan")] - public partial class View_NewManHours_Plan - { - - private string _ManHoursPlanId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _EngineerId; - - private string _Account; - - private string _DisciplineId; - - private string _Discipline; - - private string _Roles; - - private System.Nullable _ManHours; - - private System.Nullable _AccountDisabled; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private System.Nullable _PM_MA_JobReveive; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_BUCode; - - private System.Nullable _ProjectControl_PC_CancelDate; - - private System.Nullable _CM_MA_MC; - - private System.Nullable _Job_Hold; - - private System.Nullable _PM_MA_ProjectApproval; - - private string _EngineerName; - - private string _DepartId; - - private string _DepartName; - - private System.Nullable _ProjectControl_MS_ResourcePlanReceived; - - private System.Nullable _ProjectControl_NetworkDate; - - private System.Nullable _IsCalculated; - - private System.Nullable _ActHours; - - public View_NewManHours_Plan() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ManHoursPlanId - { - get - { - return this._ManHoursPlanId; - } - set - { - if ((this._ManHoursPlanId != value)) - { - this._ManHoursPlanId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this._ResourcePlanId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerId", DbType="NVarChar(50)")] - public string EngineerId - { - get - { - return this._EngineerId; - } - set - { - if ((this._EngineerId != value)) - { - this._EngineerId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this._Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this._DisciplineId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this._Discipline = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(150)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this._Roles = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours", DbType="Float")] - public System.Nullable ManHours - { - get - { - return this._ManHours; - } - set - { - if ((this._ManHours != value)) - { - this._ManHours = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountDisabled", DbType="Int")] - public System.Nullable AccountDisabled - { - get - { - return this._AccountDisabled; - } - set - { - if ((this._AccountDisabled != value)) - { - this._AccountDisabled = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="DateTime")] - public System.Nullable PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PC_CancelDate", DbType="DateTime")] - public System.Nullable ProjectControl_PC_CancelDate - { - get - { - return this._ProjectControl_PC_CancelDate; - } - set - { - if ((this._ProjectControl_PC_CancelDate != value)) - { - this._ProjectControl_PC_CancelDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_MA_MC", DbType="DateTime")] - public System.Nullable CM_MA_MC - { - get - { - return this._CM_MA_MC; - } - set - { - if ((this._CM_MA_MC != value)) - { - this._CM_MA_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Hold", DbType="DateTime")] - public System.Nullable Job_Hold - { - get - { - return this._Job_Hold; - } - set - { - if ((this._Job_Hold != value)) - { - this._Job_Hold = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="DateTime")] - public System.Nullable PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this._PM_MA_ProjectApproval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerName", DbType="NVarChar(20)")] - public string EngineerName - { - get - { - return this._EngineerName; - } - set - { - if ((this._EngineerName != value)) - { - this._EngineerName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(20)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this._DepartName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_ResourcePlanReceived", DbType="DateTime")] - public System.Nullable ProjectControl_MS_ResourcePlanReceived - { - get - { - return this._ProjectControl_MS_ResourcePlanReceived; - } - set - { - if ((this._ProjectControl_MS_ResourcePlanReceived != value)) - { - this._ProjectControl_MS_ResourcePlanReceived = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_NetworkDate", DbType="DateTime")] - public System.Nullable ProjectControl_NetworkDate - { - get - { - return this._ProjectControl_NetworkDate; - } - set - { - if ((this._ProjectControl_NetworkDate != value)) - { - this._ProjectControl_NetworkDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCalculated", DbType="Bit")] - public System.Nullable IsCalculated - { - get - { - return this._IsCalculated; - } - set - { - if ((this._IsCalculated != value)) - { - this._IsCalculated = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActHours", DbType="Float")] - public System.Nullable ActHours - { - get - { - return this._ActHours; - } - set - { - if ((this._ActHours != value)) - { - this._ActHours = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Project_Closure_Report")] - public partial class View_Project_Closure_Report - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_JobTitle; - - private System.Nullable _ProjectControl_OrginalBudget; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_JobStatus; - - private System.Nullable _CompletedDate; - - private System.Nullable _CloseDate; - - private System.Nullable _Date_of_Registeration; - - private System.Nullable _MC_Signed; - - private System.Nullable _RFSU; - - private System.Nullable _AsBuiltReceived; - - private System.Nullable _CM_Punch_CKilledDate; - - private System.Nullable _CM_Punch_CKilledDate1; - - private System.Nullable _FC_Signed; - - private System.Nullable _Business_Colsed; - - private System.Nullable _MD_Updated; - - public View_Project_Closure_Report() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OrginalBudget", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_OrginalBudget - { - get - { - return this._ProjectControl_OrginalBudget; - } - set - { - if ((this._ProjectControl_OrginalBudget != value)) - { - this._ProjectControl_OrginalBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletedDate", DbType="DateTime")] - public System.Nullable CompletedDate - { - get - { - return this._CompletedDate; - } - set - { - if ((this._CompletedDate != value)) - { - this._CompletedDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CloseDate", DbType="DateTime")] - public System.Nullable CloseDate - { - get - { - return this._CloseDate; - } - set - { - if ((this._CloseDate != value)) - { - this._CloseDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_of_Registeration", DbType="DateTime")] - public System.Nullable Date_of_Registeration - { - get - { - return this._Date_of_Registeration; - } - set - { - if ((this._Date_of_Registeration != value)) - { - this._Date_of_Registeration = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Signed", DbType="DateTime")] - public System.Nullable MC_Signed - { - get - { - return this._MC_Signed; - } - set - { - if ((this._MC_Signed != value)) - { - this._MC_Signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RFSU", DbType="DateTime")] - public System.Nullable RFSU - { - get - { - return this._RFSU; - } - set - { - if ((this._RFSU != value)) - { - this._RFSU = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AsBuiltReceived", DbType="DateTime")] - public System.Nullable AsBuiltReceived - { - get - { - return this._AsBuiltReceived; - } - set - { - if ((this._AsBuiltReceived != value)) - { - this._AsBuiltReceived = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Punch_CKilledDate", DbType="DateTime")] - public System.Nullable CM_Punch_CKilledDate - { - get - { - return this._CM_Punch_CKilledDate; - } - set - { - if ((this._CM_Punch_CKilledDate != value)) - { - this._CM_Punch_CKilledDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Punch_CKilledDate1", DbType="DateTime")] - public System.Nullable CM_Punch_CKilledDate1 - { - get - { - return this._CM_Punch_CKilledDate1; - } - set - { - if ((this._CM_Punch_CKilledDate1 != value)) - { - this._CM_Punch_CKilledDate1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FC_Signed", DbType="DateTime")] - public System.Nullable FC_Signed - { - get - { - return this._FC_Signed; - } - set - { - if ((this._FC_Signed != value)) - { - this._FC_Signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Business_Colsed", DbType="DateTime")] - public System.Nullable Business_Colsed - { - get - { - return this._Business_Colsed; - } - set - { - if ((this._Business_Colsed != value)) - { - this._Business_Colsed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MD_Updated", DbType="DateTime")] - public System.Nullable MD_Updated - { - get - { - return this._MD_Updated; - } - set - { - if ((this._MD_Updated != value)) - { - this._MD_Updated = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ProjectListReport")] - public partial class View_ProjectListReport - { - - private string _EProjectId; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_JobTitle; - - private decimal _OrginalBudget; - - private System.Nullable _ChangedBudget; - - private System.Nullable _CostToComplete; - - private System.Nullable _FinalCost; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_ConstManager; - - private string _ProjectControl_EMManager; - - private string _RECEIVES; - - private string _ProjectControl_MS_Approval; - - private string _PM_MA_ProjectApproval; - - private string _ProjectControl_MS_MC; - - private string _CM_MA_MC; - - private string _ProjectControl_MS_Close; - - private string _CloseAct; - - private string _ProjectControl_PC_CancelDate; - - private string _ProjectControl_BC_CloseDate; - - private string _PM_General_Priority; - - private string _ProjectControl_JobStatus; - - private string _PM_Critical; - - private string _PM_ReasonForCritical; - - private string _Schedule; - - private string _Cost; - - private string _Scope; - - private string _ProjectControl_MOCFormNo; - - private string _ProjectControl_Account; - - private decimal _ProjectControl_PVIPrediction; - - private string _ProjectControl_CostEffectvitity; - - private string _ProjectControl_OperationRep; - - private string _ProjectControl_CI_ProcessName; - - private string _ProjectControl_CI_EquipmentName; - - private string _ProjectControl_CI_InstrumentName; - - private string _ProjectControl_CI_ElectricalName; - - private string _ProjectControl_CI_CivilName; - - private string _PM_General_Category; - - private string _PM_General_CDI; - - private string _IFC_Received; - - private string _MC_ReceivedDate; - - private string _Detail_Eng_Civil_Sch_Start; - - private string _Detail_Eng_Civil_Sch_End; - - private string _PROJ_DE_CIVIL_ACU_START_DATE; - - private string _PROJ_DE_CIVIL_ACU_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_Start; - - private string _PROJ_DE_ME_SCH_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_End; - - private string _PROJ_DE_ME_ACU_END_DATE; - - private string _ProjectControl_LP_SchStart; - - private string _ProjectControl_LP_SchEnd; - - private string _PM_LLEP_RevisedStart; - - private string _PM_LLEP_RevisedEnd; - - private string _ProjectControl_CC_SchStart; - - private string _ProjectControl_CC_SchEnd; - - private string _CM_CC_RevisedStart; - - private string _CM_CC_RevisedEnd; - - private string _ProjectControl_CM_SchStart; - - private string _ProjectControl_CM_SchEnd; - - private string _CM_CM_RevisedStart; - - private string _CM_CM_RevisedEnd; - - private string _CM_KickOffMetting; - - private System.Nullable _ProjectControl_Revised_MC_Date; - - private string _ProjectControl_Remarks; - - private string _OutSourceType; - - private System.Nullable _CM_Date_of_Registration; - - private System.Nullable _CM_Punch_CKilledDate; - - private string _StudyWo; - - private string _CTEInvolved; - - private string _CAPEXPlanNo; - - private int _PM_SC_ApprovedQty; - - private decimal _PM_SC_ApprovedCost; - - private string _PM_Planning_Approval; - - private string _PM_Pre_Approval; - - private string _Job_Hold; - - public View_ProjectListReport() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrginalBudget", DbType="Decimal(18,2) NOT NULL")] - public decimal OrginalBudget - { - get - { - return this._OrginalBudget; - } - set - { - if ((this._OrginalBudget != value)) - { - this._OrginalBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChangedBudget", DbType="Decimal(18,2)")] - public System.Nullable ChangedBudget - { - get - { - return this._ChangedBudget; - } - set - { - if ((this._ChangedBudget != value)) - { - this._ChangedBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostToComplete", DbType="Decimal(18,2)")] - public System.Nullable CostToComplete - { - get - { - return this._CostToComplete; - } - set - { - if ((this._CostToComplete != value)) - { - this._CostToComplete = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FinalCost", DbType="Decimal(21,2)")] - public System.Nullable FinalCost - { - get - { - return this._FinalCost; - } - set - { - if ((this._FinalCost != value)) - { - this._FinalCost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManager", DbType="NVarChar(50)")] - public string ProjectControl_ConstManager - { - get - { - return this._ProjectControl_ConstManager; - } - set - { - if ((this._ProjectControl_ConstManager != value)) - { - this._ProjectControl_ConstManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_EMManager", DbType="NVarChar(50)")] - public string ProjectControl_EMManager - { - get - { - return this._ProjectControl_EMManager; - } - set - { - if ((this._ProjectControl_EMManager != value)) - { - this._ProjectControl_EMManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RECEIVES", DbType="NVarChar(10)")] - public string RECEIVES - { - get - { - return this._RECEIVES; - } - set - { - if ((this._RECEIVES != value)) - { - this._RECEIVES = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_Approval", DbType="NVarChar(10)")] - public string ProjectControl_MS_Approval - { - get - { - return this._ProjectControl_MS_Approval; - } - set - { - if ((this._ProjectControl_MS_Approval != value)) - { - this._ProjectControl_MS_Approval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="NVarChar(10)")] - public string PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this._PM_MA_ProjectApproval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_MC", DbType="NVarChar(10)")] - public string ProjectControl_MS_MC - { - get - { - return this._ProjectControl_MS_MC; - } - set - { - if ((this._ProjectControl_MS_MC != value)) - { - this._ProjectControl_MS_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_MA_MC", DbType="NVarChar(10)")] - public string CM_MA_MC - { - get - { - return this._CM_MA_MC; - } - set - { - if ((this._CM_MA_MC != value)) - { - this._CM_MA_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_Close", DbType="NVarChar(10)")] - public string ProjectControl_MS_Close - { - get - { - return this._ProjectControl_MS_Close; - } - set - { - if ((this._ProjectControl_MS_Close != value)) - { - this._ProjectControl_MS_Close = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CloseAct", DbType="NVarChar(10)")] - public string CloseAct - { - get - { - return this._CloseAct; - } - set - { - if ((this._CloseAct != value)) - { - this._CloseAct = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PC_CancelDate", DbType="NVarChar(10)")] - public string ProjectControl_PC_CancelDate - { - get - { - return this._ProjectControl_PC_CancelDate; - } - set - { - if ((this._ProjectControl_PC_CancelDate != value)) - { - this._ProjectControl_PC_CancelDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BC_CloseDate", DbType="NVarChar(10)")] - public string ProjectControl_BC_CloseDate - { - get - { - return this._ProjectControl_BC_CloseDate; - } - set - { - if ((this._ProjectControl_BC_CloseDate != value)) - { - this._ProjectControl_BC_CloseDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Critical", DbType="NVarChar(10)")] - public string PM_Critical - { - get - { - return this._PM_Critical; - } - set - { - if ((this._PM_Critical != value)) - { - this._PM_Critical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_ReasonForCritical", DbType="NVarChar(100)")] - public string PM_ReasonForCritical - { - get - { - return this._PM_ReasonForCritical; - } - set - { - if ((this._PM_ReasonForCritical != value)) - { - this._PM_ReasonForCritical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Schedule", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Schedule - { - get - { - return this._Schedule; - } - set - { - if ((this._Schedule != value)) - { - this._Schedule = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cost", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Cost - { - get - { - return this._Cost; - } - set - { - if ((this._Cost != value)) - { - this._Cost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Scope", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Scope - { - get - { - return this._Scope; - } - set - { - if ((this._Scope != value)) - { - this._Scope = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MOCFormNo", DbType="NVarChar(50)")] - public string ProjectControl_MOCFormNo - { - get - { - return this._ProjectControl_MOCFormNo; - } - set - { - if ((this._ProjectControl_MOCFormNo != value)) - { - this._ProjectControl_MOCFormNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Account", DbType="NVarChar(50)")] - public string ProjectControl_Account - { - get - { - return this._ProjectControl_Account; - } - set - { - if ((this._ProjectControl_Account != value)) - { - this._ProjectControl_Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PVIPrediction", DbType="Decimal(18,2) NOT NULL")] - public decimal ProjectControl_PVIPrediction - { - get - { - return this._ProjectControl_PVIPrediction; - } - set - { - if ((this._ProjectControl_PVIPrediction != value)) - { - this._ProjectControl_PVIPrediction = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CostEffectvitity", DbType="NVarChar(50)")] - public string ProjectControl_CostEffectvitity - { - get - { - return this._ProjectControl_CostEffectvitity; - } - set - { - if ((this._ProjectControl_CostEffectvitity != value)) - { - this._ProjectControl_CostEffectvitity = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OperationRep", DbType="NVarChar(50)")] - public string ProjectControl_OperationRep - { - get - { - return this._ProjectControl_OperationRep; - } - set - { - if ((this._ProjectControl_OperationRep != value)) - { - this._ProjectControl_OperationRep = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_ProcessName", DbType="NVarChar(50)")] - public string ProjectControl_CI_ProcessName - { - get - { - return this._ProjectControl_CI_ProcessName; - } - set - { - if ((this._ProjectControl_CI_ProcessName != value)) - { - this._ProjectControl_CI_ProcessName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_EquipmentName", DbType="NVarChar(50)")] - public string ProjectControl_CI_EquipmentName - { - get - { - return this._ProjectControl_CI_EquipmentName; - } - set - { - if ((this._ProjectControl_CI_EquipmentName != value)) - { - this._ProjectControl_CI_EquipmentName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_InstrumentName", DbType="NVarChar(50)")] - public string ProjectControl_CI_InstrumentName - { - get - { - return this._ProjectControl_CI_InstrumentName; - } - set - { - if ((this._ProjectControl_CI_InstrumentName != value)) - { - this._ProjectControl_CI_InstrumentName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_ElectricalName", DbType="NVarChar(50)")] - public string ProjectControl_CI_ElectricalName - { - get - { - return this._ProjectControl_CI_ElectricalName; - } - set - { - if ((this._ProjectControl_CI_ElectricalName != value)) - { - this._ProjectControl_CI_ElectricalName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CI_CivilName", DbType="NVarChar(50)")] - public string ProjectControl_CI_CivilName - { - get - { - return this._ProjectControl_CI_CivilName; - } - set - { - if ((this._ProjectControl_CI_CivilName != value)) - { - this._ProjectControl_CI_CivilName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this._PM_General_Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_CDI", DbType="NVarChar(50)")] - public string PM_General_CDI - { - get - { - return this._PM_General_CDI; - } - set - { - if ((this._PM_General_CDI != value)) - { - this._PM_General_CDI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Received", DbType="NVarChar(10)")] - public string IFC_Received - { - get - { - return this._IFC_Received; - } - set - { - if ((this._IFC_Received != value)) - { - this._IFC_Received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_ReceivedDate", DbType="NVarChar(10)")] - public string MC_ReceivedDate - { - get - { - return this._MC_ReceivedDate; - } - set - { - if ((this._MC_ReceivedDate != value)) - { - this._MC_ReceivedDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_Start - { - get - { - return this._Detail_Eng_Civil_Sch_Start; - } - set - { - if ((this._Detail_Eng_Civil_Sch_Start != value)) - { - this._Detail_Eng_Civil_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_End - { - get - { - return this._Detail_Eng_Civil_Sch_End; - } - set - { - if ((this._Detail_Eng_Civil_Sch_End != value)) - { - this._Detail_Eng_Civil_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_START_DATE", DbType="VarChar(10)")] - public string PROJ_DE_CIVIL_ACU_START_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_START_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_START_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_START_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_CIVIL_ACU_END_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_END_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_Start - { - get - { - return this._Detail_Eng_Mech_EI_Sch_Start; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_Start != value)) - { - this._Detail_Eng_Mech_EI_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_SCH_END_DATE", DbType="VarChar(10)")] - public string PROJ_DE_ME_SCH_END_DATE - { - get - { - return this._PROJ_DE_ME_SCH_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_SCH_END_DATE != value)) - { - this._PROJ_DE_ME_SCH_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_End - { - get - { - return this._Detail_Eng_Mech_EI_Sch_End; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_End != value)) - { - this._Detail_Eng_Mech_EI_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_ME_ACU_END_DATE - { - get - { - return this._PROJ_DE_ME_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_ACU_END_DATE != value)) - { - this._PROJ_DE_ME_ACU_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchStart", DbType="VarChar(10)")] - public string ProjectControl_LP_SchStart - { - get - { - return this._ProjectControl_LP_SchStart; - } - set - { - if ((this._ProjectControl_LP_SchStart != value)) - { - this._ProjectControl_LP_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_LP_SchEnd - { - get - { - return this._ProjectControl_LP_SchEnd; - } - set - { - if ((this._ProjectControl_LP_SchEnd != value)) - { - this._ProjectControl_LP_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedStart", DbType="VarChar(10)")] - public string PM_LLEP_RevisedStart - { - get - { - return this._PM_LLEP_RevisedStart; - } - set - { - if ((this._PM_LLEP_RevisedStart != value)) - { - this._PM_LLEP_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedEnd", DbType="VarChar(10)")] - public string PM_LLEP_RevisedEnd - { - get - { - return this._PM_LLEP_RevisedEnd; - } - set - { - if ((this._PM_LLEP_RevisedEnd != value)) - { - this._PM_LLEP_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchStart", DbType="VarChar(10)")] - public string ProjectControl_CC_SchStart - { - get - { - return this._ProjectControl_CC_SchStart; - } - set - { - if ((this._ProjectControl_CC_SchStart != value)) - { - this._ProjectControl_CC_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_CC_SchEnd - { - get - { - return this._ProjectControl_CC_SchEnd; - } - set - { - if ((this._ProjectControl_CC_SchEnd != value)) - { - this._ProjectControl_CC_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedStart", DbType="VarChar(10)")] - public string CM_CC_RevisedStart - { - get - { - return this._CM_CC_RevisedStart; - } - set - { - if ((this._CM_CC_RevisedStart != value)) - { - this._CM_CC_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedEnd", DbType="VarChar(10)")] - public string CM_CC_RevisedEnd - { - get - { - return this._CM_CC_RevisedEnd; - } - set - { - if ((this._CM_CC_RevisedEnd != value)) - { - this._CM_CC_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchStart", DbType="VarChar(10)")] - public string ProjectControl_CM_SchStart - { - get - { - return this._ProjectControl_CM_SchStart; - } - set - { - if ((this._ProjectControl_CM_SchStart != value)) - { - this._ProjectControl_CM_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_CM_SchEnd - { - get - { - return this._ProjectControl_CM_SchEnd; - } - set - { - if ((this._ProjectControl_CM_SchEnd != value)) - { - this._ProjectControl_CM_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedStart", DbType="VarChar(10)")] - public string CM_CM_RevisedStart - { - get - { - return this._CM_CM_RevisedStart; - } - set - { - if ((this._CM_CM_RevisedStart != value)) - { - this._CM_CM_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedEnd", DbType="VarChar(10)")] - public string CM_CM_RevisedEnd - { - get - { - return this._CM_CM_RevisedEnd; - } - set - { - if ((this._CM_CM_RevisedEnd != value)) - { - this._CM_CM_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_KickOffMetting", DbType="VarChar(10)")] - public string CM_KickOffMetting - { - get - { - return this._CM_KickOffMetting; - } - set - { - if ((this._CM_KickOffMetting != value)) - { - this._CM_KickOffMetting = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Revised_MC_Date", DbType="DateTime")] - public System.Nullable ProjectControl_Revised_MC_Date - { - get - { - return this._ProjectControl_Revised_MC_Date; - } - set - { - if ((this._ProjectControl_Revised_MC_Date != value)) - { - this._ProjectControl_Revised_MC_Date = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Remarks", DbType="NVarChar(2000)")] - public string ProjectControl_Remarks - { - get - { - return this._ProjectControl_Remarks; - } - set - { - if ((this._ProjectControl_Remarks != value)) - { - this._ProjectControl_Remarks = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutSourceType", DbType="NVarChar(10)")] - public string OutSourceType - { - get - { - return this._OutSourceType; - } - set - { - if ((this._OutSourceType != value)) - { - this._OutSourceType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Date_of_Registration", DbType="DateTime")] - public System.Nullable CM_Date_of_Registration - { - get - { - return this._CM_Date_of_Registration; - } - set - { - if ((this._CM_Date_of_Registration != value)) - { - this._CM_Date_of_Registration = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Punch_CKilledDate", DbType="DateTime")] - public System.Nullable CM_Punch_CKilledDate - { - get - { - return this._CM_Punch_CKilledDate; - } - set - { - if ((this._CM_Punch_CKilledDate != value)) - { - this._CM_Punch_CKilledDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyWo", DbType="NVarChar(50)")] - public string StudyWo - { - get - { - return this._StudyWo; - } - set - { - if ((this._StudyWo != value)) - { - this._StudyWo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTEInvolved", DbType="NChar(1)")] - public string CTEInvolved - { - get - { - return this._CTEInvolved; - } - set - { - if ((this._CTEInvolved != value)) - { - this._CTEInvolved = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CAPEXPlanNo", DbType="NVarChar(150)")] - public string CAPEXPlanNo - { - get - { - return this._CAPEXPlanNo; - } - set - { - if ((this._CAPEXPlanNo != value)) - { - this._CAPEXPlanNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_ApprovedQty", DbType="Int NOT NULL")] - public int PM_SC_ApprovedQty - { - get - { - return this._PM_SC_ApprovedQty; - } - set - { - if ((this._PM_SC_ApprovedQty != value)) - { - this._PM_SC_ApprovedQty = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_SC_ApprovedCost", DbType="Decimal(18,2) NOT NULL")] - public decimal PM_SC_ApprovedCost - { - get - { - return this._PM_SC_ApprovedCost; - } - set - { - if ((this._PM_SC_ApprovedCost != value)) - { - this._PM_SC_ApprovedCost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Planning_Approval", DbType="VarChar(10)")] - public string PM_Planning_Approval - { - get - { - return this._PM_Planning_Approval; - } - set - { - if ((this._PM_Planning_Approval != value)) - { - this._PM_Planning_Approval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_Pre_Approval", DbType="VarChar(10)")] - public string PM_Pre_Approval - { - get - { - return this._PM_Pre_Approval; - } - set - { - if ((this._PM_Pre_Approval != value)) - { - this._PM_Pre_Approval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Job_Hold", DbType="VarChar(10)")] - public string Job_Hold - { - get - { - return this._Job_Hold; - } - set - { - if ((this._Job_Hold != value)) - { - this._Job_Hold = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Punch")] - public partial class View_Punch - { - - private string _PunchId; - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _Area; - - private string _DisciplineId; - - private string _DisciplineName; - - private string _ActionType; - - private string _ClassId; - - private string _ClassName; - - private string _TagNo; - - private string _RespUnitPerson; - - private string _ResiedById; - - private string _ResiedByName; - - private string _BYC_Person; - - private string _InitiatedByName; - - private System.Nullable _InitiatedByDate; - - private System.Nullable _PlanedFinishDate; - - private string _Description; - - private string _CTECheckerId; - - private string _CTECheckerName; - - private System.Nullable _CTECheckDate; - - private string _OwnerCheckerId; - - private string _OwnerCheckerName; - - private System.Nullable _OwnerCheckDate; - - private string _Remark; - - private string _States; - - public View_Punch() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunchId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string PunchId - { - get - { - return this._PunchId; - } - set - { - if ((this._PunchId != value)) - { - this._PunchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Area", DbType="NVarChar(50)")] - public string Area - { - get - { - return this._Area; - } - set - { - if ((this._Area != value)) - { - this._Area = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this._DisciplineId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineName", DbType="NVarChar(50)")] - public string DisciplineName - { - get - { - return this._DisciplineName; - } - set - { - if ((this._DisciplineName != value)) - { - this._DisciplineName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActionType", DbType="NVarChar(50)")] - public string ActionType - { - get - { - return this._ActionType; - } - set - { - if ((this._ActionType != value)) - { - this._ActionType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassId", DbType="NVarChar(50)")] - public string ClassId - { - get - { - return this._ClassId; - } - set - { - if ((this._ClassId != value)) - { - this._ClassId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(50)")] - public string ClassName - { - get - { - return this._ClassName; - } - set - { - if ((this._ClassName != value)) - { - this._ClassName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TagNo", DbType="NVarChar(50)")] - public string TagNo - { - get - { - return this._TagNo; - } - set - { - if ((this._TagNo != value)) - { - this._TagNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespUnitPerson", DbType="NVarChar(50)")] - public string RespUnitPerson - { - get - { - return this._RespUnitPerson; - } - set - { - if ((this._RespUnitPerson != value)) - { - this._RespUnitPerson = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResiedById", DbType="NVarChar(50)")] - public string ResiedById - { - get - { - return this._ResiedById; - } - set - { - if ((this._ResiedById != value)) - { - this._ResiedById = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResiedByName", DbType="NVarChar(50)")] - public string ResiedByName - { - get - { - return this._ResiedByName; - } - set - { - if ((this._ResiedByName != value)) - { - this._ResiedByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BYC_Person", DbType="NVarChar(50)")] - public string BYC_Person - { - get - { - return this._BYC_Person; - } - set - { - if ((this._BYC_Person != value)) - { - this._BYC_Person = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitiatedByName", DbType="NVarChar(50)")] - public string InitiatedByName - { - get - { - return this._InitiatedByName; - } - set - { - if ((this._InitiatedByName != value)) - { - this._InitiatedByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitiatedByDate", DbType="DateTime")] - public System.Nullable InitiatedByDate - { - get - { - return this._InitiatedByDate; - } - set - { - if ((this._InitiatedByDate != value)) - { - this._InitiatedByDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanedFinishDate", DbType="DateTime")] - public System.Nullable PlanedFinishDate - { - get - { - return this._PlanedFinishDate; - } - set - { - if ((this._PlanedFinishDate != value)) - { - this._PlanedFinishDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(1500)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this._Description = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckerId", DbType="NVarChar(50)")] - public string CTECheckerId - { - get - { - return this._CTECheckerId; - } - set - { - if ((this._CTECheckerId != value)) - { - this._CTECheckerId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckerName", DbType="NVarChar(50)")] - public string CTECheckerName - { - get - { - return this._CTECheckerName; - } - set - { - if ((this._CTECheckerName != value)) - { - this._CTECheckerName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTECheckDate", DbType="DateTime")] - public System.Nullable CTECheckDate - { - get - { - return this._CTECheckDate; - } - set - { - if ((this._CTECheckDate != value)) - { - this._CTECheckDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckerId", DbType="NVarChar(50)")] - public string OwnerCheckerId - { - get - { - return this._OwnerCheckerId; - } - set - { - if ((this._OwnerCheckerId != value)) - { - this._OwnerCheckerId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckerName", DbType="NVarChar(50)")] - public string OwnerCheckerName - { - get - { - return this._OwnerCheckerName; - } - set - { - if ((this._OwnerCheckerName != value)) - { - this._OwnerCheckerName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerCheckDate", DbType="DateTime")] - public System.Nullable OwnerCheckDate - { - get - { - return this._OwnerCheckDate; - } - set - { - if ((this._OwnerCheckDate != value)) - { - this._OwnerCheckDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="VarChar(1)")] - public string States - { - get - { - return this._States; - } - set - { - if ((this._States != value)) - { - this._States = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_DocumentationStatusIFC")] - public partial class View_Report_DocumentationStatusIFC - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_BUCode; - - private string _MC; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobType; - - private System.Nullable _PM_MA_JobReveive; - - private string _ProjectControl_TDCManager; - - private string _Phase; - - private string _PlanProcess; - - private string _Process; - - private string _PlanPlumbing; - - private string _Plumbling; - - private string _PlanEquipment; - - private string _Equipment; - - private string _PlanPiping; - - private string _Piping; - - private string _PlanElectrical; - - private string _Electrical; - - private string _PlanTelecommunication; - - private string _Communication; - - private string _PlanInstrument; - - private string _Instrument; - - private string _PlanCivil; - - private string _CivilStruc; - - private string _PlanHVAC; - - private string _ArchHVAC; - - private string _HSE; - - private string _ALLS; - - public View_Report_DocumentationStatusIFC() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC", DbType="NVarChar(10)")] - public string MC - { - get - { - return this._MC; - } - set - { - if ((this._MC != value)) - { - this._MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="DateTime")] - public System.Nullable PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_TDCManager", DbType="NVarChar(20)")] - public string ProjectControl_TDCManager - { - get - { - return this._ProjectControl_TDCManager; - } - set - { - if ((this._ProjectControl_TDCManager != value)) - { - this._ProjectControl_TDCManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phase", DbType="VarChar(7) NOT NULL", CanBeNull=false)] - public string Phase - { - get - { - return this._Phase; - } - set - { - if ((this._Phase != value)) - { - this._Phase = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanProcess", DbType="NVarChar(10)")] - public string PlanProcess - { - get - { - return this._PlanProcess; - } - set - { - if ((this._PlanProcess != value)) - { - this._PlanProcess = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Process", DbType="NVarChar(10)")] - public string Process - { - get - { - return this._Process; - } - set - { - if ((this._Process != value)) - { - this._Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanPlumbing", DbType="NVarChar(10)")] - public string PlanPlumbing - { - get - { - return this._PlanPlumbing; - } - set - { - if ((this._PlanPlumbing != value)) - { - this._PlanPlumbing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Plumbling", DbType="NVarChar(10)")] - public string Plumbling - { - get - { - return this._Plumbling; - } - set - { - if ((this._Plumbling != value)) - { - this._Plumbling = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEquipment", DbType="NVarChar(10)")] - public string PlanEquipment - { - get - { - return this._PlanEquipment; - } - set - { - if ((this._PlanEquipment != value)) - { - this._PlanEquipment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Equipment", DbType="NVarChar(10)")] - public string Equipment - { - get - { - return this._Equipment; - } - set - { - if ((this._Equipment != value)) - { - this._Equipment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanPiping", DbType="NVarChar(10)")] - public string PlanPiping - { - get - { - return this._PlanPiping; - } - set - { - if ((this._PlanPiping != value)) - { - this._PlanPiping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping", DbType="NVarChar(10)")] - public string Piping - { - get - { - return this._Piping; - } - set - { - if ((this._Piping != value)) - { - this._Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanElectrical", DbType="NVarChar(10)")] - public string PlanElectrical - { - get - { - return this._PlanElectrical; - } - set - { - if ((this._PlanElectrical != value)) - { - this._PlanElectrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Electrical", DbType="NVarChar(10)")] - public string Electrical - { - get - { - return this._Electrical; - } - set - { - if ((this._Electrical != value)) - { - this._Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanTelecommunication", DbType="NVarChar(10)")] - public string PlanTelecommunication - { - get - { - return this._PlanTelecommunication; - } - set - { - if ((this._PlanTelecommunication != value)) - { - this._PlanTelecommunication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Communication", DbType="NVarChar(10)")] - public string Communication - { - get - { - return this._Communication; - } - set - { - if ((this._Communication != value)) - { - this._Communication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanInstrument", DbType="NVarChar(10)")] - public string PlanInstrument - { - get - { - return this._PlanInstrument; - } - set - { - if ((this._PlanInstrument != value)) - { - this._PlanInstrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Instrument", DbType="NVarChar(10)")] - public string Instrument - { - get - { - return this._Instrument; - } - set - { - if ((this._Instrument != value)) - { - this._Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanCivil", DbType="NVarChar(10)")] - public string PlanCivil - { - get - { - return this._PlanCivil; - } - set - { - if ((this._PlanCivil != value)) - { - this._PlanCivil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CivilStruc", DbType="NVarChar(10)")] - public string CivilStruc - { - get - { - return this._CivilStruc; - } - set - { - if ((this._CivilStruc != value)) - { - this._CivilStruc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanHVAC", DbType="NVarChar(10)")] - public string PlanHVAC - { - get - { - return this._PlanHVAC; - } - set - { - if ((this._PlanHVAC != value)) - { - this._PlanHVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArchHVAC", DbType="NVarChar(10)")] - public string ArchHVAC - { - get - { - return this._ArchHVAC; - } - set - { - if ((this._ArchHVAC != value)) - { - this._ArchHVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSE", DbType="NVarChar(10)")] - public string HSE - { - get - { - return this._HSE; - } - set - { - if ((this._HSE != value)) - { - this._HSE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ALLS", DbType="NVarChar(10)")] - public string ALLS - { - get - { - return this._ALLS; - } - set - { - if ((this._ALLS != value)) - { - this._ALLS = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_DocumentationStatusMC")] - public partial class View_Report_DocumentationStatusMC - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_BUCode; - - private string _MC; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobType; - - private System.Nullable _PM_MA_JobReveive; - - private string _ProjectControl_TDCManager; - - private string _Phase; - - private string _Process; - - private string _Plumbling; - - private string _Equipment; - - private string _Piping; - - private string _Electrical; - - private string _Communication; - - private string _Instrument; - - private string _Civil; - - private string _Architectral; - - private string _HVAC; - - private string _MasterpLanning; - - private string _HSE; - - private string _ALLS; - - public View_Report_DocumentationStatusMC() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC", DbType="NVarChar(10)")] - public string MC - { - get - { - return this._MC; - } - set - { - if ((this._MC != value)) - { - this._MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="DateTime")] - public System.Nullable PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_TDCManager", DbType="NVarChar(20)")] - public string ProjectControl_TDCManager - { - get - { - return this._ProjectControl_TDCManager; - } - set - { - if ((this._ProjectControl_TDCManager != value)) - { - this._ProjectControl_TDCManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phase", DbType="VarChar(12) NOT NULL", CanBeNull=false)] - public string Phase - { - get - { - return this._Phase; - } - set - { - if ((this._Phase != value)) - { - this._Phase = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Process", DbType="NVarChar(10)")] - public string Process - { - get - { - return this._Process; - } - set - { - if ((this._Process != value)) - { - this._Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Plumbling", DbType="NVarChar(10)")] - public string Plumbling - { - get - { - return this._Plumbling; - } - set - { - if ((this._Plumbling != value)) - { - this._Plumbling = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Equipment", DbType="NVarChar(10)")] - public string Equipment - { - get - { - return this._Equipment; - } - set - { - if ((this._Equipment != value)) - { - this._Equipment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping", DbType="NVarChar(10)")] - public string Piping - { - get - { - return this._Piping; - } - set - { - if ((this._Piping != value)) - { - this._Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Electrical", DbType="NVarChar(10)")] - public string Electrical - { - get - { - return this._Electrical; - } - set - { - if ((this._Electrical != value)) - { - this._Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Communication", DbType="NVarChar(10)")] - public string Communication - { - get - { - return this._Communication; - } - set - { - if ((this._Communication != value)) - { - this._Communication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Instrument", DbType="NVarChar(10)")] - public string Instrument - { - get - { - return this._Instrument; - } - set - { - if ((this._Instrument != value)) - { - this._Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Civil", DbType="NVarChar(10)")] - public string Civil - { - get - { - return this._Civil; - } - set - { - if ((this._Civil != value)) - { - this._Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Architectral", DbType="NVarChar(10)")] - public string Architectral - { - get - { - return this._Architectral; - } - set - { - if ((this._Architectral != value)) - { - this._Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HVAC", DbType="NVarChar(10)")] - public string HVAC - { - get - { - return this._HVAC; - } - set - { - if ((this._HVAC != value)) - { - this._HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MasterpLanning", DbType="NVarChar(10)")] - public string MasterpLanning - { - get - { - return this._MasterpLanning; - } - set - { - if ((this._MasterpLanning != value)) - { - this._MasterpLanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSE", DbType="NVarChar(10)")] - public string HSE - { - get - { - return this._HSE; - } - set - { - if ((this._HSE != value)) - { - this._HSE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ALLS", DbType="NVarChar(10)")] - public string ALLS - { - get - { - return this._ALLS; - } - set - { - if ((this._ALLS != value)) - { - this._ALLS = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_DocumentationStatusMC_OUT")] - public partial class View_Report_DocumentationStatusMC_OUT - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_BUCode; - - private string _MC; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_JobType; - - private System.Nullable _PM_MA_JobReveive; - - private string _PM_General_CDI; - - private string _OutSourceType; - - private string _ApprSch; - - private string _ApprAct; - - private string _ProjectControl_TDCManager; - - private string _Phase; - - private string _Process; - - private string _Plumbling; - - private string _Equipment; - - private string _Piping; - - private string _Electrical; - - private string _Communication; - - private string _Instrument; - - private string _Civil; - - private string _Architectral; - - private string _HVAC; - - private string _MasterpLanning; - - private string _HSE; - - private string _ALLS; - - private string _P1_Process; - - private string _P3_Plumbing_FF; - - private string _P2_Mech_Equi; - - private string _P4_Piping; - - private string _A2_Electrical; - - private string _A3_Telec; - - private string _A1_Instrument; - - private string _C1_Civil; - - private string _C3_Architectral; - - private string _C4_HVAC; - - private string _C2_MasterPlanning; - - private string _Detail_Eng_Civil_Sch_Start; - - private string _Detail_Eng_Civil_Sch_End; - - private string _PROJ_DE_CIVIL_ACU_START_DATE; - - private string _PROJ_DE_CIVIL_ACU_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_Start; - - private string _PROJ_DE_ME_SCH_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_End; - - private string _PROJ_DE_ME_ACU_END_DATE; - - public View_Report_DocumentationStatusMC_OUT() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC", DbType="NVarChar(10)")] - public string MC - { - get - { - return this._MC; - } - set - { - if ((this._MC != value)) - { - this._MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="DateTime")] - public System.Nullable PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_CDI", DbType="NVarChar(50)")] - public string PM_General_CDI - { - get - { - return this._PM_General_CDI; - } - set - { - if ((this._PM_General_CDI != value)) - { - this._PM_General_CDI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutSourceType", DbType="NVarChar(10)")] - public string OutSourceType - { - get - { - return this._OutSourceType; - } - set - { - if ((this._OutSourceType != value)) - { - this._OutSourceType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprSch", DbType="VarChar(10)")] - public string ApprSch - { - get - { - return this._ApprSch; - } - set - { - if ((this._ApprSch != value)) - { - this._ApprSch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprAct", DbType="VarChar(10)")] - public string ApprAct - { - get - { - return this._ApprAct; - } - set - { - if ((this._ApprAct != value)) - { - this._ApprAct = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_TDCManager", DbType="NVarChar(20)")] - public string ProjectControl_TDCManager - { - get - { - return this._ProjectControl_TDCManager; - } - set - { - if ((this._ProjectControl_TDCManager != value)) - { - this._ProjectControl_TDCManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phase", DbType="VarChar(12) NOT NULL", CanBeNull=false)] - public string Phase - { - get - { - return this._Phase; - } - set - { - if ((this._Phase != value)) - { - this._Phase = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Process", DbType="NVarChar(10)")] - public string Process - { - get - { - return this._Process; - } - set - { - if ((this._Process != value)) - { - this._Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Plumbling", DbType="NVarChar(10)")] - public string Plumbling - { - get - { - return this._Plumbling; - } - set - { - if ((this._Plumbling != value)) - { - this._Plumbling = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Equipment", DbType="NVarChar(10)")] - public string Equipment - { - get - { - return this._Equipment; - } - set - { - if ((this._Equipment != value)) - { - this._Equipment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping", DbType="NVarChar(10)")] - public string Piping - { - get - { - return this._Piping; - } - set - { - if ((this._Piping != value)) - { - this._Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Electrical", DbType="NVarChar(10)")] - public string Electrical - { - get - { - return this._Electrical; - } - set - { - if ((this._Electrical != value)) - { - this._Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Communication", DbType="NVarChar(10)")] - public string Communication - { - get - { - return this._Communication; - } - set - { - if ((this._Communication != value)) - { - this._Communication = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Instrument", DbType="NVarChar(10)")] - public string Instrument - { - get - { - return this._Instrument; - } - set - { - if ((this._Instrument != value)) - { - this._Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Civil", DbType="NVarChar(10)")] - public string Civil - { - get - { - return this._Civil; - } - set - { - if ((this._Civil != value)) - { - this._Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Architectral", DbType="NVarChar(10)")] - public string Architectral - { - get - { - return this._Architectral; - } - set - { - if ((this._Architectral != value)) - { - this._Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HVAC", DbType="NVarChar(10)")] - public string HVAC - { - get - { - return this._HVAC; - } - set - { - if ((this._HVAC != value)) - { - this._HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MasterpLanning", DbType="NVarChar(10)")] - public string MasterpLanning - { - get - { - return this._MasterpLanning; - } - set - { - if ((this._MasterpLanning != value)) - { - this._MasterpLanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSE", DbType="NVarChar(10)")] - public string HSE - { - get - { - return this._HSE; - } - set - { - if ((this._HSE != value)) - { - this._HSE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ALLS", DbType="NVarChar(10)")] - public string ALLS - { - get - { - return this._ALLS; - } - set - { - if ((this._ALLS != value)) - { - this._ALLS = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_P1_Process", DbType="NVarChar(20)")] - public string P1_Process - { - get - { - return this._P1_Process; - } - set - { - if ((this._P1_Process != value)) - { - this._P1_Process = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_P3_Plumbing_FF", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string P3_Plumbing_FF - { - get - { - return this._P3_Plumbing_FF; - } - set - { - if ((this._P3_Plumbing_FF != value)) - { - this._P3_Plumbing_FF = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_P2_Mech_Equi", DbType="NVarChar(20)")] - public string P2_Mech_Equi - { - get - { - return this._P2_Mech_Equi; - } - set - { - if ((this._P2_Mech_Equi != value)) - { - this._P2_Mech_Equi = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_P4_Piping", DbType="NVarChar(20)")] - public string P4_Piping - { - get - { - return this._P4_Piping; - } - set - { - if ((this._P4_Piping != value)) - { - this._P4_Piping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_A2_Electrical", DbType="NVarChar(20)")] - public string A2_Electrical - { - get - { - return this._A2_Electrical; - } - set - { - if ((this._A2_Electrical != value)) - { - this._A2_Electrical = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_A3_Telec", DbType="NVarChar(20)")] - public string A3_Telec - { - get - { - return this._A3_Telec; - } - set - { - if ((this._A3_Telec != value)) - { - this._A3_Telec = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_A1_Instrument", DbType="NVarChar(20)")] - public string A1_Instrument - { - get - { - return this._A1_Instrument; - } - set - { - if ((this._A1_Instrument != value)) - { - this._A1_Instrument = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1_Civil", DbType="NVarChar(20)")] - public string C1_Civil - { - get - { - return this._C1_Civil; - } - set - { - if ((this._C1_Civil != value)) - { - this._C1_Civil = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3_Architectral", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string C3_Architectral - { - get - { - return this._C3_Architectral; - } - set - { - if ((this._C3_Architectral != value)) - { - this._C3_Architectral = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4_HVAC", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string C4_HVAC - { - get - { - return this._C4_HVAC; - } - set - { - if ((this._C4_HVAC != value)) - { - this._C4_HVAC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2_MasterPlanning", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string C2_MasterPlanning - { - get - { - return this._C2_MasterPlanning; - } - set - { - if ((this._C2_MasterPlanning != value)) - { - this._C2_MasterPlanning = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_Start - { - get - { - return this._Detail_Eng_Civil_Sch_Start; - } - set - { - if ((this._Detail_Eng_Civil_Sch_Start != value)) - { - this._Detail_Eng_Civil_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_End - { - get - { - return this._Detail_Eng_Civil_Sch_End; - } - set - { - if ((this._Detail_Eng_Civil_Sch_End != value)) - { - this._Detail_Eng_Civil_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_START_DATE", DbType="VarChar(10)")] - public string PROJ_DE_CIVIL_ACU_START_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_START_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_START_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_START_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_CIVIL_ACU_END_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_END_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_Start - { - get - { - return this._Detail_Eng_Mech_EI_Sch_Start; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_Start != value)) - { - this._Detail_Eng_Mech_EI_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_SCH_END_DATE", DbType="VarChar(10)")] - public string PROJ_DE_ME_SCH_END_DATE - { - get - { - return this._PROJ_DE_ME_SCH_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_SCH_END_DATE != value)) - { - this._PROJ_DE_ME_SCH_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_End - { - get - { - return this._Detail_Eng_Mech_EI_Sch_End; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_End != value)) - { - this._Detail_Eng_Mech_EI_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_ME_ACU_END_DATE - { - get - { - return this._PROJ_DE_ME_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_ACU_END_DATE != value)) - { - this._PROJ_DE_ME_ACU_END_DATE = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_DocumentationTakeoverReport")] - public partial class View_Report_DocumentationTakeoverReport - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobStatus; - - private System.Nullable _IFC_HC_A1_Pages; - - private string _IFC_Hard_Copy; - - private string _IFC_PDF_in_X_Drive; - - private string _IFC_Native_in_X_Drive; - - private string _IFC_PDF_in_DCTM; - - private System.Nullable _BUILT_HC_A1_Pages; - - private string _BUILT_Hard_Copy; - - private string _BUILT_PDF_in_X_Drive; - - private string _BUILT_Native_in_X_Drive; - - private string _BUILT_PDF_in_DCTM; - - private string _BUILT_Native_in_DCTM; - - private string _Vendor_Hard_Copy; - - private string _Vendor_PDF_in_X_Drive; - - private string _Vendor_Native_in_X_Drive; - - private string _Vendor_PDF_in_DCTM; - - private string _Vendor_Native_in_DCTM; - - private string _Construction_Hard_Copy; - - private string _Construction_PDF_in_X_Drive; - - public View_Report_DocumentationTakeoverReport() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_HC_A1_Pages", DbType="Decimal(38,3)")] - public System.Nullable IFC_HC_A1_Pages - { - get - { - return this._IFC_HC_A1_Pages; - } - set - { - if ((this._IFC_HC_A1_Pages != value)) - { - this._IFC_HC_A1_Pages = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Hard_Copy", DbType="NVarChar(10)")] - public string IFC_Hard_Copy - { - get - { - return this._IFC_Hard_Copy; - } - set - { - if ((this._IFC_Hard_Copy != value)) - { - this._IFC_Hard_Copy = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_PDF_in_X_Drive", DbType="NVarChar(10)")] - public string IFC_PDF_in_X_Drive - { - get - { - return this._IFC_PDF_in_X_Drive; - } - set - { - if ((this._IFC_PDF_in_X_Drive != value)) - { - this._IFC_PDF_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Native_in_X_Drive", DbType="NVarChar(10)")] - public string IFC_Native_in_X_Drive - { - get - { - return this._IFC_Native_in_X_Drive; - } - set - { - if ((this._IFC_Native_in_X_Drive != value)) - { - this._IFC_Native_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_PDF_in_DCTM", DbType="NVarChar(10)")] - public string IFC_PDF_in_DCTM - { - get - { - return this._IFC_PDF_in_DCTM; - } - set - { - if ((this._IFC_PDF_in_DCTM != value)) - { - this._IFC_PDF_in_DCTM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_HC_A1_Pages", DbType="Decimal(38,3)")] - public System.Nullable BUILT_HC_A1_Pages - { - get - { - return this._BUILT_HC_A1_Pages; - } - set - { - if ((this._BUILT_HC_A1_Pages != value)) - { - this._BUILT_HC_A1_Pages = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_Hard_Copy", DbType="NVarChar(10)")] - public string BUILT_Hard_Copy - { - get - { - return this._BUILT_Hard_Copy; - } - set - { - if ((this._BUILT_Hard_Copy != value)) - { - this._BUILT_Hard_Copy = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_PDF_in_X_Drive", DbType="NVarChar(10)")] - public string BUILT_PDF_in_X_Drive - { - get - { - return this._BUILT_PDF_in_X_Drive; - } - set - { - if ((this._BUILT_PDF_in_X_Drive != value)) - { - this._BUILT_PDF_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_Native_in_X_Drive", DbType="NVarChar(10)")] - public string BUILT_Native_in_X_Drive - { - get - { - return this._BUILT_Native_in_X_Drive; - } - set - { - if ((this._BUILT_Native_in_X_Drive != value)) - { - this._BUILT_Native_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_PDF_in_DCTM", DbType="NVarChar(10)")] - public string BUILT_PDF_in_DCTM - { - get - { - return this._BUILT_PDF_in_DCTM; - } - set - { - if ((this._BUILT_PDF_in_DCTM != value)) - { - this._BUILT_PDF_in_DCTM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BUILT_Native_in_DCTM", DbType="NVarChar(10)")] - public string BUILT_Native_in_DCTM - { - get - { - return this._BUILT_Native_in_DCTM; - } - set - { - if ((this._BUILT_Native_in_DCTM != value)) - { - this._BUILT_Native_in_DCTM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Vendor_Hard_Copy", DbType="NVarChar(10)")] - public string Vendor_Hard_Copy - { - get - { - return this._Vendor_Hard_Copy; - } - set - { - if ((this._Vendor_Hard_Copy != value)) - { - this._Vendor_Hard_Copy = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Vendor_PDF_in_X_Drive", DbType="NVarChar(10)")] - public string Vendor_PDF_in_X_Drive - { - get - { - return this._Vendor_PDF_in_X_Drive; - } - set - { - if ((this._Vendor_PDF_in_X_Drive != value)) - { - this._Vendor_PDF_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Vendor_Native_in_X_Drive", DbType="NVarChar(10)")] - public string Vendor_Native_in_X_Drive - { - get - { - return this._Vendor_Native_in_X_Drive; - } - set - { - if ((this._Vendor_Native_in_X_Drive != value)) - { - this._Vendor_Native_in_X_Drive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Vendor_PDF_in_DCTM", DbType="NVarChar(10)")] - public string Vendor_PDF_in_DCTM - { - get - { - return this._Vendor_PDF_in_DCTM; - } - set - { - if ((this._Vendor_PDF_in_DCTM != value)) - { - this._Vendor_PDF_in_DCTM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Vendor_Native_in_DCTM", DbType="NVarChar(10)")] - public string Vendor_Native_in_DCTM - { - get - { - return this._Vendor_Native_in_DCTM; - } - set - { - if ((this._Vendor_Native_in_DCTM != value)) - { - this._Vendor_Native_in_DCTM = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Construction_Hard_Copy", DbType="NVarChar(10)")] - public string Construction_Hard_Copy - { - get - { - return this._Construction_Hard_Copy; - } - set - { - if ((this._Construction_Hard_Copy != value)) - { - this._Construction_Hard_Copy = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Construction_PDF_in_X_Drive", DbType="NVarChar(10)")] - public string Construction_PDF_in_X_Drive - { - get - { - return this._Construction_PDF_in_X_Drive; - } - set - { - if ((this._Construction_PDF_in_X_Drive != value)) - { - this._Construction_PDF_in_X_Drive = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.VIEW_Report_Overview")] - public partial class VIEW_Report_Overview - { - - private string _EProjectId; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_LeadByName; - - private string _ProjectControl_JobTitle; - - private System.Nullable _ProjectControl_OrginalBudget; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_ConstManager; - - private string _ProjectControl_EMManager; - - private string _Engineer; - - private string _PM_MA_ProjectApproval; - - private string _ProjectControl_MS_MC; - - private string _MCRevised; - - private string _PM_General_Priority; - - private string _PM_General_Category; - - private string _ProjectControl_JobStatus; - - private string _Scope; - - private string _Cost; - - private string _Schedule; - - private string _PM_MA_JobReveive; - - private System.Nullable _EstimatedFinalCost; - - private string _MCActual; - - private string _Punch_C_Killed; - - private string _Date_of_Registeration; - - private string _MC_Signed; - - private string _FC_Signed; - - private string _RFSU; - - private string _ProjectControl_BC_CloseDate; - - private string _IFC_Received; - - private string _As_built_Received; - - private string _MD_Received; - - private string _ProjectControl_CostEffectvitity; - - private System.Nullable _ProjectControl_PVIPrediction; - - private string _ProjectControl_PC_CancelDate; - - private string _ProjectControl_NetworkNo; - - private string _PM_General_CDI; - - private string _ProjectControl_Account; - - private string _StudyWo; - - private string _CTEInvolved; - - private string _CAPEXPlanNo; - - private string _ProjectControl_MOCFormNo; - - public VIEW_Report_Overview() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_OrginalBudget", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_OrginalBudget - { - get - { - return this._ProjectControl_OrginalBudget; - } - set - { - if ((this._ProjectControl_OrginalBudget != value)) - { - this._ProjectControl_OrginalBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManager", DbType="NVarChar(50)")] - public string ProjectControl_ConstManager - { - get - { - return this._ProjectControl_ConstManager; - } - set - { - if ((this._ProjectControl_ConstManager != value)) - { - this._ProjectControl_ConstManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_EMManager", DbType="NVarChar(50)")] - public string ProjectControl_EMManager - { - get - { - return this._ProjectControl_EMManager; - } - set - { - if ((this._ProjectControl_EMManager != value)) - { - this._ProjectControl_EMManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Engineer", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string Engineer - { - get - { - return this._Engineer; - } - set - { - if ((this._Engineer != value)) - { - this._Engineer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="NVarChar(10)")] - public string PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this._PM_MA_ProjectApproval = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MS_MC", DbType="NVarChar(10)")] - public string ProjectControl_MS_MC - { - get - { - return this._ProjectControl_MS_MC; - } - set - { - if ((this._ProjectControl_MS_MC != value)) - { - this._ProjectControl_MS_MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MCRevised", DbType="NVarChar(10)")] - public string MCRevised - { - get - { - return this._MCRevised; - } - set - { - if ((this._MCRevised != value)) - { - this._MCRevised = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this._PM_General_Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Scope", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Scope - { - get - { - return this._Scope; - } - set - { - if ((this._Scope != value)) - { - this._Scope = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cost", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Cost - { - get - { - return this._Cost; - } - set - { - if ((this._Cost != value)) - { - this._Cost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Schedule", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Schedule - { - get - { - return this._Schedule; - } - set - { - if ((this._Schedule != value)) - { - this._Schedule = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_JobReveive", DbType="NVarChar(10)")] - public string PM_MA_JobReveive - { - get - { - return this._PM_MA_JobReveive; - } - set - { - if ((this._PM_MA_JobReveive != value)) - { - this._PM_MA_JobReveive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EstimatedFinalCost", DbType="Decimal(21,2)")] - public System.Nullable EstimatedFinalCost - { - get - { - return this._EstimatedFinalCost; - } - set - { - if ((this._EstimatedFinalCost != value)) - { - this._EstimatedFinalCost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MCActual", DbType="NVarChar(10)")] - public string MCActual - { - get - { - return this._MCActual; - } - set - { - if ((this._MCActual != value)) - { - this._MCActual = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Punch_C_Killed", DbType="NVarChar(10)")] - public string Punch_C_Killed - { - get - { - return this._Punch_C_Killed; - } - set - { - if ((this._Punch_C_Killed != value)) - { - this._Punch_C_Killed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date_of_Registeration", DbType="NVarChar(10)")] - public string Date_of_Registeration - { - get - { - return this._Date_of_Registeration; - } - set - { - if ((this._Date_of_Registeration != value)) - { - this._Date_of_Registeration = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC_Signed", DbType="NVarChar(10)")] - public string MC_Signed - { - get - { - return this._MC_Signed; - } - set - { - if ((this._MC_Signed != value)) - { - this._MC_Signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FC_Signed", DbType="NVarChar(10)")] - public string FC_Signed - { - get - { - return this._FC_Signed; - } - set - { - if ((this._FC_Signed != value)) - { - this._FC_Signed = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RFSU", DbType="NVarChar(10)")] - public string RFSU - { - get - { - return this._RFSU; - } - set - { - if ((this._RFSU != value)) - { - this._RFSU = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BC_CloseDate", DbType="NVarChar(10)")] - public string ProjectControl_BC_CloseDate - { - get - { - return this._ProjectControl_BC_CloseDate; - } - set - { - if ((this._ProjectControl_BC_CloseDate != value)) - { - this._ProjectControl_BC_CloseDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IFC_Received", DbType="NVarChar(10)")] - public string IFC_Received - { - get - { - return this._IFC_Received; - } - set - { - if ((this._IFC_Received != value)) - { - this._IFC_Received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_As_built_Received", DbType="NVarChar(10)")] - public string As_built_Received - { - get - { - return this._As_built_Received; - } - set - { - if ((this._As_built_Received != value)) - { - this._As_built_Received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MD_Received", DbType="NVarChar(10)")] - public string MD_Received - { - get - { - return this._MD_Received; - } - set - { - if ((this._MD_Received != value)) - { - this._MD_Received = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CostEffectvitity", DbType="NVarChar(50)")] - public string ProjectControl_CostEffectvitity - { - get - { - return this._ProjectControl_CostEffectvitity; - } - set - { - if ((this._ProjectControl_CostEffectvitity != value)) - { - this._ProjectControl_CostEffectvitity = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PVIPrediction", DbType="Decimal(18,2)")] - public System.Nullable ProjectControl_PVIPrediction - { - get - { - return this._ProjectControl_PVIPrediction; - } - set - { - if ((this._ProjectControl_PVIPrediction != value)) - { - this._ProjectControl_PVIPrediction = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_PC_CancelDate", DbType="NVarChar(10)")] - public string ProjectControl_PC_CancelDate - { - get - { - return this._ProjectControl_PC_CancelDate; - } - set - { - if ((this._ProjectControl_PC_CancelDate != value)) - { - this._ProjectControl_PC_CancelDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_NetworkNo", DbType="NVarChar(50)")] - public string ProjectControl_NetworkNo - { - get - { - return this._ProjectControl_NetworkNo; - } - set - { - if ((this._ProjectControl_NetworkNo != value)) - { - this._ProjectControl_NetworkNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_CDI", DbType="NVarChar(50)")] - public string PM_General_CDI - { - get - { - return this._PM_General_CDI; - } - set - { - if ((this._PM_General_CDI != value)) - { - this._PM_General_CDI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_Account", DbType="NVarChar(50)")] - public string ProjectControl_Account - { - get - { - return this._ProjectControl_Account; - } - set - { - if ((this._ProjectControl_Account != value)) - { - this._ProjectControl_Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyWo", DbType="NVarChar(50)")] - public string StudyWo - { - get - { - return this._StudyWo; - } - set - { - if ((this._StudyWo != value)) - { - this._StudyWo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CTEInvolved", DbType="NChar(1)")] - public string CTEInvolved - { - get - { - return this._CTEInvolved; - } - set - { - if ((this._CTEInvolved != value)) - { - this._CTEInvolved = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CAPEXPlanNo", DbType="NVarChar(150)")] - public string CAPEXPlanNo - { - get - { - return this._CAPEXPlanNo; - } - set - { - if ((this._CAPEXPlanNo != value)) - { - this._CAPEXPlanNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_MOCFormNo", DbType="NVarChar(50)")] - public string ProjectControl_MOCFormNo - { - get - { - return this._ProjectControl_MOCFormNo; - } - set - { - if ((this._ProjectControl_MOCFormNo != value)) - { - this._ProjectControl_MOCFormNo = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_Permit_PressurePipingVesse")] - public partial class View_Report_Permit_PressurePipingVesse - { - - private System.Nullable _EprojectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_ProjectManager; - - private string _PType; - - private string _PressurePiping; - - private string _PressureVessel; - - private string _SQIB; - - private string _ArchiveAccep; - - private string _ThrdConstJian; - - public View_Report_Permit_PressurePipingVesse() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EprojectId", DbType="UniqueIdentifier")] - public System.Nullable EprojectId - { - get - { - return this._EprojectId; - } - set - { - if ((this._EprojectId != value)) - { - this._EprojectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PType", DbType="VarChar(4) NOT NULL", CanBeNull=false)] - public string PType - { - get - { - return this._PType; - } - set - { - if ((this._PType != value)) - { - this._PType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressurePiping", DbType="NVarChar(10)")] - public string PressurePiping - { - get - { - return this._PressurePiping; - } - set - { - if ((this._PressurePiping != value)) - { - this._PressurePiping = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureVessel", DbType="NVarChar(10)")] - public string PressureVessel - { - get - { - return this._PressureVessel; - } - set - { - if ((this._PressureVessel != value)) - { - this._PressureVessel = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SQIB", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string SQIB - { - get - { - return this._SQIB; - } - set - { - if ((this._SQIB != value)) - { - this._SQIB = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArchiveAccep", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string ArchiveAccep - { - get - { - return this._ArchiveAccep; - } - set - { - if ((this._ArchiveAccep != value)) - { - this._ArchiveAccep = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThrdConstJian", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string ThrdConstJian - { - get - { - return this._ThrdConstJian; - } - set - { - if ((this._ThrdConstJian != value)) - { - this._ThrdConstJian = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_PermitGeneral")] - public partial class View_Report_PermitGeneral - { - - private System.Nullable _EprojectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_ProjectManager; - - private string _PType; - - private string _EnvAssess; - - private string _EnergySaving; - - private string _ProjectRegistr; - - private string _PlanningPermit; - - private string _SafetyConReview; - - private string _SafetyDesginReview; - - private string _FFDesginReview; - - private string _ConstPermit; - - private string _CMStart; - - private string _MC; - - private string _SafetyFinalAcc; - - private string _FFFinalAcc; - - private string _Usin; - - private string _EnvFinalAcc; - - public View_Report_PermitGeneral() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EprojectId", DbType="UniqueIdentifier")] - public System.Nullable EprojectId - { - get - { - return this._EprojectId; - } - set - { - if ((this._EprojectId != value)) - { - this._EprojectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PType", DbType="VarChar(4) NOT NULL", CanBeNull=false)] - public string PType - { - get - { - return this._PType; - } - set - { - if ((this._PType != value)) - { - this._PType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnvAssess", DbType="NVarChar(10)")] - public string EnvAssess - { - get - { - return this._EnvAssess; - } - set - { - if ((this._EnvAssess != value)) - { - this._EnvAssess = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnergySaving", DbType="NVarChar(10)")] - public string EnergySaving - { - get - { - return this._EnergySaving; - } - set - { - if ((this._EnergySaving != value)) - { - this._EnergySaving = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectRegistr", DbType="NVarChar(10)")] - public string ProjectRegistr - { - get - { - return this._ProjectRegistr; - } - set - { - if ((this._ProjectRegistr != value)) - { - this._ProjectRegistr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanningPermit", DbType="NVarChar(10)")] - public string PlanningPermit - { - get - { - return this._PlanningPermit; - } - set - { - if ((this._PlanningPermit != value)) - { - this._PlanningPermit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyConReview", DbType="NVarChar(10)")] - public string SafetyConReview - { - get - { - return this._SafetyConReview; - } - set - { - if ((this._SafetyConReview != value)) - { - this._SafetyConReview = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyDesginReview", DbType="NVarChar(10)")] - public string SafetyDesginReview - { - get - { - return this._SafetyDesginReview; - } - set - { - if ((this._SafetyDesginReview != value)) - { - this._SafetyDesginReview = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FFDesginReview", DbType="NVarChar(10)")] - public string FFDesginReview - { - get - { - return this._FFDesginReview; - } - set - { - if ((this._FFDesginReview != value)) - { - this._FFDesginReview = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstPermit", DbType="NVarChar(10)")] - public string ConstPermit - { - get - { - return this._ConstPermit; - } - set - { - if ((this._ConstPermit != value)) - { - this._ConstPermit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CMStart", DbType="NVarChar(10)")] - public string CMStart - { - get - { - return this._CMStart; - } - set - { - if ((this._CMStart != value)) - { - this._CMStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MC", DbType="NVarChar(10)")] - public string MC - { - get - { - return this._MC; - } - set - { - if ((this._MC != value)) - { - this._MC = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyFinalAcc", DbType="NVarChar(10)")] - public string SafetyFinalAcc - { - get - { - return this._SafetyFinalAcc; - } - set - { - if ((this._SafetyFinalAcc != value)) - { - this._SafetyFinalAcc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FFFinalAcc", DbType="NVarChar(10)")] - public string FFFinalAcc - { - get - { - return this._FFFinalAcc; - } - set - { - if ((this._FFFinalAcc != value)) - { - this._FFFinalAcc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Usin", DbType="NVarChar(10)")] - public string Usin - { - get - { - return this._Usin; - } - set - { - if ((this._Usin != value)) - { - this._Usin = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnvFinalAcc", DbType="NVarChar(10)")] - public string EnvFinalAcc - { - get - { - return this._EnvFinalAcc; - } - set - { - if ((this._EnvFinalAcc != value)) - { - this._EnvFinalAcc = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_ProjectCostReport")] - public partial class View_Report_ProjectCostReport - { - - private string _CostReportId; - - private string _EProjectId; - - private string _Monthly; - - private decimal _OrginalBudget; - - private decimal _ChangedBudget; - - private decimal _ActualCost; - - private System.Nullable _Committeds; - - private decimal _CostToComplete; - - private string _CostCompetedRate; - - private System.Nullable _CostCompeted; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_ProjectManager; - - private string _ProjectControl_ConstManager; - - private string _ProjectControl_JobStatus; - - private string _PM_MA_ProjectApproval; - - public View_Report_ProjectCostReport() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string CostReportId - { - get - { - return this._CostReportId; - } - set - { - if ((this._CostReportId != value)) - { - this._CostReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Monthly", DbType="NVarChar(50)")] - public string Monthly - { - get - { - return this._Monthly; - } - set - { - if ((this._Monthly != value)) - { - this._Monthly = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrginalBudget", DbType="Decimal(18,2) NOT NULL")] - public decimal OrginalBudget - { - get - { - return this._OrginalBudget; - } - set - { - if ((this._OrginalBudget != value)) - { - this._OrginalBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ChangedBudget", DbType="Decimal(18,2) NOT NULL")] - public decimal ChangedBudget - { - get - { - return this._ChangedBudget; - } - set - { - if ((this._ChangedBudget != value)) - { - this._ChangedBudget = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualCost", DbType="Decimal(18,2) NOT NULL")] - public decimal ActualCost - { - get - { - return this._ActualCost; - } - set - { - if ((this._ActualCost != value)) - { - this._ActualCost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Committeds", DbType="Decimal(19,2)")] - public System.Nullable Committeds - { - get - { - return this._Committeds; - } - set - { - if ((this._Committeds != value)) - { - this._Committeds = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostToComplete", DbType="Decimal(18,2) NOT NULL")] - public decimal CostToComplete - { - get - { - return this._CostToComplete; - } - set - { - if ((this._CostToComplete != value)) - { - this._CostToComplete = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCompetedRate", DbType="NVarChar(11)")] - public string CostCompetedRate - { - get - { - return this._CostCompetedRate; - } - set - { - if ((this._CostCompetedRate != value)) - { - this._CostCompetedRate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCompeted", DbType="Decimal(18,2)")] - public System.Nullable CostCompeted - { - get - { - return this._CostCompeted; - } - set - { - if ((this._CostCompeted != value)) - { - this._CostCompeted = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ProjectManager", DbType="NVarChar(50)")] - public string ProjectControl_ProjectManager - { - get - { - return this._ProjectControl_ProjectManager; - } - set - { - if ((this._ProjectControl_ProjectManager != value)) - { - this._ProjectControl_ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_ConstManager", DbType="NVarChar(50)")] - public string ProjectControl_ConstManager - { - get - { - return this._ProjectControl_ConstManager; - } - set - { - if ((this._ProjectControl_ConstManager != value)) - { - this._ProjectControl_ConstManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_MA_ProjectApproval", DbType="NVarChar(10)")] - public string PM_MA_ProjectApproval - { - get - { - return this._PM_MA_ProjectApproval; - } - set - { - if ((this._PM_MA_ProjectApproval != value)) - { - this._PM_MA_ProjectApproval = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_Rolesview")] - public partial class View_Report_Rolesview - { - - private string _EProjectId; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_JobStatus; - - private string _PM_General_Priority; - - private string _ProjectManager; - - private string _Proc_Designer; - - private string _Proc_Checker; - - private string _Proc_Approvers; - - private string _ME_Designer; - - private string _ME_Checker; - - private string _ME_Approvers; - - private string _PluFF_Designer; - - private string _PluFF_Checker; - - private string _PluFF_Approvers; - - private string _Piping_Designer; - - private string _Piping_Checker; - - private string _Piping_Approvers; - - private string _Ins_Designer; - - private string _Ins_Checker; - - private string _Ins_Approvers; - - private string _Ele_Designer; - - private string _Ele_Checker; - - private string _Ele_Approvers; - - private string _Civ_Designer; - - private string _Civ_Checker; - - private string _Civ_Approvers; - - private string _MP_Designer; - - private string _MP_Checker; - - private string _MP_Approvers; - - public View_Report_Rolesview() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectManager", DbType="NVarChar(20)")] - public string ProjectManager - { - get - { - return this._ProjectManager; - } - set - { - if ((this._ProjectManager != value)) - { - this._ProjectManager = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proc_Designer", DbType="NVarChar(20)")] - public string Proc_Designer - { - get - { - return this._Proc_Designer; - } - set - { - if ((this._Proc_Designer != value)) - { - this._Proc_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proc_Checker", DbType="NVarChar(20)")] - public string Proc_Checker - { - get - { - return this._Proc_Checker; - } - set - { - if ((this._Proc_Checker != value)) - { - this._Proc_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proc_Approvers", DbType="NVarChar(20)")] - public string Proc_Approvers - { - get - { - return this._Proc_Approvers; - } - set - { - if ((this._Proc_Approvers != value)) - { - this._Proc_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ME_Designer", DbType="NVarChar(20)")] - public string ME_Designer - { - get - { - return this._ME_Designer; - } - set - { - if ((this._ME_Designer != value)) - { - this._ME_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ME_Checker", DbType="NVarChar(20)")] - public string ME_Checker - { - get - { - return this._ME_Checker; - } - set - { - if ((this._ME_Checker != value)) - { - this._ME_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ME_Approvers", DbType="NVarChar(20)")] - public string ME_Approvers - { - get - { - return this._ME_Approvers; - } - set - { - if ((this._ME_Approvers != value)) - { - this._ME_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PluFF_Designer", DbType="NVarChar(20)")] - public string PluFF_Designer - { - get - { - return this._PluFF_Designer; - } - set - { - if ((this._PluFF_Designer != value)) - { - this._PluFF_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PluFF_Checker", DbType="NVarChar(20)")] - public string PluFF_Checker - { - get - { - return this._PluFF_Checker; - } - set - { - if ((this._PluFF_Checker != value)) - { - this._PluFF_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PluFF_Approvers", DbType="NVarChar(20)")] - public string PluFF_Approvers - { - get - { - return this._PluFF_Approvers; - } - set - { - if ((this._PluFF_Approvers != value)) - { - this._PluFF_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping_Designer", DbType="NVarChar(20)")] - public string Piping_Designer - { - get - { - return this._Piping_Designer; - } - set - { - if ((this._Piping_Designer != value)) - { - this._Piping_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping_Checker", DbType="NVarChar(20)")] - public string Piping_Checker - { - get - { - return this._Piping_Checker; - } - set - { - if ((this._Piping_Checker != value)) - { - this._Piping_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Piping_Approvers", DbType="NVarChar(20)")] - public string Piping_Approvers - { - get - { - return this._Piping_Approvers; - } - set - { - if ((this._Piping_Approvers != value)) - { - this._Piping_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ins_Designer", DbType="NVarChar(20)")] - public string Ins_Designer - { - get - { - return this._Ins_Designer; - } - set - { - if ((this._Ins_Designer != value)) - { - this._Ins_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ins_Checker", DbType="NVarChar(20)")] - public string Ins_Checker - { - get - { - return this._Ins_Checker; - } - set - { - if ((this._Ins_Checker != value)) - { - this._Ins_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ins_Approvers", DbType="NVarChar(20)")] - public string Ins_Approvers - { - get - { - return this._Ins_Approvers; - } - set - { - if ((this._Ins_Approvers != value)) - { - this._Ins_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ele_Designer", DbType="NVarChar(20)")] - public string Ele_Designer - { - get - { - return this._Ele_Designer; - } - set - { - if ((this._Ele_Designer != value)) - { - this._Ele_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ele_Checker", DbType="NVarChar(20)")] - public string Ele_Checker - { - get - { - return this._Ele_Checker; - } - set - { - if ((this._Ele_Checker != value)) - { - this._Ele_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ele_Approvers", DbType="NVarChar(20)")] - public string Ele_Approvers - { - get - { - return this._Ele_Approvers; - } - set - { - if ((this._Ele_Approvers != value)) - { - this._Ele_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Civ_Designer", DbType="NVarChar(20)")] - public string Civ_Designer - { - get - { - return this._Civ_Designer; - } - set - { - if ((this._Civ_Designer != value)) - { - this._Civ_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Civ_Checker", DbType="NVarChar(20)")] - public string Civ_Checker - { - get - { - return this._Civ_Checker; - } - set - { - if ((this._Civ_Checker != value)) - { - this._Civ_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Civ_Approvers", DbType="NVarChar(20)")] - public string Civ_Approvers - { - get - { - return this._Civ_Approvers; - } - set - { - if ((this._Civ_Approvers != value)) - { - this._Civ_Approvers = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MP_Designer", DbType="NVarChar(20)")] - public string MP_Designer - { - get - { - return this._MP_Designer; - } - set - { - if ((this._MP_Designer != value)) - { - this._MP_Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MP_Checker", DbType="NVarChar(20)")] - public string MP_Checker - { - get - { - return this._MP_Checker; - } - set - { - if ((this._MP_Checker != value)) - { - this._MP_Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MP_Approvers", DbType="NVarChar(20)")] - public string MP_Approvers - { - get - { - return this._MP_Approvers; - } - set - { - if ((this._MP_Approvers != value)) - { - this._MP_Approvers = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_ScheduleGanttBar")] - public partial class View_Report_ScheduleGanttBar - { - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_BUCode; - - private string _ProjectControl_JobType; - - private string _ProjectControl_JobTitle; - - private string _PM_General_Priority; - - private string _PM_General_Category; - - private string _ProjectControl_JobStatus; - - private string _ProjectControl_LeadByName; - - private string _Schedule; - - private System.Nullable _ReceiveDate; - - private System.Nullable _ApprovalDate; - - private System.Nullable _ConstMECivilStart; - - private System.Nullable _DEMECivilEnd; - - private System.Nullable _ConstMECivilEnd; - - private System.Nullable _PlanHours_ACP; - - private System.Nullable _PlanHours_S; - - public View_Report_ScheduleGanttBar() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_BUCode", DbType="NVarChar(50)")] - public string ProjectControl_BUCode - { - get - { - return this._ProjectControl_BUCode; - } - set - { - if ((this._ProjectControl_BUCode != value)) - { - this._ProjectControl_BUCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobType", DbType="NVarChar(50)")] - public string ProjectControl_JobType - { - get - { - return this._ProjectControl_JobType; - } - set - { - if ((this._ProjectControl_JobType != value)) - { - this._ProjectControl_JobType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Priority", DbType="NVarChar(50)")] - public string PM_General_Priority - { - get - { - return this._PM_General_Priority; - } - set - { - if ((this._PM_General_Priority != value)) - { - this._PM_General_Priority = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_General_Category", DbType="NVarChar(50)")] - public string PM_General_Category - { - get - { - return this._PM_General_Category; - } - set - { - if ((this._PM_General_Category != value)) - { - this._PM_General_Category = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LeadByName", DbType="NVarChar(50)")] - public string ProjectControl_LeadByName - { - get - { - return this._ProjectControl_LeadByName; - } - set - { - if ((this._ProjectControl_LeadByName != value)) - { - this._ProjectControl_LeadByName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Schedule", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string Schedule - { - get - { - return this._Schedule; - } - set - { - if ((this._Schedule != value)) - { - this._Schedule = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveDate", DbType="DateTime")] - public System.Nullable ReceiveDate - { - get - { - return this._ReceiveDate; - } - set - { - if ((this._ReceiveDate != value)) - { - this._ReceiveDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprovalDate", DbType="DateTime")] - public System.Nullable ApprovalDate - { - get - { - return this._ApprovalDate; - } - set - { - if ((this._ApprovalDate != value)) - { - this._ApprovalDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstMECivilStart", DbType="DateTime")] - public System.Nullable ConstMECivilStart - { - get - { - return this._ConstMECivilStart; - } - set - { - if ((this._ConstMECivilStart != value)) - { - this._ConstMECivilStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DEMECivilEnd", DbType="DateTime")] - public System.Nullable DEMECivilEnd - { - get - { - return this._DEMECivilEnd; - } - set - { - if ((this._DEMECivilEnd != value)) - { - this._DEMECivilEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstMECivilEnd", DbType="DateTime")] - public System.Nullable ConstMECivilEnd - { - get - { - return this._ConstMECivilEnd; - } - set - { - if ((this._ConstMECivilEnd != value)) - { - this._ConstMECivilEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanHours_ACP", DbType="Float")] - public System.Nullable PlanHours_ACP - { - get - { - return this._PlanHours_ACP; - } - set - { - if ((this._PlanHours_ACP != value)) - { - this._PlanHours_ACP = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanHours_S", DbType="Float")] - public System.Nullable PlanHours_S - { - get - { - return this._PlanHours_S; - } - set - { - if ((this._PlanHours_S != value)) - { - this._PlanHours_S = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Resource_PlanDetai")] - public partial class View_Resource_PlanDetai - { - - private string _ResourcePlanDetailId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _DisciplinesWBSId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private string _DesignersId; - - private string _Designer; - - private System.Nullable _Ratio1; - - private System.Nullable _ManHours1; - - private string _CheckersId; - - private string _Checker; - - private System.Nullable _Ratio2; - - private System.Nullable _ManHours2; - - private string _ApproversId; - - private string _Approver; - - private System.Nullable _Ratio3; - - private System.Nullable _ManHours3; - - private string _LeadersId; - - private string _Leader; - - private System.Nullable _Ratio4; - - private System.Nullable _ManHours4; - - private string _Types; - - private System.Nullable _ISort; - - private string _NetworkOper; - - private string _WorkorderOper; - - private System.Nullable _Sch_Start; - - private System.Nullable _Sch_End; - - public View_Resource_PlanDetai() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ResourcePlanDetailId - { - get - { - return this._ResourcePlanDetailId; - } - set - { - if ((this._ResourcePlanDetailId != value)) - { - this._ResourcePlanDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this._ResourcePlanId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50)")] - public string DisciplinesWBSId - { - get - { - return this._DisciplinesWBSId; - } - set - { - if ((this._DisciplinesWBSId != value)) - { - this._DisciplinesWBSId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this._DisciplinesWBSCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this._DisciplinesWBSName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this._WBS = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignersId", DbType="NVarChar(50)")] - public string DesignersId - { - get - { - return this._DesignersId; - } - set - { - if ((this._DesignersId != value)) - { - this._DesignersId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Designer", DbType="NVarChar(50)")] - public string Designer - { - get - { - return this._Designer; - } - set - { - if ((this._Designer != value)) - { - this._Designer = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio1", DbType="Decimal(18,2)")] - public System.Nullable Ratio1 - { - get - { - return this._Ratio1; - } - set - { - if ((this._Ratio1 != value)) - { - this._Ratio1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours1", DbType="Decimal(18,2)")] - public System.Nullable ManHours1 - { - get - { - return this._ManHours1; - } - set - { - if ((this._ManHours1 != value)) - { - this._ManHours1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckersId", DbType="NVarChar(50)")] - public string CheckersId - { - get - { - return this._CheckersId; - } - set - { - if ((this._CheckersId != value)) - { - this._CheckersId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Checker", DbType="NVarChar(50)")] - public string Checker - { - get - { - return this._Checker; - } - set - { - if ((this._Checker != value)) - { - this._Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio2", DbType="Decimal(18,2)")] - public System.Nullable Ratio2 - { - get - { - return this._Ratio2; - } - set - { - if ((this._Ratio2 != value)) - { - this._Ratio2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours2", DbType="Decimal(18,2)")] - public System.Nullable ManHours2 - { - get - { - return this._ManHours2; - } - set - { - if ((this._ManHours2 != value)) - { - this._ManHours2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproversId", DbType="NVarChar(50)")] - public string ApproversId - { - get - { - return this._ApproversId; - } - set - { - if ((this._ApproversId != value)) - { - this._ApproversId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Approver", DbType="NVarChar(50)")] - public string Approver - { - get - { - return this._Approver; - } - set - { - if ((this._Approver != value)) - { - this._Approver = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio3", DbType="Decimal(18,2)")] - public System.Nullable Ratio3 - { - get - { - return this._Ratio3; - } - set - { - if ((this._Ratio3 != value)) - { - this._Ratio3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours3", DbType="Decimal(18,2)")] - public System.Nullable ManHours3 - { - get - { - return this._ManHours3; - } - set - { - if ((this._ManHours3 != value)) - { - this._ManHours3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeadersId", DbType="NVarChar(50)")] - public string LeadersId - { - get - { - return this._LeadersId; - } - set - { - if ((this._LeadersId != value)) - { - this._LeadersId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Leader", DbType="NVarChar(50)")] - public string Leader - { - get - { - return this._Leader; - } - set - { - if ((this._Leader != value)) - { - this._Leader = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ratio4", DbType="Decimal(18,2)")] - public System.Nullable Ratio4 - { - get - { - return this._Ratio4; - } - set - { - if ((this._Ratio4 != value)) - { - this._Ratio4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours4", DbType="Decimal(18,2)")] - public System.Nullable ManHours4 - { - get - { - return this._ManHours4; - } - set - { - if ((this._ManHours4 != value)) - { - this._ManHours4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Types", DbType="NChar(10)")] - public string Types - { - get - { - return this._Types; - } - set - { - if ((this._Types != value)) - { - this._Types = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISort", DbType="Int")] - public System.Nullable ISort - { - get - { - return this._ISort; - } - set - { - if ((this._ISort != value)) - { - this._ISort = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetworkOper", DbType="NVarChar(50)")] - public string NetworkOper - { - get - { - return this._NetworkOper; - } - set - { - if ((this._NetworkOper != value)) - { - this._NetworkOper = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkorderOper", DbType="NVarChar(50)")] - public string WorkorderOper - { - get - { - return this._WorkorderOper; - } - set - { - if ((this._WorkorderOper != value)) - { - this._WorkorderOper = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_Start", DbType="DateTime")] - public System.Nullable Sch_Start - { - get - { - return this._Sch_Start; - } - set - { - if ((this._Sch_Start != value)) - { - this._Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_End", DbType="DateTime")] - public System.Nullable Sch_End - { - get - { - return this._Sch_End; - } - set - { - if ((this._Sch_End != value)) - { - this._Sch_End = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ResourceDisc")] - public partial class View_ResourceDisc - { - - private string _ManHoursPlanId; - - private string _EProjectId; - - private string _ProjectControl_JobNo; - - private string _ProjectControl_JobTitle; - - private string _ProjectControl_JobStatus; - - private string _EngineerId; - - private string _UserName; - - private string _Account; - - private string _DisciplineId; - - private string _Roles; - - private System.Nullable _ManHours; - - private System.Nullable _AccountDisabled; - - private System.Nullable _Hourss; - - private string _Discipline; - - public View_ResourceDisc() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHoursPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ManHoursPlanId - { - get - { - return this._ManHoursPlanId; - } - set - { - if ((this._ManHoursPlanId != value)) - { - this._ManHoursPlanId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobNo", DbType="NVarChar(50)")] - public string ProjectControl_JobNo - { - get - { - return this._ProjectControl_JobNo; - } - set - { - if ((this._ProjectControl_JobNo != value)) - { - this._ProjectControl_JobNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobTitle", DbType="NVarChar(300)")] - public string ProjectControl_JobTitle - { - get - { - return this._ProjectControl_JobTitle; - } - set - { - if ((this._ProjectControl_JobTitle != value)) - { - this._ProjectControl_JobTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_JobStatus", DbType="NVarChar(50)")] - public string ProjectControl_JobStatus - { - get - { - return this._ProjectControl_JobStatus; - } - set - { - if ((this._ProjectControl_JobStatus != value)) - { - this._ProjectControl_JobStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EngineerId", DbType="NVarChar(50)")] - public string EngineerId - { - get - { - return this._EngineerId; - } - set - { - if ((this._EngineerId != value)) - { - this._EngineerId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this._Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineId", DbType="NVarChar(50)")] - public string DisciplineId - { - get - { - return this._DisciplineId; - } - set - { - if ((this._DisciplineId != value)) - { - this._DisciplineId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")] - public string Roles - { - get - { - return this._Roles; - } - set - { - if ((this._Roles != value)) - { - this._Roles = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManHours", DbType="Float")] - public System.Nullable ManHours - { - get - { - return this._ManHours; - } - set - { - if ((this._ManHours != value)) - { - this._ManHours = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountDisabled", DbType="Int")] - public System.Nullable AccountDisabled - { - get - { - return this._AccountDisabled; - } - set - { - if ((this._AccountDisabled != value)) - { - this._AccountDisabled = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hourss", DbType="Float")] - public System.Nullable Hourss - { - get - { - return this._Hourss; - } - set - { - if ((this._Hourss != value)) - { - this._Hourss = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(151)")] - public string Discipline - { - get - { - return this._Discipline; - } - set - { - if ((this._Discipline != value)) - { - this._Discipline = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ResourcePlanDetailWBS")] - public partial class View_ResourcePlanDetailWBS - { - - private string _ResourcePlanDetailId; - - private string _ResourcePlanId; - - private string _EProjectId; - - private string _DisciplinesWBSId; - - private string _DisciplinesWBSCode; - - private string _DisciplinesWBSName; - - private string _WBS; - - private System.Nullable _Sch_Start; - - private System.Nullable _Sch_End; - - private string _DepartId; - - private string _DepartName; - - public View_ResourcePlanDetailWBS() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ResourcePlanDetailId - { - get - { - return this._ResourcePlanDetailId; - } - set - { - if ((this._ResourcePlanDetailId != value)) - { - this._ResourcePlanDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourcePlanId", DbType="NVarChar(50)")] - public string ResourcePlanId - { - get - { - return this._ResourcePlanId; - } - set - { - if ((this._ResourcePlanId != value)) - { - this._ResourcePlanId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50)")] - public string DisciplinesWBSId - { - get - { - return this._DisciplinesWBSId; - } - set - { - if ((this._DisciplinesWBSId != value)) - { - this._DisciplinesWBSId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")] - public string DisciplinesWBSCode - { - get - { - return this._DisciplinesWBSCode; - } - set - { - if ((this._DisciplinesWBSCode != value)) - { - this._DisciplinesWBSCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")] - public string DisciplinesWBSName - { - get - { - return this._DisciplinesWBSName; - } - set - { - if ((this._DisciplinesWBSName != value)) - { - this._DisciplinesWBSName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")] - public string WBS - { - get - { - return this._WBS; - } - set - { - if ((this._WBS != value)) - { - this._WBS = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_Start", DbType="DateTime")] - public System.Nullable Sch_Start - { - get - { - return this._Sch_Start; - } - set - { - if ((this._Sch_Start != value)) - { - this._Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sch_End", DbType="DateTime")] - public System.Nullable Sch_End - { - get - { - return this._Sch_End; - } - set - { - if ((this._Sch_End != value)) - { - this._Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(50)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this._DepartName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_ScheduleDate")] - public partial class View_ScheduleDate - { - - private string _EProjectId; - - private string _Detail_Eng_Civil_Sch_Start; - - private string _Detail_Eng_Civil_Sch_End; - - private string _PROJ_DE_CIVIL_ACU_START_DATE; - - private string _PROJ_DE_CIVIL_ACU_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_Start; - - private string _PROJ_DE_ME_SCH_END_DATE; - - private string _Detail_Eng_Mech_EI_Sch_End; - - private string _PROJ_DE_ME_ACU_END_DATE; - - private string _ProjectControl_LP_SchStart; - - private string _ProjectControl_LP_SchEnd; - - private string _PM_LLEP_RevisedStart; - - private string _PM_LLEP_RevisedEnd; - - private string _ProjectControl_CC_SchStart; - - private string _ProjectControl_CC_SchEnd; - - private string _CM_CC_RevisedStart; - - private string _CM_CC_RevisedEnd; - - private string _ProjectControl_CM_SchStart; - - private string _ProjectControl_CM_SchEnd; - - private string _CM_CM_RevisedStart; - - private string _CM_CM_RevisedEnd; - - public View_ScheduleDate() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_Start - { - get - { - return this._Detail_Eng_Civil_Sch_Start; - } - set - { - if ((this._Detail_Eng_Civil_Sch_Start != value)) - { - this._Detail_Eng_Civil_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Civil_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Civil_Sch_End - { - get - { - return this._Detail_Eng_Civil_Sch_End; - } - set - { - if ((this._Detail_Eng_Civil_Sch_End != value)) - { - this._Detail_Eng_Civil_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_START_DATE", DbType="VarChar(10)")] - public string PROJ_DE_CIVIL_ACU_START_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_START_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_START_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_START_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_CIVIL_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_CIVIL_ACU_END_DATE - { - get - { - return this._PROJ_DE_CIVIL_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_CIVIL_ACU_END_DATE != value)) - { - this._PROJ_DE_CIVIL_ACU_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_Start", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_Start - { - get - { - return this._Detail_Eng_Mech_EI_Sch_Start; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_Start != value)) - { - this._Detail_Eng_Mech_EI_Sch_Start = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_SCH_END_DATE", DbType="VarChar(10)")] - public string PROJ_DE_ME_SCH_END_DATE - { - get - { - return this._PROJ_DE_ME_SCH_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_SCH_END_DATE != value)) - { - this._PROJ_DE_ME_SCH_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Detail_Eng_Mech_EI_Sch_End", DbType="VarChar(10)")] - public string Detail_Eng_Mech_EI_Sch_End - { - get - { - return this._Detail_Eng_Mech_EI_Sch_End; - } - set - { - if ((this._Detail_Eng_Mech_EI_Sch_End != value)) - { - this._Detail_Eng_Mech_EI_Sch_End = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PROJ_DE_ME_ACU_END_DATE", DbType="NVarChar(10)")] - public string PROJ_DE_ME_ACU_END_DATE - { - get - { - return this._PROJ_DE_ME_ACU_END_DATE; - } - set - { - if ((this._PROJ_DE_ME_ACU_END_DATE != value)) - { - this._PROJ_DE_ME_ACU_END_DATE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchStart", DbType="VarChar(10)")] - public string ProjectControl_LP_SchStart - { - get - { - return this._ProjectControl_LP_SchStart; - } - set - { - if ((this._ProjectControl_LP_SchStart != value)) - { - this._ProjectControl_LP_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_LP_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_LP_SchEnd - { - get - { - return this._ProjectControl_LP_SchEnd; - } - set - { - if ((this._ProjectControl_LP_SchEnd != value)) - { - this._ProjectControl_LP_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedStart", DbType="VarChar(10)")] - public string PM_LLEP_RevisedStart - { - get - { - return this._PM_LLEP_RevisedStart; - } - set - { - if ((this._PM_LLEP_RevisedStart != value)) - { - this._PM_LLEP_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PM_LLEP_RevisedEnd", DbType="VarChar(10)")] - public string PM_LLEP_RevisedEnd - { - get - { - return this._PM_LLEP_RevisedEnd; - } - set - { - if ((this._PM_LLEP_RevisedEnd != value)) - { - this._PM_LLEP_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchStart", DbType="VarChar(10)")] - public string ProjectControl_CC_SchStart - { - get - { - return this._ProjectControl_CC_SchStart; - } - set - { - if ((this._ProjectControl_CC_SchStart != value)) - { - this._ProjectControl_CC_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CC_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_CC_SchEnd - { - get - { - return this._ProjectControl_CC_SchEnd; - } - set - { - if ((this._ProjectControl_CC_SchEnd != value)) - { - this._ProjectControl_CC_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedStart", DbType="VarChar(10)")] - public string CM_CC_RevisedStart - { - get - { - return this._CM_CC_RevisedStart; - } - set - { - if ((this._CM_CC_RevisedStart != value)) - { - this._CM_CC_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CC_RevisedEnd", DbType="VarChar(10)")] - public string CM_CC_RevisedEnd - { - get - { - return this._CM_CC_RevisedEnd; - } - set - { - if ((this._CM_CC_RevisedEnd != value)) - { - this._CM_CC_RevisedEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchStart", DbType="VarChar(10)")] - public string ProjectControl_CM_SchStart - { - get - { - return this._ProjectControl_CM_SchStart; - } - set - { - if ((this._ProjectControl_CM_SchStart != value)) - { - this._ProjectControl_CM_SchStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_CM_SchEnd", DbType="VarChar(10)")] - public string ProjectControl_CM_SchEnd - { - get - { - return this._ProjectControl_CM_SchEnd; - } - set - { - if ((this._ProjectControl_CM_SchEnd != value)) - { - this._ProjectControl_CM_SchEnd = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedStart", DbType="VarChar(10)")] - public string CM_CM_RevisedStart - { - get - { - return this._CM_CM_RevisedStart; - } - set - { - if ((this._CM_CM_RevisedStart != value)) - { - this._CM_CM_RevisedStart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_CM_RevisedEnd", DbType="VarChar(10)")] - public string CM_CM_RevisedEnd - { - get - { - return this._CM_CM_RevisedEnd; - } - set - { - if ((this._CM_CM_RevisedEnd != value)) - { - this._CM_CM_RevisedEnd = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Sys_Users")] - public partial class View_Sys_Users - { - - private string _UserId; - - private string _UserCode; - - private string _UserName; - - private string _DepartId; - - private string _DepartCode; - - private string _DepartName; - - private string _RoleId; - - private string _RoleName; - - private System.Nullable _IsPost; - - private string _Email; - - private string _RoleCode; - - private System.Nullable _IsCTE; - - private System.Nullable _IsCalculated; - - private string _SupCheckItem; - - public View_Sys_Users() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this._UserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserCode", DbType="NVarChar(50)")] - public string UserCode - { - get - { - return this._UserCode; - } - set - { - if ((this._UserCode != value)) - { - this._UserCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")] - public string DepartCode - { - get - { - return this._DepartCode; - } - set - { - if ((this._DepartCode != value)) - { - this._DepartCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(20)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this._DepartName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this._RoleId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(50)")] - public string RoleName - { - get - { - return this._RoleName; - } - set - { - if ((this._RoleName != value)) - { - this._RoleName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPost", DbType="Bit")] - public System.Nullable IsPost - { - get - { - return this._IsPost; - } - set - { - if ((this._IsPost != value)) - { - this._IsPost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(50)")] - public string Email - { - get - { - return this._Email; - } - set - { - if ((this._Email != value)) - { - this._Email = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleCode", DbType="NVarChar(50)")] - public string RoleCode - { - get - { - return this._RoleCode; - } - set - { - if ((this._RoleCode != value)) - { - this._RoleCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCTE", DbType="Bit")] - public System.Nullable IsCTE - { - get - { - return this._IsCTE; - } - set - { - if ((this._IsCTE != value)) - { - this._IsCTE = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCalculated", DbType="Bit")] - public System.Nullable IsCalculated - { - get - { - return this._IsCalculated; - } - set - { - if ((this._IsCalculated != value)) - { - this._IsCalculated = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupCheckItem", DbType="NVarChar(50)")] - public string SupCheckItem - { - get - { - return this._SupCheckItem; - } - set - { - if ((this._SupCheckItem != value)) - { - this._SupCheckItem = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_TDCDiscValue")] - public partial class View_TDCDiscValue - { - - private System.Nullable _ID; - - private string _EProjectId; - - private string _ConstValue; - - private string _ConstText; - - public View_TDCDiscValue() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="UniqueIdentifier")] - public System.Nullable ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this._ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string EProjectId - { - get - { - return this._EProjectId; - } - set - { - if ((this._EProjectId != value)) - { - this._EProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(101)")] - public string ConstValue - { - get - { - return this._ConstValue; - } - set - { - if ((this._ConstValue != value)) - { - this._ConstValue = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstText", DbType="NVarChar(101)")] - public string ConstText - { - get - { - return this._ConstText; - } - set - { - if ((this._ConstText != value)) - { - this._ConstText = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_UserDepartDropDownList")] - public partial class View_UserDepartDropDownList - { - - private string _ID; - - private string _Name; - - private string _GroupId; - - public View_UserDepartDropDownList() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this._ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(20)")] - public string Name - { - get - { - return this._Name; - } - set - { - if ((this._Name != value)) - { - this._Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupId", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string GroupId - { - get - { - return this._GroupId; - } - set - { - if ((this._GroupId != value)) - { - this._GroupId = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_UserDropDownList")] - public partial class View_UserDropDownList - { - - private string _ID; - - private string _Name; - - private string _GroupId; - - public View_UserDropDownList() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this._ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(20)")] - public string Name - { - get - { - return this._Name; - } - set - { - if ((this._Name != value)) - { - this._Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupId", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string GroupId - { - get - { - return this._GroupId; - } - set - { - if ((this._GroupId != value)) - { - this._GroupId = value; - } - } - } - } -} -#pragma warning restore 1591