This commit is contained in:
2025-03-27 22:24:48 +08:00
parent cd8148326c
commit 954c0a3a6a
15 changed files with 1413 additions and 77 deletions
+697
View File
@@ -1646,6 +1646,9 @@ namespace Model
partial void InsertManager_TrainSortC(Manager_TrainSortC instance);
partial void UpdateManager_TrainSortC(Manager_TrainSortC instance);
partial void DeleteManager_TrainSortC(Manager_TrainSortC instance);
partial void InsertMDM_Project(MDM_Project instance);
partial void UpdateMDM_Project(MDM_Project instance);
partial void DeleteMDM_Project(MDM_Project instance);
partial void InsertMeeting_AttendMeeting(Meeting_AttendMeeting instance);
partial void UpdateMeeting_AttendMeeting(Meeting_AttendMeeting instance);
partial void DeleteMeeting_AttendMeeting(Meeting_AttendMeeting instance);
@@ -7135,6 +7138,14 @@ namespace Model
}
}
public System.Data.Linq.Table<MDM_Project> MDM_Project
{
get
{
return this.GetTable<MDM_Project>();
}
}
public System.Data.Linq.Table<Meeting_AttendMeeting> Meeting_AttendMeeting
{
get
@@ -263500,6 +263511,668 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.MDM_Project")]
public partial class MDM_Project : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private int _Id;
private string _Code;
private string _StNum;
private string _DisType;
private string _Name;
private string _ProjShortName;
private string _ProjStepZxnoCode;
private string _ProjStepZxnoName;
private string _StProjectTypeVals;
private string _StProjectStepVals;
private string _ProjStepZxnoVals;
private string _StProjectPropertyVals;
private string _RemarkC;
private string _Address;
private string _CityCode;
private string _CityName;
private string _CountryCode;
private string _CountryName;
private string _CountyCode;
private string _CountyName;
private string _ProjectNameEn;
private string _ProvinceCode;
private string _ProvinceName;
private string _RemarkA;
private string _RemarkB;
private System.DateTime _CreateTime;
#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 OnCodeChanging(string value);
partial void OnCodeChanged();
partial void OnStNumChanging(string value);
partial void OnStNumChanged();
partial void OnDisTypeChanging(string value);
partial void OnDisTypeChanged();
partial void OnNameChanging(string value);
partial void OnNameChanged();
partial void OnProjShortNameChanging(string value);
partial void OnProjShortNameChanged();
partial void OnProjStepZxnoCodeChanging(string value);
partial void OnProjStepZxnoCodeChanged();
partial void OnProjStepZxnoNameChanging(string value);
partial void OnProjStepZxnoNameChanged();
partial void OnStProjectTypeValsChanging(string value);
partial void OnStProjectTypeValsChanged();
partial void OnStProjectStepValsChanging(string value);
partial void OnStProjectStepValsChanged();
partial void OnProjStepZxnoValsChanging(string value);
partial void OnProjStepZxnoValsChanged();
partial void OnStProjectPropertyValsChanging(string value);
partial void OnStProjectPropertyValsChanged();
partial void OnRemarkCChanging(string value);
partial void OnRemarkCChanged();
partial void OnAddressChanging(string value);
partial void OnAddressChanged();
partial void OnCityCodeChanging(string value);
partial void OnCityCodeChanged();
partial void OnCityNameChanging(string value);
partial void OnCityNameChanged();
partial void OnCountryCodeChanging(string value);
partial void OnCountryCodeChanged();
partial void OnCountryNameChanging(string value);
partial void OnCountryNameChanged();
partial void OnCountyCodeChanging(string value);
partial void OnCountyCodeChanged();
partial void OnCountyNameChanging(string value);
partial void OnCountyNameChanged();
partial void OnProjectNameEnChanging(string value);
partial void OnProjectNameEnChanged();
partial void OnProvinceCodeChanging(string value);
partial void OnProvinceCodeChanged();
partial void OnProvinceNameChanging(string value);
partial void OnProvinceNameChanged();
partial void OnRemarkAChanging(string value);
partial void OnRemarkAChanged();
partial void OnRemarkBChanging(string value);
partial void OnRemarkBChanged();
partial void OnCreateTimeChanging(System.DateTime value);
partial void OnCreateTimeChanged();
#endregion
public MDM_Project()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="id", Storage="_Id", DbType="Int NOT NULL", IsPrimaryKey=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="code", Storage="_Code", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
public string Code
{
get
{
return this._Code;
}
set
{
if ((this._Code != value))
{
this.OnCodeChanging(value);
this.SendPropertyChanging();
this._Code = value;
this.SendPropertyChanged("Code");
this.OnCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stNum", Storage="_StNum", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
public string StNum
{
get
{
return this._StNum;
}
set
{
if ((this._StNum != value))
{
this.OnStNumChanging(value);
this.SendPropertyChanging();
this._StNum = value;
this.SendPropertyChanged("StNum");
this.OnStNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="disType", Storage="_DisType", DbType="NVarChar(100)")]
public string DisType
{
get
{
return this._DisType;
}
set
{
if ((this._DisType != value))
{
this.OnDisTypeChanging(value);
this.SendPropertyChanging();
this._DisType = value;
this.SendPropertyChanged("DisType");
this.OnDisTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="name", Storage="_Name", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
public string Name
{
get
{
return this._Name;
}
set
{
if ((this._Name != value))
{
this.OnNameChanging(value);
this.SendPropertyChanging();
this._Name = value;
this.SendPropertyChanged("Name");
this.OnNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projShortName", Storage="_ProjShortName", DbType="NVarChar(100)")]
public string ProjShortName
{
get
{
return this._ProjShortName;
}
set
{
if ((this._ProjShortName != value))
{
this.OnProjShortNameChanging(value);
this.SendPropertyChanging();
this._ProjShortName = value;
this.SendPropertyChanged("ProjShortName");
this.OnProjShortNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projStepZxnoCode", Storage="_ProjStepZxnoCode", DbType="NVarChar(100)")]
public string ProjStepZxnoCode
{
get
{
return this._ProjStepZxnoCode;
}
set
{
if ((this._ProjStepZxnoCode != value))
{
this.OnProjStepZxnoCodeChanging(value);
this.SendPropertyChanging();
this._ProjStepZxnoCode = value;
this.SendPropertyChanged("ProjStepZxnoCode");
this.OnProjStepZxnoCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projStepZxnoName", Storage="_ProjStepZxnoName", DbType="NVarChar(100)")]
public string ProjStepZxnoName
{
get
{
return this._ProjStepZxnoName;
}
set
{
if ((this._ProjStepZxnoName != value))
{
this.OnProjStepZxnoNameChanging(value);
this.SendPropertyChanging();
this._ProjStepZxnoName = value;
this.SendPropertyChanged("ProjStepZxnoName");
this.OnProjStepZxnoNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stProjectTypeVals", Storage="_StProjectTypeVals", DbType="NVarChar(100)")]
public string StProjectTypeVals
{
get
{
return this._StProjectTypeVals;
}
set
{
if ((this._StProjectTypeVals != value))
{
this.OnStProjectTypeValsChanging(value);
this.SendPropertyChanging();
this._StProjectTypeVals = value;
this.SendPropertyChanged("StProjectTypeVals");
this.OnStProjectTypeValsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stProjectStepVals", Storage="_StProjectStepVals", DbType="NVarChar(100)")]
public string StProjectStepVals
{
get
{
return this._StProjectStepVals;
}
set
{
if ((this._StProjectStepVals != value))
{
this.OnStProjectStepValsChanging(value);
this.SendPropertyChanging();
this._StProjectStepVals = value;
this.SendPropertyChanged("StProjectStepVals");
this.OnStProjectStepValsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projStepZxnoVals", Storage="_ProjStepZxnoVals", DbType="NVarChar(100)")]
public string ProjStepZxnoVals
{
get
{
return this._ProjStepZxnoVals;
}
set
{
if ((this._ProjStepZxnoVals != value))
{
this.OnProjStepZxnoValsChanging(value);
this.SendPropertyChanging();
this._ProjStepZxnoVals = value;
this.SendPropertyChanged("ProjStepZxnoVals");
this.OnProjStepZxnoValsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="stProjectPropertyVals", Storage="_StProjectPropertyVals", DbType="NVarChar(100)")]
public string StProjectPropertyVals
{
get
{
return this._StProjectPropertyVals;
}
set
{
if ((this._StProjectPropertyVals != value))
{
this.OnStProjectPropertyValsChanging(value);
this.SendPropertyChanging();
this._StProjectPropertyVals = value;
this.SendPropertyChanged("StProjectPropertyVals");
this.OnStProjectPropertyValsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remarkC", Storage="_RemarkC", DbType="NVarChar(100)")]
public string RemarkC
{
get
{
return this._RemarkC;
}
set
{
if ((this._RemarkC != value))
{
this.OnRemarkCChanging(value);
this.SendPropertyChanging();
this._RemarkC = value;
this.SendPropertyChanged("RemarkC");
this.OnRemarkCChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="address", Storage="_Address", DbType="NVarChar(500)")]
public string Address
{
get
{
return this._Address;
}
set
{
if ((this._Address != value))
{
this.OnAddressChanging(value);
this.SendPropertyChanging();
this._Address = value;
this.SendPropertyChanged("Address");
this.OnAddressChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="cityCode", Storage="_CityCode", DbType="NVarChar(100)")]
public string CityCode
{
get
{
return this._CityCode;
}
set
{
if ((this._CityCode != value))
{
this.OnCityCodeChanging(value);
this.SendPropertyChanging();
this._CityCode = value;
this.SendPropertyChanged("CityCode");
this.OnCityCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="cityName", Storage="_CityName", DbType="NVarChar(100)")]
public string CityName
{
get
{
return this._CityName;
}
set
{
if ((this._CityName != value))
{
this.OnCityNameChanging(value);
this.SendPropertyChanging();
this._CityName = value;
this.SendPropertyChanged("CityName");
this.OnCityNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="countryCode", Storage="_CountryCode", DbType="NVarChar(100)")]
public string CountryCode
{
get
{
return this._CountryCode;
}
set
{
if ((this._CountryCode != value))
{
this.OnCountryCodeChanging(value);
this.SendPropertyChanging();
this._CountryCode = value;
this.SendPropertyChanged("CountryCode");
this.OnCountryCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="countryName", Storage="_CountryName", DbType="NVarChar(100)")]
public string CountryName
{
get
{
return this._CountryName;
}
set
{
if ((this._CountryName != value))
{
this.OnCountryNameChanging(value);
this.SendPropertyChanging();
this._CountryName = value;
this.SendPropertyChanged("CountryName");
this.OnCountryNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="countyCode", Storage="_CountyCode", DbType="NVarChar(100)")]
public string CountyCode
{
get
{
return this._CountyCode;
}
set
{
if ((this._CountyCode != value))
{
this.OnCountyCodeChanging(value);
this.SendPropertyChanging();
this._CountyCode = value;
this.SendPropertyChanged("CountyCode");
this.OnCountyCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="countyName", Storage="_CountyName", DbType="NVarChar(100)")]
public string CountyName
{
get
{
return this._CountyName;
}
set
{
if ((this._CountyName != value))
{
this.OnCountyNameChanging(value);
this.SendPropertyChanging();
this._CountyName = value;
this.SendPropertyChanged("CountyName");
this.OnCountyNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projectNameEn", Storage="_ProjectNameEn", DbType="NVarChar(500)")]
public string ProjectNameEn
{
get
{
return this._ProjectNameEn;
}
set
{
if ((this._ProjectNameEn != value))
{
this.OnProjectNameEnChanging(value);
this.SendPropertyChanging();
this._ProjectNameEn = value;
this.SendPropertyChanged("ProjectNameEn");
this.OnProjectNameEnChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="provinceCode", Storage="_ProvinceCode", DbType="NVarChar(100)")]
public string ProvinceCode
{
get
{
return this._ProvinceCode;
}
set
{
if ((this._ProvinceCode != value))
{
this.OnProvinceCodeChanging(value);
this.SendPropertyChanging();
this._ProvinceCode = value;
this.SendPropertyChanged("ProvinceCode");
this.OnProvinceCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="provinceName", Storage="_ProvinceName", DbType="NVarChar(100)")]
public string ProvinceName
{
get
{
return this._ProvinceName;
}
set
{
if ((this._ProvinceName != value))
{
this.OnProvinceNameChanging(value);
this.SendPropertyChanging();
this._ProvinceName = value;
this.SendPropertyChanged("ProvinceName");
this.OnProvinceNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remarkA", Storage="_RemarkA", DbType="NVarChar(100)")]
public string RemarkA
{
get
{
return this._RemarkA;
}
set
{
if ((this._RemarkA != value))
{
this.OnRemarkAChanging(value);
this.SendPropertyChanging();
this._RemarkA = value;
this.SendPropertyChanged("RemarkA");
this.OnRemarkAChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remarkB", Storage="_RemarkB", DbType="NVarChar(100)")]
public string RemarkB
{
get
{
return this._RemarkB;
}
set
{
if ((this._RemarkB != value))
{
this.OnRemarkBChanging(value);
this.SendPropertyChanging();
this._RemarkB = value;
this.SendPropertyChanged("RemarkB");
this.OnRemarkBChanged();
}
}
}
[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();
}
}
}
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.Meeting_AttendMeeting")]
public partial class Meeting_AttendMeeting : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -343514,6 +344187,8 @@ namespace Model
private System.Nullable<bool> _IsBlacklist;
private string _Email;
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
private EntitySet<Accident_AccidentReportOtherItem> _Accident_AccidentReportOtherItem;
@@ -343700,6 +344375,8 @@ namespace Model
partial void OnIsSafetyMonitoringChanged();
partial void OnIsBlacklistChanging(System.Nullable<bool> value);
partial void OnIsBlacklistChanged();
partial void OnEmailChanging(string value);
partial void OnEmailChanged();
#endregion
public SitePerson_Person()
@@ -345008,6 +345685,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(200)")]
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.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
{