From e8939d462867e3094b0493729b8f702d045cbbe4 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 18 Oct 2023 16:03:22 +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_2023-10-18.sql | 3 +- SGGL/Model/Model.cs | 48 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/DataBase/版本日志/SGGLDB_WH_2023-10-18.sql b/DataBase/版本日志/SGGLDB_WH_2023-10-18.sql index 5f5b9e4b..45675e49 100644 --- a/DataBase/版本日志/SGGLDB_WH_2023-10-18.sql +++ b/DataBase/版本日志/SGGLDB_WH_2023-10-18.sql @@ -1,2 +1,3 @@ alter table [dbo].[Base_Project] add MonitorPW nvarchar(50) null -alter table [dbo].[Base_Project] add MonitorId nvarchar(50) null \ No newline at end of file +alter table [dbo].[Base_Project] add MonitorId nvarchar(50) null +GO \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 834d18e0..c2f3447d 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -25033,6 +25033,10 @@ namespace Model private string _ProjPhase; + private string _MonitorPW; + + private string _MonitorId; + private EntitySet _Accident_AccidentHandle; private EntitySet _Accident_AccidentPersonRecord; @@ -25691,6 +25695,10 @@ namespace Model partial void OnProjTypeChanged(); partial void OnProjPhaseChanging(string value); partial void OnProjPhaseChanged(); + partial void OnMonitorPWChanging(string value); + partial void OnMonitorPWChanged(); + partial void OnMonitorIdChanging(string value); + partial void OnMonitorIdChanged(); #endregion public Base_Project() @@ -26755,6 +26763,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonitorPW", DbType="NVarChar(50)")] + public string MonitorPW + { + get + { + return this._MonitorPW; + } + set + { + if ((this._MonitorPW != value)) + { + this.OnMonitorPWChanging(value); + this.SendPropertyChanging(); + this._MonitorPW = value; + this.SendPropertyChanged("MonitorPW"); + this.OnMonitorPWChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonitorId", DbType="NVarChar(50)")] + public string MonitorId + { + get + { + return this._MonitorId; + } + set + { + if ((this._MonitorId != value)) + { + this.OnMonitorIdChanging(value); + this.SendPropertyChanging(); + this._MonitorId = value; + this.SendPropertyChanged("MonitorId"); + this.OnMonitorIdChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Base_Project", Storage="_Accident_AccidentHandle", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet Accident_AccidentHandle {