From 79e0fa73bc08ba73e58b12bcb713341ee0a52c3a Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Fri, 26 Jan 2024 17:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/SGGLDB_WH_2024-01-26-lpf.sql | 20 +- .../版本日志/SGGLDB_WH_2024-01-26-phf.sql | 79 -- SGGL/Model/Model.cs | 1116 +++++++++-------- 3 files changed, 637 insertions(+), 578 deletions(-) delete mode 100644 DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql diff --git a/DataBase/版本日志/SGGLDB_WH_2024-01-26-lpf.sql b/DataBase/版本日志/SGGLDB_WH_2024-01-26-lpf.sql index 3c56725d..e2850604 100644 --- a/DataBase/版本日志/SGGLDB_WH_2024-01-26-lpf.sql +++ b/DataBase/版本日志/SGGLDB_WH_2024-01-26-lpf.sql @@ -1,11 +1,11 @@ -alter table DriverSub_DriverSubPlan add DriverSubNames varchar(100); -go; -alter table DriverSub_DriverSubContact add DriverSubPlanId varchar(100); -go; -alter table DriverSub_DriverSubContact add DriverSubContractorsId varchar(100); -go; -alter table DriverSub_DriverSubContact add SubcontractingType varchar(100); -go; +alter table DriverSub_DriverSubPlan add DriverSubNames varchar(100) +go +alter table DriverSub_DriverSubContact add DriverSubPlanId varchar(100) +go +alter table DriverSub_DriverSubContact add DriverSubContractorsId varchar(100) +go +alter table DriverSub_DriverSubContact add SubcontractingType varchar(100) +go create table DriverSub_DriverSubContractors ( DriverSubContractorsId varchar(100) primary key, @@ -20,8 +20,8 @@ create table DriverSub_DriverSubContractors Province varchar(100), City varchar(100), IsUse bit default 1, -); -go; +) +go exec sp_addextendedproperty 'MS_Description', N'企业名称', 'SCHEMA', 'dbo', 'TABLE', 'DriverSub_DriverSubContractors', 'COLUMN', 'SubUnitName' go diff --git a/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql b/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql deleted file mode 100644 index ce48014a..00000000 --- a/DataBase/版本日志/SGGLDB_WH_2024-01-26-phf.sql +++ /dev/null @@ -1,79 +0,0 @@ -CREATE TABLE [dbo].[Transfer_PunchlistFrom]( - [Id] [nvarchar](50) NOT NULL, - [ProjectId] [nvarchar](50) NULL, - [Item_No] [nvarchar](50) NULL, - [Punch_No] [nvarchar](50) NULL, - [SystemName] [nvarchar](50) NULL, - [Subsystem] [nvarchar](50) NULL, - [Test_Package] [nvarchar](50) NULL, - [Discipline] [nvarchar](50) NULL, - [DESCRIPTION] [nvarchar](50) NULL, - [Identified] [nvarchar](50) NULL, - [Category] [nvarchar](50) NULL, - [PUNCH_ITEM_FINISH_DATE] [datetime] NULL, - [Action_By] [nvarchar](50) NULL, - [Required_By] [nvarchar](50) NULL, - [PUNCH_ITEM_STATUS] [nvarchar](50) NULL, - [Comments] [nvarchar](50) NULL, - CONSTRAINT [PK_Transfer_PunchlistFrom] PRIMARY KEY CLUSTERED -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - - -CREATE TABLE [dbo].[Transfer_HVAC]( - [Id] [nvarchar](50) NOT NULL, - [ProjectId] [nvarchar](50) NULL, - [HVAC] [nvarchar](50) NULL, - [SystemName] [nvarchar](50) NULL, - [Subsystem] [nvarchar](50) NULL, - [Test_Package] [nvarchar](50) NULL, - [Test_Package_START] [datetime] NULL, - [Test_Package_FINISH] [datetime] NULL, - [FINAL_Status] [nvarchar](50) NULL, - CONSTRAINT [PK_Transfer_HVAC] PRIMARY KEY CLUSTERED -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - -CREATE TABLE [dbo].[Transfer_Plumbing]( - [Id] [nvarchar](50) NOT NULL, - [ProjectId] [nvarchar](50) NULL, - [Plumbing] [nvarchar](50) NULL, - [SystemName] [nvarchar](50) NULL, - [Subsystem] [nvarchar](50) NULL, - [Test_Package] [nvarchar](50) NULL, - [Test_Package_START] [datetime] NULL, - [Test_Package_FINISH] [datetime] NULL, - [FINAL_Status] [nvarchar](50) NULL, - CONSTRAINT [PK_Transfer_Plumbing] PRIMARY KEY CLUSTERED -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - -CREATE TABLE [dbo].[Transfer_Telecom]( - [Id] [nvarchar](50) NOT NULL, - [ProjectId] [nvarchar](50) NULL, - [Telecom] [nvarchar](50) NULL, - [SystemName] [nvarchar](50) NULL, - [Subsystem] [nvarchar](50) NULL, - [Test_Package] [nvarchar](50) NULL, - [Test_Package_START] [datetime] NULL, - [Test_Package_FINISH] [datetime] NULL, - [FINAL_Status] [nvarchar](50) NULL, - CONSTRAINT [PK_Transfer_Telecom] PRIMARY KEY CLUSTERED -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index b3ff1bf8..676b1b4d 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -22,7 +22,7 @@ namespace Model using System; - public partial class SGGLDB : System.Data.Linq.DataContext + public partial class SGGLDB_WH : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); @@ -2527,25 +2527,25 @@ namespace Model partial void DeleteZHGL_WorkHandoverDetail(ZHGL_WorkHandoverDetail instance); #endregion - public SGGLDB(string connection) : + public SGGLDB_WH(string connection) : base(connection, mappingSource) { OnCreated(); } - public SGGLDB(System.Data.IDbConnection connection) : + public SGGLDB_WH(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } - public SGGLDB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : + public SGGLDB_WH(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } - public SGGLDB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : + public SGGLDB_WH(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); @@ -25637,6 +25637,8 @@ namespace Model private EntitySet _DriverSub_DriverSubContact; + private EntitySet _DriverSub_DriverSubPlan; + private EntitySet _EduTrain_TrainRecord; private EntitySet _EduTrain_TrainPersonRecord; @@ -26207,6 +26209,7 @@ namespace Model this._DriverRun_DriverRunPlan = new EntitySet(new Action(this.attach_DriverRun_DriverRunPlan), new Action(this.detach_DriverRun_DriverRunPlan)); this._DriverSub_DriverSub = new EntitySet(new Action(this.attach_DriverSub_DriverSub), new Action(this.detach_DriverSub_DriverSub)); this._DriverSub_DriverSubContact = new EntitySet(new Action(this.attach_DriverSub_DriverSubContact), new Action(this.detach_DriverSub_DriverSubContact)); + this._DriverSub_DriverSubPlan = new EntitySet(new Action(this.attach_DriverSub_DriverSubPlan), new Action(this.detach_DriverSub_DriverSubPlan)); this._EduTrain_TrainRecord = new EntitySet(new Action(this.attach_EduTrain_TrainRecord), new Action(this.detach_EduTrain_TrainRecord)); this._EduTrain_TrainPersonRecord = new EntitySet(new Action(this.attach_EduTrain_TrainPersonRecord), new Action(this.detach_EduTrain_TrainPersonRecord)); this._Emergency_DrillRecordList = new EntitySet(new Action(this.attach_Emergency_DrillRecordList), new Action(this.detach_Emergency_DrillRecordList)); @@ -28576,6 +28579,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverSub_DriverSubPlan_Base_Project", Storage="_DriverSub_DriverSubPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet DriverSub_DriverSubPlan + { + get + { + return this._DriverSub_DriverSubPlan; + } + set + { + this._DriverSub_DriverSubPlan.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EduTrain_Training_Base_Project", Storage="_EduTrain_TrainRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet EduTrain_TrainRecord { @@ -32266,6 +32282,18 @@ namespace Model entity.Base_Project = null; } + private void attach_DriverSub_DriverSubPlan(DriverSub_DriverSubPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_DriverSub_DriverSubPlan(DriverSub_DriverSubPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_EduTrain_TrainRecord(EduTrain_TrainRecord entity) { this.SendPropertyChanging(); @@ -37999,6 +38027,8 @@ namespace Model private EntitySet _DriverSub_DriverSubContact; + private EntitySet _DriverSub_DriverSubPlan; + private EntitySet _Emergency_EmergencyList; private EntitySet _Emergency_EmergencySupply; @@ -38349,6 +38379,7 @@ namespace Model this._DriverRun_DriverRunPlan = new EntitySet(new Action(this.attach_DriverRun_DriverRunPlan), new Action(this.detach_DriverRun_DriverRunPlan)); this._DriverSub_DriverSub = new EntitySet(new Action(this.attach_DriverSub_DriverSub), new Action(this.detach_DriverSub_DriverSub)); this._DriverSub_DriverSubContact = new EntitySet(new Action(this.attach_DriverSub_DriverSubContact), new Action(this.detach_DriverSub_DriverSubContact)); + this._DriverSub_DriverSubPlan = new EntitySet(new Action(this.attach_DriverSub_DriverSubPlan), new Action(this.detach_DriverSub_DriverSubPlan)); this._Emergency_EmergencyList = new EntitySet(new Action(this.attach_Emergency_EmergencyList), new Action(this.detach_Emergency_EmergencyList)); this._Emergency_EmergencySupply = new EntitySet(new Action(this.attach_Emergency_EmergencySupply), new Action(this.detach_Emergency_EmergencySupply)); this._Emergency_EmergencyTeamAndTrain = new EntitySet(new Action(this.attach_Emergency_EmergencyTeamAndTrain), new Action(this.detach_Emergency_EmergencyTeamAndTrain)); @@ -39723,6 +39754,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverSub_DriverSubPlan_Base_Unit", Storage="_DriverSub_DriverSubPlan", ThisKey="UnitId", OtherKey="SubUnitId", DeleteRule="NO ACTION")] + public EntitySet DriverSub_DriverSubPlan + { + get + { + return this._DriverSub_DriverSubPlan; + } + set + { + this._DriverSub_DriverSubPlan.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Emergency_EmergencyList_Base_Unit", Storage="_Emergency_EmergencyList", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] public EntitySet Emergency_EmergencyList { @@ -41960,6 +42004,18 @@ namespace Model entity.Base_Unit = null; } + private void attach_DriverSub_DriverSubPlan(DriverSub_DriverSubPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Unit = this; + } + + private void detach_DriverSub_DriverSubPlan(DriverSub_DriverSubPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Unit = null; + } + private void attach_Emergency_EmergencyList(Emergency_EmergencyList entity) { this.SendPropertyChanging(); @@ -60139,8 +60195,6 @@ namespace Model private string _CheckItemSetId; - private string _ReceiveMan; - private string _ResponsibleUnit; private string _WorkAreaId; @@ -60149,6 +60203,8 @@ namespace Model private string _ResponsibleMan; + private string _ReceiveMan; + private EntityRef _Base_Project; private EntityRef _Technique_CheckItemSet; @@ -60189,8 +60245,6 @@ namespace Model partial void OnPartInPersonNamesChanged(); partial void OnCheckItemSetIdChanging(string value); partial void OnCheckItemSetIdChanged(); - partial void OnReceiveManChanging(string value); - partial void OnReceiveManChanged(); partial void OnResponsibleUnitChanging(string value); partial void OnResponsibleUnitChanged(); partial void OnWorkAreaIdChanging(string value); @@ -60199,6 +60253,8 @@ namespace Model partial void OnQuestionTypeChanged(); partial void OnResponsibleManChanging(string value); partial void OnResponsibleManChanged(); + partial void OnReceiveManChanging(string value); + partial void OnReceiveManChanged(); #endregion public Check_CheckSpecial() @@ -60536,26 +60592,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveMan", DbType="NVarChar(2000)")] - public string ReceiveMan - { - get - { - return this._ReceiveMan; - } - set - { - if ((this._ReceiveMan != value)) - { - this.OnReceiveManChanging(value); - this.SendPropertyChanging(); - this._ReceiveMan = value; - this.SendPropertyChanged("ReceiveMan"); - this.OnReceiveManChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibleUnit", DbType="NVarChar(50)")] public string ResponsibleUnit { @@ -60636,6 +60672,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveMan", DbType="NVarChar(2000)")] + public string ReceiveMan + { + get + { + return this._ReceiveMan; + } + set + { + if ((this._ReceiveMan != value)) + { + this.OnReceiveManChanging(value); + this.SendPropertyChanging(); + this._ReceiveMan = value; + this.SendPropertyChanged("ReceiveMan"); + this.OnReceiveManChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecial_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] public Base_Project Base_Project { @@ -111363,8 +111419,6 @@ namespace Model private string _States; - private System.Nullable _SgCount; - private System.Nullable _OutDay; private System.Nullable _Workloads; @@ -111373,6 +111427,8 @@ namespace Model private string _ScorMan; + private System.Nullable _SgCount; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -111399,8 +111455,6 @@ namespace Model partial void OnCreateDateMonthChanged(); partial void OnStatesChanging(string value); partial void OnStatesChanged(); - partial void OnSgCountChanging(System.Nullable value); - partial void OnSgCountChanged(); partial void OnOutDayChanging(System.Nullable value); partial void OnOutDayChanged(); partial void OnWorkloadsChanging(System.Nullable value); @@ -111409,6 +111463,8 @@ namespace Model partial void OnWorkRangeChanged(); partial void OnScorManChanging(string value); partial void OnScorManChanged(); + partial void OnSgCountChanging(System.Nullable value); + partial void OnSgCountChanged(); #endregion public CQMS_Performance() @@ -111636,26 +111692,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SgCount", DbType="Int")] - public System.Nullable SgCount - { - get - { - return this._SgCount; - } - set - { - if ((this._SgCount != value)) - { - this.OnSgCountChanging(value); - this.SendPropertyChanging(); - this._SgCount = value; - this.SendPropertyChanged("SgCount"); - this.OnSgCountChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutDay", DbType="Int")] public System.Nullable OutDay { @@ -111736,6 +111772,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SgCount", DbType="Int")] + public System.Nullable SgCount + { + get + { + return this._SgCount; + } + set + { + if ((this._SgCount != value)) + { + this.OnSgCountChanging(value); + this.SendPropertyChanging(); + this._SgCount = value; + this.SendPropertyChanged("SgCount"); + this.OnSgCountChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -129162,7 +129218,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubUnitName", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubUnitName", DbType="VarChar(500)")] public string SubUnitName { get @@ -129182,7 +129238,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnterpriseNature", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnterpriseNature", DbType="VarChar(500)")] public string EnterpriseNature { get @@ -129202,7 +129258,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractingType", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractingType", DbType="VarChar(500)")] public string SubcontractingType { get @@ -129222,7 +129278,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CollCropCode", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CollCropCode", DbType="VarChar(500)")] public string CollCropCode { get @@ -129242,7 +129298,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyProductionLicense", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SafetyProductionLicense", DbType="VarChar(500)")] public string SafetyProductionLicense { get @@ -129262,7 +129318,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationCertificateNumber", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationCertificateNumber", DbType="VarChar(500)")] public string QualificationCertificateNumber { get @@ -129282,7 +129338,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationType", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationType", DbType="VarChar(500)")] public string QualificationType { get @@ -129302,7 +129358,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationLevel", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationLevel", DbType="VarChar(500)")] public string QualificationLevel { get @@ -129435,6 +129491,10 @@ namespace Model private string _DriverSubNames; + private EntityRef _Base_Project; + + private EntityRef _Base_Unit; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -129469,10 +129529,12 @@ namespace Model public DriverSub_DriverSubPlan() { + this._Base_Project = default(EntityRef); + this._Base_Unit = default(EntityRef); OnCreated(); } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DriverSubPlanId", DbType="NVarChar(36) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DriverSubPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string DriverSubPlanId { get @@ -129492,7 +129554,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(36)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] public string ProjectId { get @@ -129503,6 +129565,10 @@ namespace Model { if ((this._ProjectId != value)) { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } this.OnProjectIdChanging(value); this.SendPropertyChanging(); this._ProjectId = value; @@ -129512,7 +129578,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(36)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] public string Code { get @@ -129532,7 +129598,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubUnitId", DbType="NVarChar(36)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubUnitId", DbType="NVarChar(50)")] public string SubUnitId { get @@ -129543,6 +129609,10 @@ namespace Model { if ((this._SubUnitId != value)) { + if (this._Base_Unit.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } this.OnSubUnitIdChanging(value); this.SendPropertyChanging(); this._SubUnitId = value; @@ -129552,7 +129622,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Introductions", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Introductions", DbType="NVarChar(1000)")] public string Introductions { get @@ -129572,7 +129642,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Achievement", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Achievement", DbType="NVarChar(1000)")] public string Achievement { get @@ -129592,7 +129662,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cooperation", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cooperation", DbType="NVarChar(1000)")] public string Cooperation { get @@ -129732,6 +129802,74 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverSub_DriverSubPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.DriverSub_DriverSubPlan.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.DriverSub_DriverSubPlan.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverSub_DriverSubPlan_Base_Unit", Storage="_Base_Unit", ThisKey="SubUnitId", OtherKey="UnitId", IsForeignKey=true)] + public Base_Unit Base_Unit + { + get + { + return this._Base_Unit.Entity; + } + set + { + Base_Unit previousValue = this._Base_Unit.Entity; + if (((previousValue != value) + || (this._Base_Unit.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Unit.Entity = null; + previousValue.DriverSub_DriverSubPlan.Remove(this); + } + this._Base_Unit.Entity = value; + if ((value != null)) + { + value.DriverSub_DriverSubPlan.Add(this); + this._SubUnitId = value.UnitId; + } + else + { + this._SubUnitId = default(string); + } + this.SendPropertyChanged("Base_Unit"); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -264629,6 +264767,8 @@ namespace Model private System.Nullable _ProblemType; + private string _SubInspectId; + private string _TermItemId; private string _WorkPackId; @@ -264641,20 +264781,18 @@ namespace Model private string _InspectUser; + private string _HandleUser; + private string _ApproveUser; + private System.Nullable _AdjustCompleteTime; + private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; - private string _SubInspectId; - - private string _HandleUser; - - private System.Nullable _AdjustCompleteTime; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -264671,6 +264809,8 @@ namespace Model partial void OnConstructionUnitChanged(); partial void OnProblemTypeChanging(System.Nullable value); partial void OnProblemTypeChanged(); + partial void OnSubInspectIdChanging(string value); + partial void OnSubInspectIdChanged(); partial void OnTermItemIdChanging(string value); partial void OnTermItemIdChanged(); partial void OnWorkPackIdChanging(string value); @@ -264683,20 +264823,18 @@ namespace Model partial void OnRectifyTimeChanged(); partial void OnInspectUserChanging(string value); partial void OnInspectUserChanged(); + partial void OnHandleUserChanging(string value); + partial void OnHandleUserChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); + partial void OnAdjustCompleteTimeChanging(System.Nullable value); + partial void OnAdjustCompleteTimeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); - partial void OnSubInspectIdChanging(string value); - partial void OnSubInspectIdChanged(); - partial void OnHandleUserChanging(string value); - partial void OnHandleUserChanged(); - partial void OnAdjustCompleteTimeChanging(System.Nullable value); - partial void OnAdjustCompleteTimeChanged(); #endregion public PreRun_InspectTailTerm() @@ -264824,6 +264962,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="VarChar(50)")] + public string SubInspectId + { + get + { + return this._SubInspectId; + } + set + { + if ((this._SubInspectId != value)) + { + this.OnSubInspectIdChanging(value); + this.SendPropertyChanging(); + this._SubInspectId = value; + this.SendPropertyChanged("SubInspectId"); + this.OnSubInspectIdChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TermItemId", DbType="VarChar(50)")] public string TermItemId { @@ -264944,6 +265102,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] + public string HandleUser + { + get + { + return this._HandleUser; + } + set + { + if ((this._HandleUser != value)) + { + this.OnHandleUserChanging(value); + this.SendPropertyChanging(); + this._HandleUser = value; + this.SendPropertyChanged("HandleUser"); + this.OnHandleUserChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveUser", DbType="VarChar(50)")] public string ApproveUser { @@ -264964,6 +265142,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] + public System.Nullable AdjustCompleteTime + { + get + { + return this._AdjustCompleteTime; + } + set + { + if ((this._AdjustCompleteTime != value)) + { + this.OnAdjustCompleteTimeChanging(value); + this.SendPropertyChanging(); + this._AdjustCompleteTime = value; + this.SendPropertyChanged("AdjustCompleteTime"); + this.OnAdjustCompleteTimeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -265024,66 +265222,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="VarChar(50)")] - public string SubInspectId - { - get - { - return this._SubInspectId; - } - set - { - if ((this._SubInspectId != value)) - { - this.OnSubInspectIdChanging(value); - this.SendPropertyChanging(); - this._SubInspectId = value; - this.SendPropertyChanged("SubInspectId"); - this.OnSubInspectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] - public string HandleUser - { - get - { - return this._HandleUser; - } - set - { - if ((this._HandleUser != value)) - { - this.OnHandleUserChanging(value); - this.SendPropertyChanging(); - this._HandleUser = value; - this.SendPropertyChanged("HandleUser"); - this.OnHandleUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] - public System.Nullable AdjustCompleteTime - { - get - { - return this._AdjustCompleteTime; - } - set - { - if ((this._AdjustCompleteTime != value)) - { - this.OnAdjustCompleteTimeChanging(value); - this.SendPropertyChanging(); - this._AdjustCompleteTime = value; - this.SendPropertyChanged("AdjustCompleteTime"); - this.OnAdjustCompleteTimeChanged(); - } - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -265125,14 +265263,14 @@ namespace Model private string _ApproveUser; + private System.Nullable _ApproveType; + private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; - private System.Nullable _ApproveType; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -265151,14 +265289,14 @@ namespace Model partial void OnApproveTimeChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); + partial void OnApproveTypeChanging(System.Nullable value); + partial void OnApproveTypeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); - partial void OnApproveTypeChanging(System.Nullable value); - partial void OnApproveTypeChanged(); #endregion public PreRun_InspectTermApproveRecords() @@ -265306,6 +265444,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] + public System.Nullable ApproveType + { + get + { + return this._ApproveType; + } + set + { + if ((this._ApproveType != value)) + { + this.OnApproveTypeChanging(value); + this.SendPropertyChanging(); + this._ApproveType = value; + this.SendPropertyChanged("ApproveType"); + this.OnApproveTypeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -265366,26 +265524,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] - public System.Nullable ApproveType - { - get - { - return this._ApproveType; - } - set - { - if ((this._ApproveType != value)) - { - this.OnApproveTypeChanging(value); - this.SendPropertyChanging(); - this._ApproveType = value; - this.SendPropertyChanged("ApproveType"); - this.OnApproveTypeChanged(); - } - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -266318,7 +266456,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get @@ -266441,12 +266579,6 @@ namespace Model private string _InspectResult; - private System.Nullable _InspectTime; - - private string _AddUser; - - private System.Nullable _AddTime; - private string _Subcontractor; private string _Contractor; @@ -266455,10 +266587,6 @@ namespace Model private string _Owner; - private System.Nullable _WorkPackType; - - private string _PropertyTechnologyId; - private System.Nullable _InspectionIsAllPass; private System.Nullable _SubcontractorIsAllPass; @@ -266469,6 +266597,10 @@ namespace Model private System.Nullable _OwnerIsAllPass; + private System.Nullable _WorkPackType; + + private string _PropertyTechnologyId; + private System.Nullable _SubcontractorAllPassData; private System.Nullable _ContractorAllPassData; @@ -266501,6 +266633,12 @@ namespace Model private string _UnifyWanderAboutOpinion; + private System.Nullable _InspectTime; + + private string _AddUser; + + private System.Nullable _AddTime; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -266521,12 +266659,6 @@ namespace Model partial void OnWorkPackIdChanged(); partial void OnInspectResultChanging(string value); partial void OnInspectResultChanged(); - partial void OnInspectTimeChanging(System.Nullable value); - partial void OnInspectTimeChanged(); - partial void OnAddUserChanging(string value); - partial void OnAddUserChanged(); - partial void OnAddTimeChanging(System.Nullable value); - partial void OnAddTimeChanged(); partial void OnSubcontractorChanging(string value); partial void OnSubcontractorChanged(); partial void OnContractorChanging(string value); @@ -266535,10 +266667,6 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); - partial void OnWorkPackTypeChanging(System.Nullable value); - partial void OnWorkPackTypeChanged(); - partial void OnPropertyTechnologyIdChanging(string value); - partial void OnPropertyTechnologyIdChanged(); partial void OnInspectionIsAllPassChanging(System.Nullable value); partial void OnInspectionIsAllPassChanged(); partial void OnSubcontractorIsAllPassChanging(System.Nullable value); @@ -266549,6 +266677,10 @@ namespace Model partial void OnSupervisionIsAllPassChanged(); partial void OnOwnerIsAllPassChanging(System.Nullable value); partial void OnOwnerIsAllPassChanged(); + partial void OnWorkPackTypeChanging(System.Nullable value); + partial void OnWorkPackTypeChanged(); + partial void OnPropertyTechnologyIdChanging(string value); + partial void OnPropertyTechnologyIdChanged(); partial void OnSubcontractorAllPassDataChanging(System.Nullable value); partial void OnSubcontractorAllPassDataChanged(); partial void OnContractorAllPassDataChanging(System.Nullable value); @@ -266581,6 +266713,12 @@ namespace Model partial void OnUnifyWanderAboutDataChanged(); partial void OnUnifyWanderAboutOpinionChanging(string value); partial void OnUnifyWanderAboutOpinionChanged(); + partial void OnInspectTimeChanging(System.Nullable value); + partial void OnInspectTimeChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); #endregion public PreRun_SubInspectTerm() @@ -266748,66 +266886,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] - public System.Nullable InspectTime - { - get - { - return this._InspectTime; - } - set - { - if ((this._InspectTime != value)) - { - this.OnInspectTimeChanging(value); - this.SendPropertyChanging(); - this._InspectTime = value; - this.SendPropertyChanged("InspectTime"); - this.OnInspectTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] - public string AddUser - { - get - { - return this._AddUser; - } - set - { - if ((this._AddUser != value)) - { - this.OnAddUserChanging(value); - this.SendPropertyChanging(); - this._AddUser = value; - this.SendPropertyChanged("AddUser"); - this.OnAddUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] - public System.Nullable AddTime - { - get - { - return this._AddTime; - } - set - { - if ((this._AddTime != value)) - { - this.OnAddTimeChanging(value); - this.SendPropertyChanging(); - this._AddTime = value; - this.SendPropertyChanged("AddTime"); - this.OnAddTimeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subcontractor", DbType="VarChar(50)")] public string Subcontractor { @@ -266888,46 +266966,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] - public System.Nullable WorkPackType - { - get - { - return this._WorkPackType; - } - set - { - if ((this._WorkPackType != value)) - { - this.OnWorkPackTypeChanging(value); - this.SendPropertyChanging(); - this._WorkPackType = value; - this.SendPropertyChanged("WorkPackType"); - this.OnWorkPackTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string PropertyTechnologyId - { - get - { - return this._PropertyTechnologyId; - } - set - { - if ((this._PropertyTechnologyId != value)) - { - this.OnPropertyTechnologyIdChanging(value); - this.SendPropertyChanging(); - this._PropertyTechnologyId = value; - this.SendPropertyChanged("PropertyTechnologyId"); - this.OnPropertyTechnologyIdChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionIsAllPass", DbType="Int")] public System.Nullable InspectionIsAllPass { @@ -267028,6 +267066,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] + public System.Nullable WorkPackType + { + get + { + return this._WorkPackType; + } + set + { + if ((this._WorkPackType != value)) + { + this.OnWorkPackTypeChanging(value); + this.SendPropertyChanging(); + this._WorkPackType = value; + this.SendPropertyChanged("WorkPackType"); + this.OnWorkPackTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string PropertyTechnologyId + { + get + { + return this._PropertyTechnologyId; + } + set + { + if ((this._PropertyTechnologyId != value)) + { + this.OnPropertyTechnologyIdChanging(value); + this.SendPropertyChanging(); + this._PropertyTechnologyId = value; + this.SendPropertyChanged("PropertyTechnologyId"); + this.OnPropertyTechnologyIdChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorAllPassData", DbType="DateTime")] public System.Nullable SubcontractorAllPassData { @@ -267348,6 +267426,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] + public System.Nullable InspectTime + { + get + { + return this._InspectTime; + } + set + { + if ((this._InspectTime != value)) + { + this.OnInspectTimeChanging(value); + this.SendPropertyChanging(); + this._InspectTime = value; + this.SendPropertyChanged("InspectTime"); + this.OnInspectTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -267411,18 +267549,6 @@ namespace Model private string _Owner; - private System.Nullable _WorkPackType; - - private string _PropertyTechnologyId; - - private string _Remark; - - private string _AddUser; - - private System.Nullable _AddTime; - - private System.Nullable _Sort; - private System.Nullable _SubcontractorIsPass; private System.Nullable _ContractorIsPass; @@ -267439,6 +267565,18 @@ namespace Model private string _OwnerRemark; + private System.Nullable _WorkPackType; + + private string _PropertyTechnologyId; + + private string _Remark; + + private string _AddUser; + + private System.Nullable _AddTime; + + private System.Nullable _Sort; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -267479,18 +267617,6 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); - partial void OnWorkPackTypeChanging(System.Nullable value); - partial void OnWorkPackTypeChanged(); - partial void OnPropertyTechnologyIdChanging(string value); - partial void OnPropertyTechnologyIdChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnAddUserChanging(string value); - partial void OnAddUserChanged(); - partial void OnAddTimeChanging(System.Nullable value); - partial void OnAddTimeChanged(); - partial void OnSortChanging(System.Nullable value); - partial void OnSortChanged(); partial void OnSubcontractorIsPassChanging(System.Nullable value); partial void OnSubcontractorIsPassChanged(); partial void OnContractorIsPassChanging(System.Nullable value); @@ -267507,6 +267633,18 @@ namespace Model partial void OnSupervisionRemarkChanged(); partial void OnOwnerRemarkChanging(string value); partial void OnOwnerRemarkChanged(); + partial void OnWorkPackTypeChanging(System.Nullable value); + partial void OnWorkPackTypeChanged(); + partial void OnPropertyTechnologyIdChanging(string value); + partial void OnPropertyTechnologyIdChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); + partial void OnSortChanging(System.Nullable value); + partial void OnSortChanged(); #endregion public PreRun_SubInspectTermItem() @@ -267874,126 +268012,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] - public System.Nullable WorkPackType - { - get - { - return this._WorkPackType; - } - set - { - if ((this._WorkPackType != value)) - { - this.OnWorkPackTypeChanging(value); - this.SendPropertyChanging(); - this._WorkPackType = value; - this.SendPropertyChanged("WorkPackType"); - this.OnWorkPackTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string PropertyTechnologyId - { - get - { - return this._PropertyTechnologyId; - } - set - { - if ((this._PropertyTechnologyId != value)) - { - this.OnPropertyTechnologyIdChanging(value); - this.SendPropertyChanging(); - this._PropertyTechnologyId = value; - this.SendPropertyChanged("PropertyTechnologyId"); - this.OnPropertyTechnologyIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(200)")] - 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="_AddUser", DbType="VarChar(50)")] - public string AddUser - { - get - { - return this._AddUser; - } - set - { - if ((this._AddUser != value)) - { - this.OnAddUserChanging(value); - this.SendPropertyChanging(); - this._AddUser = value; - this.SendPropertyChanged("AddUser"); - this.OnAddUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] - public System.Nullable AddTime - { - get - { - return this._AddTime; - } - set - { - if ((this._AddTime != value)) - { - this.OnAddTimeChanging(value); - this.SendPropertyChanging(); - this._AddTime = value; - this.SendPropertyChanged("AddTime"); - this.OnAddTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="Int")] - public System.Nullable Sort - { - get - { - return this._Sort; - } - set - { - if ((this._Sort != value)) - { - this.OnSortChanging(value); - this.SendPropertyChanging(); - this._Sort = value; - this.SendPropertyChanged("Sort"); - this.OnSortChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")] public System.Nullable SubcontractorIsPass { @@ -268154,6 +268172,126 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] + public System.Nullable WorkPackType + { + get + { + return this._WorkPackType; + } + set + { + if ((this._WorkPackType != value)) + { + this.OnWorkPackTypeChanging(value); + this.SendPropertyChanging(); + this._WorkPackType = value; + this.SendPropertyChanged("WorkPackType"); + this.OnWorkPackTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string PropertyTechnologyId + { + get + { + return this._PropertyTechnologyId; + } + set + { + if ((this._PropertyTechnologyId != value)) + { + this.OnPropertyTechnologyIdChanging(value); + this.SendPropertyChanging(); + this._PropertyTechnologyId = value; + this.SendPropertyChanged("PropertyTechnologyId"); + this.OnPropertyTechnologyIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(200)")] + 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="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="Int")] + public System.Nullable Sort + { + get + { + return this._Sort; + } + set + { + if ((this._Sort != value)) + { + this.OnSortChanging(value); + this.SendPropertyChanging(); + this._Sort = value; + this.SendPropertyChanged("Sort"); + this.OnSortChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -269155,6 +269293,8 @@ namespace Model private string _RestrictCondition; + private System.Nullable _ResponsibilityProposeSatate; + private System.Nullable _ResponsibilityConfirm; private System.Nullable _ProposeConfirm; @@ -269165,9 +269305,11 @@ namespace Model private System.Nullable _OwnerConfirm; + private System.Nullable _ProposeConfirmData; + private System.Nullable _ResponsibilityConfirmData; - private System.Nullable _ProposeConfirmData; + private System.Nullable _ProposeHandleData; private System.Nullable _GeneraConfirmData; @@ -269183,10 +269325,6 @@ namespace Model private System.Nullable _Sort; - private System.Nullable _ResponsibilityProposeSatate; - - private System.Nullable _ProposeHandleData; - private string _FourDecisionCode; #region 可扩展性方法定义 @@ -269223,6 +269361,8 @@ namespace Model partial void OnRealityDestructionTimeChanged(); partial void OnRestrictConditionChanging(string value); partial void OnRestrictConditionChanged(); + partial void OnResponsibilityProposeSatateChanging(System.Nullable value); + partial void OnResponsibilityProposeSatateChanged(); partial void OnResponsibilityConfirmChanging(System.Nullable value); partial void OnResponsibilityConfirmChanged(); partial void OnProposeConfirmChanging(System.Nullable value); @@ -269233,10 +269373,12 @@ namespace Model partial void OnSupervisionConfirmChanged(); partial void OnOwnerConfirmChanging(System.Nullable value); partial void OnOwnerConfirmChanged(); - partial void OnResponsibilityConfirmDataChanging(System.Nullable value); - partial void OnResponsibilityConfirmDataChanged(); partial void OnProposeConfirmDataChanging(System.Nullable value); partial void OnProposeConfirmDataChanged(); + partial void OnResponsibilityConfirmDataChanging(System.Nullable value); + partial void OnResponsibilityConfirmDataChanged(); + partial void OnProposeHandleDataChanging(System.Nullable value); + partial void OnProposeHandleDataChanged(); partial void OnGeneraConfirmDataChanging(System.Nullable value); partial void OnGeneraConfirmDataChanged(); partial void OnSupervisionConfirmDataChanging(System.Nullable value); @@ -269251,10 +269393,6 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); - partial void OnResponsibilityProposeSatateChanging(System.Nullable value); - partial void OnResponsibilityProposeSatateChanged(); - partial void OnProposeHandleDataChanging(System.Nullable value); - partial void OnProposeHandleDataChanged(); partial void OnFourDecisionCodeChanging(string value); partial void OnFourDecisionCodeChanged(); #endregion @@ -269564,6 +269702,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] + public System.Nullable ResponsibilityProposeSatate + { + get + { + return this._ResponsibilityProposeSatate; + } + set + { + if ((this._ResponsibilityProposeSatate != value)) + { + this.OnResponsibilityProposeSatateChanging(value); + this.SendPropertyChanging(); + this._ResponsibilityProposeSatate = value; + this.SendPropertyChanged("ResponsibilityProposeSatate"); + this.OnResponsibilityProposeSatateChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirm", DbType="Int")] public System.Nullable ResponsibilityConfirm { @@ -269664,6 +269822,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] + public System.Nullable ProposeConfirmData + { + get + { + return this._ProposeConfirmData; + } + set + { + if ((this._ProposeConfirmData != value)) + { + this.OnProposeConfirmDataChanging(value); + this.SendPropertyChanging(); + this._ProposeConfirmData = value; + this.SendPropertyChanged("ProposeConfirmData"); + this.OnProposeConfirmDataChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirmData", DbType="DateTime")] public System.Nullable ResponsibilityConfirmData { @@ -269684,22 +269862,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] - public System.Nullable ProposeConfirmData + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] + public System.Nullable ProposeHandleData { get { - return this._ProposeConfirmData; + return this._ProposeHandleData; } set { - if ((this._ProposeConfirmData != value)) + if ((this._ProposeHandleData != value)) { - this.OnProposeConfirmDataChanging(value); + this.OnProposeHandleDataChanging(value); this.SendPropertyChanging(); - this._ProposeConfirmData = value; - this.SendPropertyChanged("ProposeConfirmData"); - this.OnProposeConfirmDataChanged(); + this._ProposeHandleData = value; + this.SendPropertyChanged("ProposeHandleData"); + this.OnProposeHandleDataChanged(); } } } @@ -269844,46 +270022,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] - public System.Nullable ResponsibilityProposeSatate - { - get - { - return this._ResponsibilityProposeSatate; - } - set - { - if ((this._ResponsibilityProposeSatate != value)) - { - this.OnResponsibilityProposeSatateChanging(value); - this.SendPropertyChanging(); - this._ResponsibilityProposeSatate = value; - this.SendPropertyChanged("ResponsibilityProposeSatate"); - this.OnResponsibilityProposeSatateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] - public System.Nullable ProposeHandleData - { - get - { - return this._ProposeHandleData; - } - set - { - if ((this._ProposeHandleData != value)) - { - this.OnProposeHandleDataChanging(value); - this.SendPropertyChanging(); - this._ProposeHandleData = value; - this.SendPropertyChanged("ProposeHandleData"); - this.OnProposeHandleDataChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FourDecisionCode", DbType="VarChar(20)")] public string FourDecisionCode { @@ -270596,7 +270734,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get