This commit is contained in:
2024-10-28 14:20:56 +08:00
parent abb15b53fc
commit 379b8ede4d
5 changed files with 52 additions and 92 deletions
-69
View File
@@ -19101,8 +19101,6 @@ namespace Model
private EntitySet<JDGL_QuantityList> _JDGL_QuantityList;
private EntitySet<ProcessControl_InspectionManagement> _ProcessControl_InspectionManagement;
private EntitySet<WBS_Division> _WBS_Division;
#region
@@ -19137,7 +19135,6 @@ namespace Model
this._DataBase_StartWorkReport = new EntitySet<DataBase_StartWorkReport>(new Action<DataBase_StartWorkReport>(this.attach_DataBase_StartWorkReport), new Action<DataBase_StartWorkReport>(this.detach_DataBase_StartWorkReport));
this._Doc_DocManage = new EntitySet<Doc_DocManage>(new Action<Doc_DocManage>(this.attach_Doc_DocManage), new Action<Doc_DocManage>(this.detach_Doc_DocManage));
this._JDGL_QuantityList = new EntitySet<JDGL_QuantityList>(new Action<JDGL_QuantityList>(this.attach_JDGL_QuantityList), new Action<JDGL_QuantityList>(this.detach_JDGL_QuantityList));
this._ProcessControl_InspectionManagement = new EntitySet<ProcessControl_InspectionManagement>(new Action<ProcessControl_InspectionManagement>(this.attach_ProcessControl_InspectionManagement), new Action<ProcessControl_InspectionManagement>(this.detach_ProcessControl_InspectionManagement));
this._WBS_Division = new EntitySet<WBS_Division>(new Action<WBS_Division>(this.attach_WBS_Division), new Action<WBS_Division>(this.detach_WBS_Division));
OnCreated();
}
@@ -19430,19 +19427,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_InspectionManagement_Base_CNProfessional", Storage="_ProcessControl_InspectionManagement", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
public EntitySet<ProcessControl_InspectionManagement> ProcessControl_InspectionManagement
{
get
{
return this._ProcessControl_InspectionManagement;
}
set
{
this._ProcessControl_InspectionManagement.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_Division_Base_CNProfessional", Storage="_WBS_Division", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
public EntitySet<WBS_Division> WBS_Division
{
@@ -19668,18 +19652,6 @@ namespace Model
entity.Base_CNProfessional = null;
}
private void attach_ProcessControl_InspectionManagement(ProcessControl_InspectionManagement entity)
{
this.SendPropertyChanging();
entity.Base_CNProfessional = this;
}
private void detach_ProcessControl_InspectionManagement(ProcessControl_InspectionManagement entity)
{
this.SendPropertyChanging();
entity.Base_CNProfessional = null;
}
private void attach_WBS_Division(WBS_Division entity)
{
this.SendPropertyChanging();
@@ -286737,8 +286709,6 @@ namespace Model
private string _ChildBranch;
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@@ -286805,7 +286775,6 @@ namespace Model
public ProcessControl_InspectionManagement()
{
this._Base_CNProfessional = default(EntityRef<Base_CNProfessional>);
this._Base_Project = default(EntityRef<Base_Project>);
this._Base_Unit = default(EntityRef<Base_Unit>);
this._Sys_User = default(EntityRef<Sys_User>);
@@ -286893,10 +286862,6 @@ namespace Model
{
if ((this._CNProfessionalId != value))
{
if (this._Base_CNProfessional.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCNProfessionalIdChanging(value);
this.SendPropertyChanging();
this._CNProfessionalId = value;
@@ -287314,40 +287279,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_InspectionManagement_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
public Base_CNProfessional Base_CNProfessional
{
get
{
return this._Base_CNProfessional.Entity;
}
set
{
Base_CNProfessional previousValue = this._Base_CNProfessional.Entity;
if (((previousValue != value)
|| (this._Base_CNProfessional.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_CNProfessional.Entity = null;
previousValue.ProcessControl_InspectionManagement.Remove(this);
}
this._Base_CNProfessional.Entity = value;
if ((value != null))
{
value.ProcessControl_InspectionManagement.Add(this);
this._CNProfessionalId = value.CNProfessionalId;
}
else
{
this._CNProfessionalId = default(string);
}
this.SendPropertyChanged("Base_CNProfessional");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_InspectionManagement_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{