From 8c5c602487d18770fa738c4b213f11382ea81644 Mon Sep 17 00:00:00 2001 From: geh <1923421292@qq.com> Date: Tue, 2 Sep 2025 10:31:48 +0800 Subject: [PATCH] 1 --- SUBQHSE/Model/Model.cs | 186 ----------------------------------------- 1 file changed, 186 deletions(-) diff --git a/SUBQHSE/Model/Model.cs b/SUBQHSE/Model/Model.cs index ded0937..cdb38d4 100644 --- a/SUBQHSE/Model/Model.cs +++ b/SUBQHSE/Model/Model.cs @@ -155622,8 +155622,6 @@ namespace Model private System.Nullable _Year; - private System.Nullable _Quarters; - private string _FillingMan; private System.Nullable _FillingDate; @@ -155648,8 +155646,6 @@ namespace Model partial void OnUnitIdChanged(); partial void OnYearChanging(System.Nullable value); partial void OnYearChanged(); - partial void OnQuartersChanging(System.Nullable value); - partial void OnQuartersChanged(); partial void OnFillingManChanging(string value); partial void OnFillingManChanged(); partial void OnFillingDateChanging(System.Nullable value); @@ -155733,26 +155729,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quarters", DbType="Int")] - public System.Nullable Quarters - { - get - { - return this._Quarters; - } - set - { - if ((this._Quarters != value)) - { - this.OnQuartersChanging(value); - this.SendPropertyChanging(); - this._Quarters = value; - this.SendPropertyChanged("Quarters"); - this.OnQuartersChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FillingMan", DbType="NVarChar(50)")] public string FillingMan { @@ -160232,8 +160208,6 @@ namespace Model private System.Nullable _Year; - private System.Nullable _Quarters; - private string _FillingMan; private System.Nullable _FillingDate; @@ -160258,8 +160232,6 @@ namespace Model partial void OnProjectIdChanged(); partial void OnYearChanging(System.Nullable value); partial void OnYearChanged(); - partial void OnQuartersChanging(System.Nullable value); - partial void OnQuartersChanged(); partial void OnFillingManChanging(string value); partial void OnFillingManChanged(); partial void OnFillingDateChanging(System.Nullable value); @@ -160343,26 +160315,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quarters", DbType="Int")] - public System.Nullable Quarters - { - get - { - return this._Quarters; - } - set - { - if ((this._Quarters != value)) - { - this.OnQuartersChanging(value); - this.SendPropertyChanging(); - this._Quarters = value; - this.SendPropertyChanged("Quarters"); - this.OnQuartersChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FillingMan", DbType="NVarChar(50)")] public string FillingMan { @@ -201270,8 +201222,6 @@ namespace Model private EntityRef _Base_Unit; - private EntityRef _HSSE_Hazard_HazardRegisterTypes; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -201371,7 +201321,6 @@ namespace Model public HSSE_Hazard_HazardRegister() { this._Base_Unit = default(EntityRef); - this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef); OnCreated(); } @@ -201890,10 +201839,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; @@ -202317,40 +202262,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; @@ -202466,8 +202377,6 @@ namespace Model private EntityRef _Base_Unit; - private EntityRef _HSSE_Hazard_HazardRegisterTypes; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -202563,7 +202472,6 @@ namespace Model public HSSE_Hazard_HazardRegister_Unit() { this._Base_Unit = default(EntityRef); - this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef); OnCreated(); } @@ -203082,10 +202990,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; @@ -203469,40 +203373,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; @@ -203544,10 +203414,6 @@ namespace Model private System.Nullable _IsPunished; - private EntitySet _HSSE_Hazard_HazardRegister; - - private EntitySet _HSSE_Hazard_HazardRegister_Unit; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -203570,8 +203436,6 @@ namespace Model public HSSE_Hazard_HazardRegisterTypes() { - this._HSSE_Hazard_HazardRegister = new EntitySet(new Action(this.attach_HSSE_Hazard_HazardRegister), new Action(this.detach_HSSE_Hazard_HazardRegister)); - this._HSSE_Hazard_HazardRegister_Unit = new EntitySet(new Action(this.attach_HSSE_Hazard_HazardRegister_Unit), new Action(this.detach_HSSE_Hazard_HazardRegister_Unit)); OnCreated(); } @@ -203715,32 +203579,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 - { - 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 - { - get - { - return this._HSSE_Hazard_HazardRegister_Unit; - } - set - { - this._HSSE_Hazard_HazardRegister_Unit.Assign(value); - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -203760,30 +203598,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")]