fix:项目亮点

This commit is contained in:
geh
2025-12-25 18:53:07 +08:00
parent 1cd9b54018
commit 4000a4ef96
18 changed files with 3127 additions and 145 deletions
+698 -144
View File
@@ -191,6 +191,9 @@ namespace Model
partial void InsertBase_Project(Base_Project instance);
partial void UpdateBase_Project(Base_Project instance);
partial void DeleteBase_Project(Base_Project instance);
partial void InsertBase_ProjectHighlightsSiteType(Base_ProjectHighlightsSiteType instance);
partial void UpdateBase_ProjectHighlightsSiteType(Base_ProjectHighlightsSiteType instance);
partial void DeleteBase_ProjectHighlightsSiteType(Base_ProjectHighlightsSiteType instance);
partial void InsertBase_ProjectSate(Base_ProjectSate instance);
partial void UpdateBase_ProjectSate(Base_ProjectSate instance);
partial void DeleteBase_ProjectSate(Base_ProjectSate instance);
@@ -776,6 +779,9 @@ namespace Model
partial void InsertCQMS_Law_ConstructionStandardListProject(CQMS_Law_ConstructionStandardListProject instance);
partial void UpdateCQMS_Law_ConstructionStandardListProject(CQMS_Law_ConstructionStandardListProject instance);
partial void DeleteCQMS_Law_ConstructionStandardListProject(CQMS_Law_ConstructionStandardListProject instance);
partial void InsertCQMS_ProjectHighlightsSitePic(CQMS_ProjectHighlightsSitePic instance);
partial void UpdateCQMS_ProjectHighlightsSitePic(CQMS_ProjectHighlightsSitePic instance);
partial void DeleteCQMS_ProjectHighlightsSitePic(CQMS_ProjectHighlightsSitePic instance);
partial void InsertCQMS_Statement(CQMS_Statement instance);
partial void UpdateCQMS_Statement(CQMS_Statement instance);
partial void DeleteCQMS_Statement(CQMS_Statement instance);
@@ -3445,6 +3451,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_ProjectHighlightsSiteType> Base_ProjectHighlightsSiteType
{
get
{
return this.GetTable<Base_ProjectHighlightsSiteType>();
}
}
public System.Data.Linq.Table<Base_ProjectSate> Base_ProjectSate
{
get
@@ -5005,6 +5019,14 @@ namespace Model
}
}
public System.Data.Linq.Table<CQMS_ProjectHighlightsSitePic> CQMS_ProjectHighlightsSitePic
{
get
{
return this.GetTable<CQMS_ProjectHighlightsSitePic>();
}
}
public System.Data.Linq.Table<CQMS_Statement> CQMS_Statement
{
get
@@ -38116,6 +38138,236 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_ProjectHighlightsSiteType")]
public partial class Base_ProjectHighlightsSiteType : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private int _MainType;
private string _MainTypeName;
private string _SubType;
private string _Remark;
private string _CompileMan;
private string _CompileManName;
private System.Nullable<System.DateTime> _CompileDate;
#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 OnMainTypeChanging(int value);
partial void OnMainTypeChanged();
partial void OnMainTypeNameChanging(string value);
partial void OnMainTypeNameChanged();
partial void OnSubTypeChanging(string value);
partial void OnSubTypeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileManNameChanging(string value);
partial void OnCompileManNameChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
#endregion
public Base_ProjectHighlightsSiteType()
{
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="_MainType", DbType="Int NOT NULL")]
public int MainType
{
get
{
return this._MainType;
}
set
{
if ((this._MainType != value))
{
this.OnMainTypeChanging(value);
this.SendPropertyChanging();
this._MainType = value;
this.SendPropertyChanged("MainType");
this.OnMainTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainTypeName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string MainTypeName
{
get
{
return this._MainTypeName;
}
set
{
if ((this._MainTypeName != value))
{
this.OnMainTypeNameChanging(value);
this.SendPropertyChanging();
this._MainTypeName = value;
this.SendPropertyChanged("MainTypeName");
this.OnMainTypeNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubType", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
public string SubType
{
get
{
return this._SubType;
}
set
{
if ((this._SubType != value))
{
this.OnSubTypeChanging(value);
this.SendPropertyChanging();
this._SubType = value;
this.SendPropertyChanged("SubType");
this.OnSubTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")]
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();
}
}
}
[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)")]
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="_CompileDate", DbType="DateTime")]
public System.Nullable<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();
}
}
}
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_ProjectSate")]
public partial class Base_ProjectSate : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -131660,6 +131912,428 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CQMS_ProjectHighlightsSitePic")]
public partial class CQMS_ProjectHighlightsSitePic : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private string _TypeId;
private int _MainType;
private string _MainTypeName;
private string _SubType;
private string _Remark;
private string _Resume;
private string _PicUrl;
private string _CompileMan;
private string _CompileManName;
private System.Nullable<System.DateTime> _CompileDate;
private bool _IsReport;
private System.Nullable<System.DateTime> _ReportDate;
private string _ReportMan;
private string _ReportManName;
#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 OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnTypeIdChanging(string value);
partial void OnTypeIdChanged();
partial void OnMainTypeChanging(int value);
partial void OnMainTypeChanged();
partial void OnMainTypeNameChanging(string value);
partial void OnMainTypeNameChanged();
partial void OnSubTypeChanging(string value);
partial void OnSubTypeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnResumeChanging(string value);
partial void OnResumeChanged();
partial void OnPicUrlChanging(string value);
partial void OnPicUrlChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileManNameChanging(string value);
partial void OnCompileManNameChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
partial void OnIsReportChanging(bool value);
partial void OnIsReportChanged();
partial void OnReportDateChanging(System.Nullable<System.DateTime> value);
partial void OnReportDateChanged();
partial void OnReportManChanging(string value);
partial void OnReportManChanged();
partial void OnReportManNameChanging(string value);
partial void OnReportManNameChanged();
#endregion
public CQMS_ProjectHighlightsSitePic()
{
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="_ProjectId", DbType="NVarChar(50) 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="_TypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string TypeId
{
get
{
return this._TypeId;
}
set
{
if ((this._TypeId != value))
{
this.OnTypeIdChanging(value);
this.SendPropertyChanging();
this._TypeId = value;
this.SendPropertyChanged("TypeId");
this.OnTypeIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainType", DbType="Int NOT NULL")]
public int MainType
{
get
{
return this._MainType;
}
set
{
if ((this._MainType != value))
{
this.OnMainTypeChanging(value);
this.SendPropertyChanging();
this._MainType = value;
this.SendPropertyChanged("MainType");
this.OnMainTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainTypeName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string MainTypeName
{
get
{
return this._MainTypeName;
}
set
{
if ((this._MainTypeName != value))
{
this.OnMainTypeNameChanging(value);
this.SendPropertyChanging();
this._MainTypeName = value;
this.SendPropertyChanged("MainTypeName");
this.OnMainTypeNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubType", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
public string SubType
{
get
{
return this._SubType;
}
set
{
if ((this._SubType != value))
{
this.OnSubTypeChanging(value);
this.SendPropertyChanging();
this._SubType = value;
this.SendPropertyChanged("SubType");
this.OnSubTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")]
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();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Resume", DbType="NVarChar(500)")]
public string Resume
{
get
{
return this._Resume;
}
set
{
if ((this._Resume != value))
{
this.OnResumeChanging(value);
this.SendPropertyChanging();
this._Resume = value;
this.SendPropertyChanged("Resume");
this.OnResumeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PicUrl", DbType="NVarChar(500)")]
public string PicUrl
{
get
{
return this._PicUrl;
}
set
{
if ((this._PicUrl != value))
{
this.OnPicUrlChanging(value);
this.SendPropertyChanging();
this._PicUrl = value;
this.SendPropertyChanged("PicUrl");
this.OnPicUrlChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
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)")]
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="_CompileDate", DbType="DateTime")]
public System.Nullable<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="_IsReport", DbType="Bit NOT NULL")]
public bool IsReport
{
get
{
return this._IsReport;
}
set
{
if ((this._IsReport != value))
{
this.OnIsReportChanging(value);
this.SendPropertyChanging();
this._IsReport = value;
this.SendPropertyChanged("IsReport");
this.OnIsReportChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime")]
public System.Nullable<System.DateTime> ReportDate
{
get
{
return this._ReportDate;
}
set
{
if ((this._ReportDate != value))
{
this.OnReportDateChanging(value);
this.SendPropertyChanging();
this._ReportDate = value;
this.SendPropertyChanged("ReportDate");
this.OnReportDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportMan", DbType="NVarChar(50)")]
public string ReportMan
{
get
{
return this._ReportMan;
}
set
{
if ((this._ReportMan != value))
{
this.OnReportManChanging(value);
this.SendPropertyChanging();
this._ReportMan = value;
this.SendPropertyChanged("ReportMan");
this.OnReportManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportManName", DbType="NVarChar(50)")]
public string ReportManName
{
get
{
return this._ReportManName;
}
set
{
if ((this._ReportManName != value))
{
this.OnReportManNameChanging(value);
this.SendPropertyChanging();
this._ReportManName = value;
this.SendPropertyChanged("ReportManName");
this.OnReportManNameChanged();
}
}
}
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.CQMS_Statement")]
public partial class CQMS_Statement : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -206109,8 +206783,6 @@ namespace Model
private EntityRef<Base_Unit> _Base_Unit;
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -206210,7 +206882,6 @@ namespace Model
public HSSE_Hazard_HazardRegister()
{
this._Base_Unit = default(EntityRef<Base_Unit>);
this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef<HSSE_Hazard_HazardRegisterTypes>);
OnCreated();
}
@@ -206729,10 +207400,6 @@ namespace Model
{
if ((this._RegisterTypesId != value))
{
if (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnRegisterTypesIdChanging(value);
this.SendPropertyChanging();
this._RegisterTypesId = value;
@@ -207156,40 +207823,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_HSSE_Hazard_HazardRegisterTypes", Storage="_HSSE_Hazard_HazardRegisterTypes", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", IsForeignKey=true)]
public HSSE_Hazard_HazardRegisterTypes HSSE_Hazard_HazardRegisterTypes
{
get
{
return this._HSSE_Hazard_HazardRegisterTypes.Entity;
}
set
{
HSSE_Hazard_HazardRegisterTypes previousValue = this._HSSE_Hazard_HazardRegisterTypes.Entity;
if (((previousValue != value)
|| (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._HSSE_Hazard_HazardRegisterTypes.Entity = null;
previousValue.HSSE_Hazard_HazardRegister.Remove(this);
}
this._HSSE_Hazard_HazardRegisterTypes.Entity = value;
if ((value != null))
{
value.HSSE_Hazard_HazardRegister.Add(this);
this._RegisterTypesId = value.RegisterTypesId;
}
else
{
this._RegisterTypesId = default(string);
}
this.SendPropertyChanged("HSSE_Hazard_HazardRegisterTypes");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -207307,8 +207940,6 @@ namespace Model
private EntityRef<Base_Unit> _Base_Unit;
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -207406,7 +208037,6 @@ namespace Model
public HSSE_Hazard_HazardRegister_Unit()
{
this._Base_Unit = default(EntityRef<Base_Unit>);
this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef<HSSE_Hazard_HazardRegisterTypes>);
OnCreated();
}
@@ -207854,7 +208484,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(2000)")]
public string HandleIdea
{
get
@@ -207925,10 +208555,6 @@ namespace Model
{
if ((this._RegisterTypesId != value))
{
if (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnRegisterTypesIdChanging(value);
this.SendPropertyChanging();
this._RegisterTypesId = value;
@@ -208238,7 +208864,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(400)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(2000)")]
public string Requirements
{
get
@@ -208332,40 +208958,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Unit_HSSE_Hazard_HazardRegister_UnitTypes", Storage="_HSSE_Hazard_HazardRegisterTypes", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", IsForeignKey=true)]
public HSSE_Hazard_HazardRegisterTypes HSSE_Hazard_HazardRegisterTypes
{
get
{
return this._HSSE_Hazard_HazardRegisterTypes.Entity;
}
set
{
HSSE_Hazard_HazardRegisterTypes previousValue = this._HSSE_Hazard_HazardRegisterTypes.Entity;
if (((previousValue != value)
|| (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._HSSE_Hazard_HazardRegisterTypes.Entity = null;
previousValue.HSSE_Hazard_HazardRegister_Unit.Remove(this);
}
this._HSSE_Hazard_HazardRegisterTypes.Entity = value;
if ((value != null))
{
value.HSSE_Hazard_HazardRegister_Unit.Add(this);
this._RegisterTypesId = value.RegisterTypesId;
}
else
{
this._RegisterTypesId = default(string);
}
this.SendPropertyChanged("HSSE_Hazard_HazardRegisterTypes");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -208407,10 +208999,6 @@ namespace Model
private System.Nullable<bool> _IsPunished;
private EntitySet<HSSE_Hazard_HazardRegister> _HSSE_Hazard_HazardRegister;
private EntitySet<HSSE_Hazard_HazardRegister_Unit> _HSSE_Hazard_HazardRegister_Unit;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -208433,8 +209021,6 @@ namespace Model
public HSSE_Hazard_HazardRegisterTypes()
{
this._HSSE_Hazard_HazardRegister = new EntitySet<HSSE_Hazard_HazardRegister>(new Action<HSSE_Hazard_HazardRegister>(this.attach_HSSE_Hazard_HazardRegister), new Action<HSSE_Hazard_HazardRegister>(this.detach_HSSE_Hazard_HazardRegister));
this._HSSE_Hazard_HazardRegister_Unit = new EntitySet<HSSE_Hazard_HazardRegister_Unit>(new Action<HSSE_Hazard_HazardRegister_Unit>(this.attach_HSSE_Hazard_HazardRegister_Unit), new Action<HSSE_Hazard_HazardRegister_Unit>(this.detach_HSSE_Hazard_HazardRegister_Unit));
OnCreated();
}
@@ -208578,32 +209164,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_HSSE_Hazard_HazardRegisterTypes", Storage="_HSSE_Hazard_HazardRegister", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", DeleteRule="NO ACTION")]
public EntitySet<HSSE_Hazard_HazardRegister> HSSE_Hazard_HazardRegister
{
get
{
return this._HSSE_Hazard_HazardRegister;
}
set
{
this._HSSE_Hazard_HazardRegister.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Unit_HSSE_Hazard_HazardRegister_UnitTypes", Storage="_HSSE_Hazard_HazardRegister_Unit", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", DeleteRule="NO ACTION")]
public EntitySet<HSSE_Hazard_HazardRegister_Unit> HSSE_Hazard_HazardRegister_Unit
{
get
{
return this._HSSE_Hazard_HazardRegister_Unit;
}
set
{
this._HSSE_Hazard_HazardRegister_Unit.Assign(value);
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -208623,30 +209183,6 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
private void attach_HSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister entity)
{
this.SendPropertyChanging();
entity.HSSE_Hazard_HazardRegisterTypes = this;
}
private void detach_HSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister entity)
{
this.SendPropertyChanging();
entity.HSSE_Hazard_HazardRegisterTypes = null;
}
private void attach_HSSE_Hazard_HazardRegister_Unit(HSSE_Hazard_HazardRegister_Unit entity)
{
this.SendPropertyChanging();
entity.HSSE_Hazard_HazardRegisterTypes = this;
}
private void detach_HSSE_Hazard_HazardRegister_Unit(HSSE_Hazard_HazardRegister_Unit entity)
{
this.SendPropertyChanging();
entity.HSSE_Hazard_HazardRegisterTypes = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_MajorSecurityRisk")]
@@ -473845,7 +474381,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(50)")]
public string RegisterTypesName
{
get
@@ -473966,6 +474502,8 @@ namespace Model
private string _States;
private string _ReviewedManId;
private string _IsEffective;
private string _ResponsibleMan;
@@ -474336,6 +474874,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewedManId", DbType="NVarChar(2000)")]
public string ReviewedManId
{
get
{
return this._ReviewedManId;
}
set
{
if ((this._ReviewedManId != value))
{
this._ReviewedManId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEffective", DbType="Char(1)")]
public string IsEffective
{
@@ -474496,7 +475050,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(2000)")]
public string HandleIdea
{
get
@@ -474880,7 +475434,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(50)")]
public string RegisterTypesName
{
get
@@ -474944,7 +475498,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(400)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(2000)")]
public string Requirements
{
get