安全危害因素(第一版)
This commit is contained in:
@@ -1085,6 +1085,9 @@ namespace Model
|
||||
partial void InsertHazard_RoutingInspection(Hazard_RoutingInspection instance);
|
||||
partial void UpdateHazard_RoutingInspection(Hazard_RoutingInspection instance);
|
||||
partial void DeleteHazard_RoutingInspection(Hazard_RoutingInspection instance);
|
||||
partial void InsertHazardFactor_Safety(HazardFactor_Safety instance);
|
||||
partial void UpdateHazardFactor_Safety(HazardFactor_Safety instance);
|
||||
partial void DeleteHazardFactor_Safety(HazardFactor_Safety instance);
|
||||
partial void InsertHJGL_Batch_BatchTrust(HJGL_Batch_BatchTrust instance);
|
||||
partial void UpdateHJGL_Batch_BatchTrust(HJGL_Batch_BatchTrust instance);
|
||||
partial void DeleteHJGL_Batch_BatchTrust(HJGL_Batch_BatchTrust instance);
|
||||
@@ -5556,6 +5559,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HazardFactor_Safety> HazardFactor_Safety
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<HazardFactor_Safety>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HJGL_Batch_BatchTrust> HJGL_Batch_BatchTrust
|
||||
{
|
||||
get
|
||||
@@ -168520,6 +168531,668 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HazardFactor_Safety")]
|
||||
public partial class HazardFactor_Safety : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _ID;
|
||||
|
||||
private string _Year;
|
||||
|
||||
private string _Month;
|
||||
|
||||
private System.DateTime _CompileDate;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private string _CompileManName;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _WorkPlace;
|
||||
|
||||
private string _JobStep;
|
||||
|
||||
private string _Hazard;
|
||||
|
||||
private string _Consequence;
|
||||
|
||||
private bool _Illegality;
|
||||
|
||||
private int _BaseRiskSeverity;
|
||||
|
||||
private int _BaseRiskProbability;
|
||||
|
||||
private int _BaseRiskScore;
|
||||
|
||||
private string _BaseRiskGrade;
|
||||
|
||||
private bool _BaseRiskAcceptabity;
|
||||
|
||||
private string _NetRiskControlMeasures;
|
||||
|
||||
private int _NetRiskSeverity;
|
||||
|
||||
private int _NetRiskProbability;
|
||||
|
||||
private int _NetRiskScore;
|
||||
|
||||
private string _NetRiskGrade;
|
||||
|
||||
private bool _NetRiskAcceptabity;
|
||||
|
||||
private string _AdditionalControlMeasures;
|
||||
|
||||
private string _ResponsibleDepartment;
|
||||
|
||||
private int _State;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnIDChanging(string value);
|
||||
partial void OnIDChanged();
|
||||
partial void OnYearChanging(string value);
|
||||
partial void OnYearChanged();
|
||||
partial void OnMonthChanging(string value);
|
||||
partial void OnMonthChanged();
|
||||
partial void OnCompileDateChanging(System.DateTime value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileManNameChanging(string value);
|
||||
partial void OnCompileManNameChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnWorkPlaceChanging(string value);
|
||||
partial void OnWorkPlaceChanged();
|
||||
partial void OnJobStepChanging(string value);
|
||||
partial void OnJobStepChanged();
|
||||
partial void OnHazardChanging(string value);
|
||||
partial void OnHazardChanged();
|
||||
partial void OnConsequenceChanging(string value);
|
||||
partial void OnConsequenceChanged();
|
||||
partial void OnIllegalityChanging(bool value);
|
||||
partial void OnIllegalityChanged();
|
||||
partial void OnBaseRiskSeverityChanging(int value);
|
||||
partial void OnBaseRiskSeverityChanged();
|
||||
partial void OnBaseRiskProbabilityChanging(int value);
|
||||
partial void OnBaseRiskProbabilityChanged();
|
||||
partial void OnBaseRiskScoreChanging(int value);
|
||||
partial void OnBaseRiskScoreChanged();
|
||||
partial void OnBaseRiskGradeChanging(string value);
|
||||
partial void OnBaseRiskGradeChanged();
|
||||
partial void OnBaseRiskAcceptabityChanging(bool value);
|
||||
partial void OnBaseRiskAcceptabityChanged();
|
||||
partial void OnNetRiskControlMeasuresChanging(string value);
|
||||
partial void OnNetRiskControlMeasuresChanged();
|
||||
partial void OnNetRiskSeverityChanging(int value);
|
||||
partial void OnNetRiskSeverityChanged();
|
||||
partial void OnNetRiskProbabilityChanging(int value);
|
||||
partial void OnNetRiskProbabilityChanged();
|
||||
partial void OnNetRiskScoreChanging(int value);
|
||||
partial void OnNetRiskScoreChanged();
|
||||
partial void OnNetRiskGradeChanging(string value);
|
||||
partial void OnNetRiskGradeChanged();
|
||||
partial void OnNetRiskAcceptabityChanging(bool value);
|
||||
partial void OnNetRiskAcceptabityChanged();
|
||||
partial void OnAdditionalControlMeasuresChanging(string value);
|
||||
partial void OnAdditionalControlMeasuresChanged();
|
||||
partial void OnResponsibleDepartmentChanging(string value);
|
||||
partial void OnResponsibleDepartmentChanged();
|
||||
partial void OnStateChanging(int value);
|
||||
partial void OnStateChanged();
|
||||
#endregion
|
||||
|
||||
public HazardFactor_Safety()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string 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(Storage="_Year", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
|
||||
public string Year
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Year;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Year != value))
|
||||
{
|
||||
this.OnYearChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Year = value;
|
||||
this.SendPropertyChanged("Year");
|
||||
this.OnYearChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Month", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
|
||||
public string Month
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Month;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Month != value))
|
||||
{
|
||||
this.OnMonthChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Month = value;
|
||||
this.SendPropertyChanged("Month");
|
||||
this.OnMonthChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime NOT NULL")]
|
||||
public System.DateTime CompileDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDate != value))
|
||||
{
|
||||
this.OnCompileDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDate = value;
|
||||
this.SendPropertyChanged("CompileDate");
|
||||
this.OnCompileDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string CompileMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileMan != value))
|
||||
{
|
||||
this.OnCompileManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileMan = value;
|
||||
this.SendPropertyChanged("CompileMan");
|
||||
this.OnCompileManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileManName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string CompileManName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileManName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileManName != value))
|
||||
{
|
||||
this.OnCompileManNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileManName = value;
|
||||
this.SendPropertyChanged("CompileManName");
|
||||
this.OnCompileManNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NChar(10) NOT NULL", CanBeNull=false)]
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPlace", DbType="NChar(10) NOT NULL", CanBeNull=false)]
|
||||
public string WorkPlace
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPlace;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPlace != value))
|
||||
{
|
||||
this.OnWorkPlaceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPlace = value;
|
||||
this.SendPropertyChanged("WorkPlace");
|
||||
this.OnWorkPlaceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobStep", DbType="NChar(10) NOT NULL", CanBeNull=false)]
|
||||
public string JobStep
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JobStep;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JobStep != value))
|
||||
{
|
||||
this.OnJobStepChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._JobStep = value;
|
||||
this.SendPropertyChanged("JobStep");
|
||||
this.OnJobStepChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hazard", DbType="NChar(10) NOT NULL", CanBeNull=false)]
|
||||
public string Hazard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Hazard;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Hazard != value))
|
||||
{
|
||||
this.OnHazardChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Hazard = value;
|
||||
this.SendPropertyChanged("Hazard");
|
||||
this.OnHazardChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Consequence", DbType="NChar(10)")]
|
||||
public string Consequence
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Consequence;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Consequence != value))
|
||||
{
|
||||
this.OnConsequenceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Consequence = value;
|
||||
this.SendPropertyChanged("Consequence");
|
||||
this.OnConsequenceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Illegality", DbType="Bit NOT NULL")]
|
||||
public bool Illegality
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Illegality;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Illegality != value))
|
||||
{
|
||||
this.OnIllegalityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Illegality = value;
|
||||
this.SendPropertyChanged("Illegality");
|
||||
this.OnIllegalityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseRiskSeverity", DbType="Int NOT NULL")]
|
||||
public int BaseRiskSeverity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BaseRiskSeverity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BaseRiskSeverity != value))
|
||||
{
|
||||
this.OnBaseRiskSeverityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BaseRiskSeverity = value;
|
||||
this.SendPropertyChanged("BaseRiskSeverity");
|
||||
this.OnBaseRiskSeverityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseRiskProbability", DbType="Int NOT NULL")]
|
||||
public int BaseRiskProbability
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BaseRiskProbability;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BaseRiskProbability != value))
|
||||
{
|
||||
this.OnBaseRiskProbabilityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BaseRiskProbability = value;
|
||||
this.SendPropertyChanged("BaseRiskProbability");
|
||||
this.OnBaseRiskProbabilityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseRiskScore", DbType="Int NOT NULL")]
|
||||
public int BaseRiskScore
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BaseRiskScore;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BaseRiskScore != value))
|
||||
{
|
||||
this.OnBaseRiskScoreChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BaseRiskScore = value;
|
||||
this.SendPropertyChanged("BaseRiskScore");
|
||||
this.OnBaseRiskScoreChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseRiskGrade", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string BaseRiskGrade
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BaseRiskGrade;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BaseRiskGrade != value))
|
||||
{
|
||||
this.OnBaseRiskGradeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BaseRiskGrade = value;
|
||||
this.SendPropertyChanged("BaseRiskGrade");
|
||||
this.OnBaseRiskGradeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseRiskAcceptabity", DbType="Bit NOT NULL")]
|
||||
public bool BaseRiskAcceptabity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BaseRiskAcceptabity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BaseRiskAcceptabity != value))
|
||||
{
|
||||
this.OnBaseRiskAcceptabityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BaseRiskAcceptabity = value;
|
||||
this.SendPropertyChanged("BaseRiskAcceptabity");
|
||||
this.OnBaseRiskAcceptabityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskControlMeasures", DbType="NVarChar(500)")]
|
||||
public string NetRiskControlMeasures
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskControlMeasures;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskControlMeasures != value))
|
||||
{
|
||||
this.OnNetRiskControlMeasuresChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskControlMeasures = value;
|
||||
this.SendPropertyChanged("NetRiskControlMeasures");
|
||||
this.OnNetRiskControlMeasuresChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskSeverity", DbType="Int NOT NULL")]
|
||||
public int NetRiskSeverity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskSeverity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskSeverity != value))
|
||||
{
|
||||
this.OnNetRiskSeverityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskSeverity = value;
|
||||
this.SendPropertyChanged("NetRiskSeverity");
|
||||
this.OnNetRiskSeverityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskProbability", DbType="Int NOT NULL")]
|
||||
public int NetRiskProbability
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskProbability;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskProbability != value))
|
||||
{
|
||||
this.OnNetRiskProbabilityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskProbability = value;
|
||||
this.SendPropertyChanged("NetRiskProbability");
|
||||
this.OnNetRiskProbabilityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskScore", DbType="Int NOT NULL")]
|
||||
public int NetRiskScore
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskScore;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskScore != value))
|
||||
{
|
||||
this.OnNetRiskScoreChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskScore = value;
|
||||
this.SendPropertyChanged("NetRiskScore");
|
||||
this.OnNetRiskScoreChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskGrade", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string NetRiskGrade
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskGrade;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskGrade != value))
|
||||
{
|
||||
this.OnNetRiskGradeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskGrade = value;
|
||||
this.SendPropertyChanged("NetRiskGrade");
|
||||
this.OnNetRiskGradeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NetRiskAcceptabity", DbType="Bit NOT NULL")]
|
||||
public bool NetRiskAcceptabity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NetRiskAcceptabity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NetRiskAcceptabity != value))
|
||||
{
|
||||
this.OnNetRiskAcceptabityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NetRiskAcceptabity = value;
|
||||
this.SendPropertyChanged("NetRiskAcceptabity");
|
||||
this.OnNetRiskAcceptabityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdditionalControlMeasures", DbType="NVarChar(500)")]
|
||||
public string AdditionalControlMeasures
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AdditionalControlMeasures;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AdditionalControlMeasures != value))
|
||||
{
|
||||
this.OnAdditionalControlMeasuresChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AdditionalControlMeasures = value;
|
||||
this.SendPropertyChanged("AdditionalControlMeasures");
|
||||
this.OnAdditionalControlMeasuresChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibleDepartment", DbType="NVarChar(50)")]
|
||||
public string ResponsibleDepartment
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ResponsibleDepartment;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ResponsibleDepartment != value))
|
||||
{
|
||||
this.OnResponsibleDepartmentChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ResponsibleDepartment = value;
|
||||
this.SendPropertyChanged("ResponsibleDepartment");
|
||||
this.OnResponsibleDepartmentChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int NOT NULL")]
|
||||
public int State
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._State;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._State != value))
|
||||
{
|
||||
this.OnStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._State = value;
|
||||
this.SendPropertyChanged("State");
|
||||
this.OnStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.HJGL_Batch_BatchTrust")]
|
||||
public partial class HJGL_Batch_BatchTrust : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -330799,6 +331472,8 @@ namespace Model
|
||||
|
||||
private string _State;
|
||||
|
||||
private System.Nullable<decimal> _RealAmount;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -330831,6 +331506,8 @@ namespace Model
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnStateChanging(string value);
|
||||
partial void OnStateChanged();
|
||||
partial void OnRealAmountChanging(System.Nullable<decimal> value);
|
||||
partial void OnRealAmountChanged();
|
||||
#endregion
|
||||
|
||||
public SafeEnvBudget()
|
||||
@@ -331118,6 +331795,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealAmount", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> RealAmount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RealAmount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RealAmount != value))
|
||||
{
|
||||
this.OnRealAmountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RealAmount = value;
|
||||
this.SendPropertyChanged("RealAmount");
|
||||
this.OnRealAmountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
Reference in New Issue
Block a user