集团查看数据
This commit is contained in:
@@ -191,6 +191,9 @@ namespace Model
|
||||
partial void InsertBase_QuestionType(Base_QuestionType instance);
|
||||
partial void UpdateBase_QuestionType(Base_QuestionType instance);
|
||||
partial void DeleteBase_QuestionType(Base_QuestionType instance);
|
||||
partial void InsertBase_RiskLevel(Base_RiskLevel instance);
|
||||
partial void UpdateBase_RiskLevel(Base_RiskLevel instance);
|
||||
partial void DeleteBase_RiskLevel(Base_RiskLevel instance);
|
||||
partial void InsertBase_RulesRegulationsType(Base_RulesRegulationsType instance);
|
||||
partial void UpdateBase_RulesRegulationsType(Base_RulesRegulationsType instance);
|
||||
partial void DeleteBase_RulesRegulationsType(Base_RulesRegulationsType instance);
|
||||
@@ -2626,6 +2629,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Base_RiskLevel> Base_RiskLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Base_RiskLevel>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Base_RulesRegulationsType> Base_RulesRegulationsType
|
||||
{
|
||||
get
|
||||
@@ -32657,6 +32668,236 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_RiskLevel")]
|
||||
public partial class Base_RiskLevel : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _RiskLevelId;
|
||||
|
||||
private System.Nullable<int> _RiskLevel;
|
||||
|
||||
private string _RiskLevelName;
|
||||
|
||||
private System.Nullable<int> _MinValue;
|
||||
|
||||
private System.Nullable<int> _MaxValue;
|
||||
|
||||
private string _ControlMeasures;
|
||||
|
||||
private System.Nullable<int> _Days;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnRiskLevelIdChanging(string value);
|
||||
partial void OnRiskLevelIdChanged();
|
||||
partial void OnRiskLevelChanging(System.Nullable<int> value);
|
||||
partial void OnRiskLevelChanged();
|
||||
partial void OnRiskLevelNameChanging(string value);
|
||||
partial void OnRiskLevelNameChanged();
|
||||
partial void OnMinValueChanging(System.Nullable<int> value);
|
||||
partial void OnMinValueChanged();
|
||||
partial void OnMaxValueChanging(System.Nullable<int> value);
|
||||
partial void OnMaxValueChanged();
|
||||
partial void OnControlMeasuresChanging(string value);
|
||||
partial void OnControlMeasuresChanged();
|
||||
partial void OnDaysChanging(System.Nullable<int> value);
|
||||
partial void OnDaysChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
#endregion
|
||||
|
||||
public Base_RiskLevel()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RiskLevelId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string RiskLevelId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RiskLevelId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RiskLevelId != value))
|
||||
{
|
||||
this.OnRiskLevelIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RiskLevelId = value;
|
||||
this.SendPropertyChanged("RiskLevelId");
|
||||
this.OnRiskLevelIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RiskLevel", DbType="Int")]
|
||||
public System.Nullable<int> 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="_RiskLevelName", DbType="NVarChar(50)")]
|
||||
public string RiskLevelName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RiskLevelName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RiskLevelName != value))
|
||||
{
|
||||
this.OnRiskLevelNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RiskLevelName = value;
|
||||
this.SendPropertyChanged("RiskLevelName");
|
||||
this.OnRiskLevelNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinValue", DbType="Int")]
|
||||
public System.Nullable<int> MinValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MinValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MinValue != value))
|
||||
{
|
||||
this.OnMinValueChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MinValue = value;
|
||||
this.SendPropertyChanged("MinValue");
|
||||
this.OnMinValueChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxValue", DbType="Int")]
|
||||
public System.Nullable<int> MaxValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaxValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaxValue != value))
|
||||
{
|
||||
this.OnMaxValueChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaxValue = value;
|
||||
this.SendPropertyChanged("MaxValue");
|
||||
this.OnMaxValueChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlMeasures", DbType="NVarChar(500)")]
|
||||
public string ControlMeasures
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ControlMeasures;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ControlMeasures != value))
|
||||
{
|
||||
this.OnControlMeasuresChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ControlMeasures = value;
|
||||
this.SendPropertyChanged("ControlMeasures");
|
||||
this.OnControlMeasuresChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Days", DbType="Int")]
|
||||
public System.Nullable<int> Days
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Days;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Days != value))
|
||||
{
|
||||
this.OnDaysChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Days = value;
|
||||
this.SendPropertyChanged("Days");
|
||||
this.OnDaysChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")]
|
||||
public string Remark
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Remark;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Remark != value))
|
||||
{
|
||||
this.OnRemarkChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Remark = value;
|
||||
this.SendPropertyChanged("Remark");
|
||||
this.OnRemarkChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Base_RulesRegulationsType")]
|
||||
public partial class Base_RulesRegulationsType : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -81867,6 +82108,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private System.Nullable<int> _JoinPersonNum;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -81897,6 +82140,8 @@ namespace Model
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnJoinPersonNumChanging(System.Nullable<int> value);
|
||||
partial void OnJoinPersonNumChanged();
|
||||
#endregion
|
||||
|
||||
public Comprehensive_DesignDetails()
|
||||
@@ -82134,6 +82379,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JoinPersonNum", DbType="Int")]
|
||||
public System.Nullable<int> JoinPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JoinPersonNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JoinPersonNum != value))
|
||||
{
|
||||
this.OnJoinPersonNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._JoinPersonNum = value;
|
||||
this.SendPropertyChanged("JoinPersonNum");
|
||||
this.OnJoinPersonNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDetails_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -84158,6 +84423,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _UnitsCount;
|
||||
|
||||
private System.Nullable<bool> _IsCheckOK;
|
||||
|
||||
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
@@ -84204,6 +84471,8 @@ namespace Model
|
||||
partial void OnLeaveDateChanged();
|
||||
partial void OnUnitsCountChanging(System.Nullable<int> value);
|
||||
partial void OnUnitsCountChanged();
|
||||
partial void OnIsCheckOKChanging(System.Nullable<bool> value);
|
||||
partial void OnIsCheckOKChanged();
|
||||
#endregion
|
||||
|
||||
public Comprehensive_InspectionMachine()
|
||||
@@ -84586,6 +84855,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCheckOK", DbType="Bit")]
|
||||
public System.Nullable<bool> IsCheckOK
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsCheckOK;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsCheckOK != value))
|
||||
{
|
||||
this.OnIsCheckOKChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsCheckOK = value;
|
||||
this.SendPropertyChanged("IsCheckOK");
|
||||
this.OnIsCheckOKChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_InspectionMachine_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||
public Base_CNProfessional Base_CNProfessional
|
||||
{
|
||||
@@ -84751,6 +85040,8 @@ namespace Model
|
||||
|
||||
private string _UnitWorkId;
|
||||
|
||||
private System.Nullable<bool> _IsTrain;
|
||||
|
||||
private EntityRef<Base_Post> _Base_Post;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
@@ -84805,6 +85096,8 @@ namespace Model
|
||||
partial void OnIsOnSiteChanged();
|
||||
partial void OnUnitWorkIdChanging(string value);
|
||||
partial void OnUnitWorkIdChanged();
|
||||
partial void OnIsTrainChanging(System.Nullable<bool> value);
|
||||
partial void OnIsTrainChanged();
|
||||
#endregion
|
||||
|
||||
public Comprehensive_InspectionPerson()
|
||||
@@ -85195,6 +85488,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsTrain", DbType="Bit")]
|
||||
public System.Nullable<bool> IsTrain
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsTrain;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsTrain != value))
|
||||
{
|
||||
this.OnIsTrainChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsTrain = value;
|
||||
this.SendPropertyChanged("IsTrain");
|
||||
this.OnIsTrainChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_InspectionPerson_Base_Post", Storage="_Base_Post", ThisKey="PostId", OtherKey="PostId", IsForeignKey=true)]
|
||||
public Base_Post Base_Post
|
||||
{
|
||||
@@ -127430,6 +127743,10 @@ namespace Model
|
||||
|
||||
private string _WorkStage;
|
||||
|
||||
private System.Nullable<bool> _IsStart;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -127470,6 +127787,10 @@ namespace Model
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnWorkStageChanging(string value);
|
||||
partial void OnWorkStageChanged();
|
||||
partial void OnIsStartChanging(System.Nullable<bool> value);
|
||||
partial void OnIsStartChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
#endregion
|
||||
|
||||
public Hazard_HazardSelectedItem()
|
||||
@@ -127837,6 +128158,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsStart", DbType="Bit")]
|
||||
public System.Nullable<bool> IsStart
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsStart;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsStart != value))
|
||||
{
|
||||
this.OnIsStartChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsStart = value;
|
||||
this.SendPropertyChanged("IsStart");
|
||||
this.OnIsStartChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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;
|
||||
@@ -280205,6 +280566,10 @@ namespace Model
|
||||
|
||||
private string _Descriptions;
|
||||
|
||||
private System.Nullable<int> _TrainPersonNum;
|
||||
|
||||
private System.Nullable<bool> _IsSuperLargerHazard;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -280237,6 +280602,10 @@ namespace Model
|
||||
partial void OnStatesChanged();
|
||||
partial void OnDescriptionsChanging(string value);
|
||||
partial void OnDescriptionsChanged();
|
||||
partial void OnTrainPersonNumChanging(System.Nullable<int> value);
|
||||
partial void OnTrainPersonNumChanged();
|
||||
partial void OnIsSuperLargerHazardChanging(System.Nullable<bool> value);
|
||||
partial void OnIsSuperLargerHazardChanged();
|
||||
#endregion
|
||||
|
||||
public Solution_LargerHazard()
|
||||
@@ -280494,6 +280863,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainPersonNum", DbType="Int")]
|
||||
public System.Nullable<int> TrainPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainPersonNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainPersonNum != value))
|
||||
{
|
||||
this.OnTrainPersonNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainPersonNum = value;
|
||||
this.SendPropertyChanged("TrainPersonNum");
|
||||
this.OnTrainPersonNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSuperLargerHazard", DbType="Bit")]
|
||||
public System.Nullable<bool> IsSuperLargerHazard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsSuperLargerHazard;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsSuperLargerHazard != value))
|
||||
{
|
||||
this.OnIsSuperLargerHazardChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsSuperLargerHazard = value;
|
||||
this.SendPropertyChanged("IsSuperLargerHazard");
|
||||
this.OnIsSuperLargerHazardChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Solution_LargerSolution_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user