提交代码

This commit is contained in:
2024-09-24 11:28:27 +08:00
parent 24de50cd30
commit 0865c7e41e
54 changed files with 5535 additions and 784 deletions
+458
View File
@@ -683,6 +683,12 @@ namespace Model
partial void InsertHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
partial void UpdateHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
partial void DeleteHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
partial void InsertHSSE_ConstructionRiskApprove(HSSE_ConstructionRiskApprove instance);
partial void UpdateHSSE_ConstructionRiskApprove(HSSE_ConstructionRiskApprove instance);
partial void DeleteHSSE_ConstructionRiskApprove(HSSE_ConstructionRiskApprove instance);
partial void InsertHSSE_ConstructionRiskCheck(HSSE_ConstructionRiskCheck instance);
partial void UpdateHSSE_ConstructionRiskCheck(HSSE_ConstructionRiskCheck instance);
partial void DeleteHSSE_ConstructionRiskCheck(HSSE_ConstructionRiskCheck instance);
partial void InsertHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
partial void UpdateHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
partial void DeleteHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
@@ -3574,6 +3580,22 @@ namespace Model
}
}
public System.Data.Linq.Table<HSSE_ConstructionRiskApprove> HSSE_ConstructionRiskApprove
{
get
{
return this.GetTable<HSSE_ConstructionRiskApprove>();
}
}
public System.Data.Linq.Table<HSSE_ConstructionRiskCheck> HSSE_ConstructionRiskCheck
{
get
{
return this.GetTable<HSSE_ConstructionRiskCheck>();
}
}
public System.Data.Linq.Table<HSSE_ConstructionRiskControl> HSSE_ConstructionRiskControl
{
get
@@ -101056,6 +101078,8 @@ namespace Model
private string _Coordinate;
private string _ConstructionContentId;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -101086,6 +101110,8 @@ namespace Model
partial void OnProjectIdChanged();
partial void OnCoordinateChanging(string value);
partial void OnCoordinateChanged();
partial void OnConstructionContentIdChanging(string value);
partial void OnConstructionContentIdChanged();
#endregion
public HSSE_ConstructionRisk()
@@ -101353,6 +101379,414 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionContentId", DbType="NVarChar(50)")]
public string ConstructionContentId
{
get
{
return this._ConstructionContentId;
}
set
{
if ((this._ConstructionContentId != value))
{
this.OnConstructionContentIdChanging(value);
this.SendPropertyChanging();
this._ConstructionContentId = value;
this.SendPropertyChanged("ConstructionContentId");
this.OnConstructionContentIdChanged();
}
}
}
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.HSSE_ConstructionRiskApprove")]
public partial class HSSE_ConstructionRiskApprove : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ConstructionRiskApproveId;
private string _ConstructionRiskId;
private string _ApproveMan;
private System.Nullable<System.DateTime> _ApproveDate;
private System.Nullable<bool> _IsAgree;
private string _ApproveIdea;
private string _ApproveType;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnConstructionRiskApproveIdChanging(string value);
partial void OnConstructionRiskApproveIdChanged();
partial void OnConstructionRiskIdChanging(string value);
partial void OnConstructionRiskIdChanged();
partial void OnApproveManChanging(string value);
partial void OnApproveManChanged();
partial void OnApproveDateChanging(System.Nullable<System.DateTime> value);
partial void OnApproveDateChanged();
partial void OnIsAgreeChanging(System.Nullable<bool> value);
partial void OnIsAgreeChanged();
partial void OnApproveIdeaChanging(string value);
partial void OnApproveIdeaChanged();
partial void OnApproveTypeChanging(string value);
partial void OnApproveTypeChanged();
#endregion
public HSSE_ConstructionRiskApprove()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionRiskApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ConstructionRiskApproveId
{
get
{
return this._ConstructionRiskApproveId;
}
set
{
if ((this._ConstructionRiskApproveId != value))
{
this.OnConstructionRiskApproveIdChanging(value);
this.SendPropertyChanging();
this._ConstructionRiskApproveId = value;
this.SendPropertyChanged("ConstructionRiskApproveId");
this.OnConstructionRiskApproveIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionRiskId", DbType="NVarChar(50)")]
public string ConstructionRiskId
{
get
{
return this._ConstructionRiskId;
}
set
{
if ((this._ConstructionRiskId != value))
{
this.OnConstructionRiskIdChanging(value);
this.SendPropertyChanging();
this._ConstructionRiskId = value;
this.SendPropertyChanged("ConstructionRiskId");
this.OnConstructionRiskIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
public string ApproveMan
{
get
{
return this._ApproveMan;
}
set
{
if ((this._ApproveMan != value))
{
this.OnApproveManChanging(value);
this.SendPropertyChanging();
this._ApproveMan = value;
this.SendPropertyChanged("ApproveMan");
this.OnApproveManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")]
public System.Nullable<System.DateTime> ApproveDate
{
get
{
return this._ApproveDate;
}
set
{
if ((this._ApproveDate != value))
{
this.OnApproveDateChanging(value);
this.SendPropertyChanging();
this._ApproveDate = value;
this.SendPropertyChanged("ApproveDate");
this.OnApproveDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")]
public System.Nullable<bool> IsAgree
{
get
{
return this._IsAgree;
}
set
{
if ((this._IsAgree != value))
{
this.OnIsAgreeChanging(value);
this.SendPropertyChanging();
this._IsAgree = value;
this.SendPropertyChanged("IsAgree");
this.OnIsAgreeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
public string ApproveIdea
{
get
{
return this._ApproveIdea;
}
set
{
if ((this._ApproveIdea != value))
{
this.OnApproveIdeaChanging(value);
this.SendPropertyChanging();
this._ApproveIdea = value;
this.SendPropertyChanged("ApproveIdea");
this.OnApproveIdeaChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Char(1)")]
public string 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;
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.HSSE_ConstructionRiskCheck")]
public partial class HSSE_ConstructionRiskCheck : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ConstructionRiskCheckId;
private string _ConstructionRiskId;
private string _CheckResult;
private string _CheckMan;
private string _Rectification;
private System.Nullable<System.DateTime> _CheckDate;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnConstructionRiskCheckIdChanging(string value);
partial void OnConstructionRiskCheckIdChanged();
partial void OnConstructionRiskIdChanging(string value);
partial void OnConstructionRiskIdChanged();
partial void OnCheckResultChanging(string value);
partial void OnCheckResultChanged();
partial void OnCheckManChanging(string value);
partial void OnCheckManChanged();
partial void OnRectificationChanging(string value);
partial void OnRectificationChanged();
partial void OnCheckDateChanging(System.Nullable<System.DateTime> value);
partial void OnCheckDateChanged();
#endregion
public HSSE_ConstructionRiskCheck()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionRiskCheckId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ConstructionRiskCheckId
{
get
{
return this._ConstructionRiskCheckId;
}
set
{
if ((this._ConstructionRiskCheckId != value))
{
this.OnConstructionRiskCheckIdChanging(value);
this.SendPropertyChanging();
this._ConstructionRiskCheckId = value;
this.SendPropertyChanged("ConstructionRiskCheckId");
this.OnConstructionRiskCheckIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionRiskId", DbType="NVarChar(50)")]
public string ConstructionRiskId
{
get
{
return this._ConstructionRiskId;
}
set
{
if ((this._ConstructionRiskId != value))
{
this.OnConstructionRiskIdChanging(value);
this.SendPropertyChanging();
this._ConstructionRiskId = value;
this.SendPropertyChanged("ConstructionRiskId");
this.OnConstructionRiskIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckResult", DbType="NVarChar(50)")]
public string CheckResult
{
get
{
return this._CheckResult;
}
set
{
if ((this._CheckResult != value))
{
this.OnCheckResultChanging(value);
this.SendPropertyChanging();
this._CheckResult = value;
this.SendPropertyChanged("CheckResult");
this.OnCheckResultChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckMan", DbType="NVarChar(50)")]
public string CheckMan
{
get
{
return this._CheckMan;
}
set
{
if ((this._CheckMan != value))
{
this.OnCheckManChanging(value);
this.SendPropertyChanging();
this._CheckMan = value;
this.SendPropertyChanged("CheckMan");
this.OnCheckManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(50)")]
public string Rectification
{
get
{
return this._Rectification;
}
set
{
if ((this._Rectification != value))
{
this.OnRectificationChanging(value);
this.SendPropertyChanging();
this._Rectification = value;
this.SendPropertyChanged("Rectification");
this.OnRectificationChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CheckDate
{
get
{
return this._CheckDate;
}
set
{
if ((this._CheckDate != value))
{
this.OnCheckDateChanging(value);
this.SendPropertyChanging();
this._CheckDate = value;
this.SendPropertyChanged("CheckDate");
this.OnCheckDateChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -200411,6 +200845,8 @@ namespace Model
private string _DesignProfessionalIds;
private string _Coordinate;
private EntitySet<Check_MonthDesign> _Check_MonthDesign;
private EntitySet<HJGL_MaterialManage> _HJGL_MaterialManage;
@@ -200439,6 +200875,8 @@ namespace Model
partial void OnRemarkChanged();
partial void OnDesignProfessionalIdsChanging(string value);
partial void OnDesignProfessionalIdsChanged();
partial void OnCoordinateChanging(string value);
partial void OnCoordinateChanged();
#endregion
public ProjectData_MainItem()
@@ -200576,6 +201014,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Coordinate", DbType="NVarChar(100)")]
public string Coordinate
{
get
{
return this._Coordinate;
}
set
{
if ((this._Coordinate != value))
{
this.OnCoordinateChanging(value);
this.SendPropertyChanging();
this._Coordinate = value;
this.SendPropertyChanged("Coordinate");
this.OnCoordinateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_MonthDesign_ProjectData_MainItem", Storage="_Check_MonthDesign", ThisKey="MainItemId", OtherKey="MainItemId", DeleteRule="NO ACTION")]
public EntitySet<Check_MonthDesign> Check_MonthDesign
{