修改特种设备菜单,和人员资质互通
This commit is contained in:
+24
-69
@@ -61968,8 +61968,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Technique_CheckItemSet> _Technique_CheckItemSet;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -62021,7 +62019,6 @@ namespace Model
|
||||
public Check_CheckSpecial()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Technique_CheckItemSet = default(EntityRef<Technique_CheckItemSet>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -62340,10 +62337,6 @@ namespace Model
|
||||
{
|
||||
if ((this._CheckItemSetId != value))
|
||||
{
|
||||
if (this._Technique_CheckItemSet.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnCheckItemSetIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CheckItemSetId = value;
|
||||
@@ -62487,40 +62480,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecial_Technique_CheckItemSet", Storage="_Technique_CheckItemSet", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", IsForeignKey=true)]
|
||||
public Technique_CheckItemSet Technique_CheckItemSet
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Technique_CheckItemSet.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Technique_CheckItemSet previousValue = this._Technique_CheckItemSet.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Technique_CheckItemSet.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Technique_CheckItemSet.Entity = null;
|
||||
previousValue.Check_CheckSpecial.Remove(this);
|
||||
}
|
||||
this._Technique_CheckItemSet.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Check_CheckSpecial.Add(this);
|
||||
this._CheckItemSetId = value.CheckItemSetId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CheckItemSetId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Technique_CheckItemSet");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -312343,6 +312302,8 @@ namespace Model
|
||||
|
||||
private string _States;
|
||||
|
||||
private string _CertificateId;
|
||||
|
||||
private EntityRef<SitePerson_Person> _SitePerson_Person;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -312387,6 +312348,8 @@ namespace Model
|
||||
partial void OnAuditOpinionChanged();
|
||||
partial void OnStatesChanging(string value);
|
||||
partial void OnStatesChanged();
|
||||
partial void OnCertificateIdChanging(string value);
|
||||
partial void OnCertificateIdChanged();
|
||||
#endregion
|
||||
|
||||
public QualityAudit_SafePersonQuality()
|
||||
@@ -312749,6 +312712,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateId", DbType="NVarChar(50)")]
|
||||
public string CertificateId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CertificateId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CertificateId != value))
|
||||
{
|
||||
this.OnCertificateIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CertificateId = value;
|
||||
this.SendPropertyChanged("CertificateId");
|
||||
this.OnCertificateIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_QualityAudit_SafePersonQuality_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)]
|
||||
public SitePerson_Person SitePerson_Person
|
||||
{
|
||||
@@ -370337,8 +370320,6 @@ namespace Model
|
||||
|
||||
private System.Nullable<bool> _IsBuiltIn;
|
||||
|
||||
private EntitySet<Check_CheckSpecial> _Check_CheckSpecial;
|
||||
|
||||
private EntitySet<Technique_CheckItemDetail> _Technique_CheckItemDetail;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -370365,7 +370346,6 @@ namespace Model
|
||||
|
||||
public Technique_CheckItemSet()
|
||||
{
|
||||
this._Check_CheckSpecial = new EntitySet<Check_CheckSpecial>(new Action<Check_CheckSpecial>(this.attach_Check_CheckSpecial), new Action<Check_CheckSpecial>(this.detach_Check_CheckSpecial));
|
||||
this._Technique_CheckItemDetail = new EntitySet<Technique_CheckItemDetail>(new Action<Technique_CheckItemDetail>(this.attach_Technique_CheckItemDetail), new Action<Technique_CheckItemDetail>(this.detach_Technique_CheckItemDetail));
|
||||
OnCreated();
|
||||
}
|
||||
@@ -370530,19 +370510,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecial_Technique_CheckItemSet", Storage="_Check_CheckSpecial", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Check_CheckSpecial> Check_CheckSpecial
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Check_CheckSpecial;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Check_CheckSpecial.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Technique_CheckItemDetail_Technique_CheckItemSet", Storage="_Technique_CheckItemDetail", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Technique_CheckItemDetail> Technique_CheckItemDetail
|
||||
{
|
||||
@@ -370576,18 +370543,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_Check_CheckSpecial(Check_CheckSpecial entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Technique_CheckItemSet = this;
|
||||
}
|
||||
|
||||
private void detach_Check_CheckSpecial(Check_CheckSpecial entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Technique_CheckItemSet = null;
|
||||
}
|
||||
|
||||
private void attach_Technique_CheckItemDetail(Technique_CheckItemDetail entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user