提交代码
This commit is contained in:
@@ -680,6 +680,12 @@ namespace Model
|
||||
partial void InsertHJGLData_HJGL(HJGLData_HJGL instance);
|
||||
partial void UpdateHJGLData_HJGL(HJGLData_HJGL instance);
|
||||
partial void DeleteHJGLData_HJGL(HJGLData_HJGL instance);
|
||||
partial void InsertHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
|
||||
partial void UpdateHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
|
||||
partial void DeleteHSSE_ConstructionRisk(HSSE_ConstructionRisk instance);
|
||||
partial void InsertHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
|
||||
partial void UpdateHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
|
||||
partial void DeleteHSSE_ConstructionRiskControl(HSSE_ConstructionRiskControl instance);
|
||||
partial void InsertHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
|
||||
partial void UpdateHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
|
||||
partial void DeleteHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
|
||||
@@ -3557,6 +3563,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HSSE_ConstructionRisk> HSSE_ConstructionRisk
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<HSSE_ConstructionRisk>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HSSE_ConstructionRiskControl> HSSE_ConstructionRiskControl
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<HSSE_ConstructionRiskControl>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HSSE_Hazard_HazardRegister> HSSE_Hazard_HazardRegister
|
||||
{
|
||||
get
|
||||
@@ -100919,6 +100941,538 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_ConstructionRisk")]
|
||||
public partial class HSSE_ConstructionRisk : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _ConstructionRiskId;
|
||||
|
||||
private string _WorkAreaId;
|
||||
|
||||
private string _UnitId;
|
||||
|
||||
private string _ConstructionContent;
|
||||
|
||||
private string _RefLicense;
|
||||
|
||||
private string _LicenseDes;
|
||||
|
||||
private string _RiskLevel;
|
||||
|
||||
private string _States;
|
||||
|
||||
private System.Nullable<System.DateTime> _DateA;
|
||||
|
||||
private System.Nullable<System.DateTime> _DateZ;
|
||||
|
||||
private string _DateWeek;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnConstructionRiskIdChanging(string value);
|
||||
partial void OnConstructionRiskIdChanged();
|
||||
partial void OnWorkAreaIdChanging(string value);
|
||||
partial void OnWorkAreaIdChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnConstructionContentChanging(string value);
|
||||
partial void OnConstructionContentChanged();
|
||||
partial void OnRefLicenseChanging(string value);
|
||||
partial void OnRefLicenseChanged();
|
||||
partial void OnLicenseDesChanging(string value);
|
||||
partial void OnLicenseDesChanged();
|
||||
partial void OnRiskLevelChanging(string value);
|
||||
partial void OnRiskLevelChanged();
|
||||
partial void OnStatesChanging(string value);
|
||||
partial void OnStatesChanged();
|
||||
partial void OnDateAChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnDateAChanged();
|
||||
partial void OnDateZChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnDateZChanged();
|
||||
partial void OnDateWeekChanging(string value);
|
||||
partial void OnDateWeekChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
#endregion
|
||||
|
||||
public HSSE_ConstructionRisk()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionRiskId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
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="_WorkAreaId", DbType="NVarChar(50)")]
|
||||
public string WorkAreaId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkAreaId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkAreaId != value))
|
||||
{
|
||||
this.OnWorkAreaIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkAreaId = value;
|
||||
this.SendPropertyChanged("WorkAreaId");
|
||||
this.OnWorkAreaIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_ConstructionContent", DbType="NVarChar(1000)")]
|
||||
public string ConstructionContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ConstructionContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ConstructionContent != value))
|
||||
{
|
||||
this.OnConstructionContentChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ConstructionContent = value;
|
||||
this.SendPropertyChanged("ConstructionContent");
|
||||
this.OnConstructionContentChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RefLicense", DbType="NVarChar(100)")]
|
||||
public string RefLicense
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RefLicense;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RefLicense != value))
|
||||
{
|
||||
this.OnRefLicenseChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RefLicense = value;
|
||||
this.SendPropertyChanged("RefLicense");
|
||||
this.OnRefLicenseChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LicenseDes", DbType="NVarChar(100)")]
|
||||
public string LicenseDes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._LicenseDes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._LicenseDes != value))
|
||||
{
|
||||
this.OnLicenseDesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._LicenseDes = value;
|
||||
this.SendPropertyChanged("LicenseDes");
|
||||
this.OnLicenseDesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RiskLevel", DbType="NVarChar(50)")]
|
||||
public string RiskLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RiskLevel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RiskLevel != value))
|
||||
{
|
||||
this.OnRiskLevelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RiskLevel = value;
|
||||
this.SendPropertyChanged("RiskLevel");
|
||||
this.OnRiskLevelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="NVarChar(2)")]
|
||||
public string States
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._States;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._States != value))
|
||||
{
|
||||
this.OnStatesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._States = value;
|
||||
this.SendPropertyChanged("States");
|
||||
this.OnStatesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateA", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> DateA
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DateA;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DateA != value))
|
||||
{
|
||||
this.OnDateAChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DateA = value;
|
||||
this.SendPropertyChanged("DateA");
|
||||
this.OnDateAChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateZ", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> DateZ
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DateZ;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DateZ != value))
|
||||
{
|
||||
this.OnDateZChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DateZ = value;
|
||||
this.SendPropertyChanged("DateZ");
|
||||
this.OnDateZChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateWeek", DbType="NVarChar(50)")]
|
||||
public string DateWeek
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DateWeek;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DateWeek != value))
|
||||
{
|
||||
this.OnDateWeekChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DateWeek = value;
|
||||
this.SendPropertyChanged("DateWeek");
|
||||
this.OnDateWeekChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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_ConstructionRiskControl")]
|
||||
public partial class HSSE_ConstructionRiskControl : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _ControlId;
|
||||
|
||||
private string _Measures;
|
||||
|
||||
private string _CheckResult;
|
||||
|
||||
private string _CheckMan;
|
||||
|
||||
private string _Rectification;
|
||||
|
||||
private string _ConstructionRiskId;
|
||||
|
||||
private System.Nullable<int> _ShowIndex;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnControlIdChanging(string value);
|
||||
partial void OnControlIdChanged();
|
||||
partial void OnMeasuresChanging(string value);
|
||||
partial void OnMeasuresChanged();
|
||||
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 OnConstructionRiskIdChanging(string value);
|
||||
partial void OnConstructionRiskIdChanged();
|
||||
partial void OnShowIndexChanging(System.Nullable<int> value);
|
||||
partial void OnShowIndexChanged();
|
||||
#endregion
|
||||
|
||||
public HSSE_ConstructionRiskControl()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string ControlId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ControlId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ControlId != value))
|
||||
{
|
||||
this.OnControlIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ControlId = value;
|
||||
this.SendPropertyChanged("ControlId");
|
||||
this.OnControlIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measures", DbType="NVarChar(50)")]
|
||||
public string Measures
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Measures;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Measures != value))
|
||||
{
|
||||
this.OnMeasuresChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Measures = value;
|
||||
this.SendPropertyChanged("Measures");
|
||||
this.OnMeasuresChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_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="_ShowIndex", DbType="Int")]
|
||||
public System.Nullable<int> ShowIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ShowIndex;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ShowIndex != value))
|
||||
{
|
||||
this.OnShowIndexChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ShowIndex = value;
|
||||
this.SendPropertyChanged("ShowIndex");
|
||||
this.OnShowIndexChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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_Hazard_HazardRegister")]
|
||||
public partial class HSSE_Hazard_HazardRegister : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user