修改设计交底发起

This commit is contained in:
2023-10-26 09:38:33 +08:00
parent 81d0edb9e7
commit ba08ec9444
8 changed files with 233 additions and 168 deletions
+5 -143
View File
@@ -33137,8 +33137,6 @@ namespace Model
private EntitySet<HJGL_PC_PurgingCleaning> _HJGL_PC_PurgingCleaning;
private EntitySet<HJGL_Pipeline> _HJGL_Pipeline;
private EntitySet<HJGL_RepairRecord> _HJGL_RepairRecord;
private EntitySet<HJGL_HotProess_Trust> _HJGL_HotProess_Trust;
@@ -33297,8 +33295,6 @@ namespace Model
private EntitySet<WBS_UnitWork> _WBS_UnitWork_Base_Unit_SupervisorUnit;
private EntitySet<WBS_UnitWork> _WBS_UnitWork_Base_Unit_Unit;
private EntitySet<ZHGL_ConstructionMonthReportSubCost> _ZHGL_ConstructionMonthReportSubCost;
#region
@@ -33398,7 +33394,6 @@ namespace Model
this._HJGL_LV_LeakVacuum = new EntitySet<HJGL_LV_LeakVacuum>(new Action<HJGL_LV_LeakVacuum>(this.attach_HJGL_LV_LeakVacuum), new Action<HJGL_LV_LeakVacuum>(this.detach_HJGL_LV_LeakVacuum));
this._HJGL_MaterialManage = new EntitySet<HJGL_MaterialManage>(new Action<HJGL_MaterialManage>(this.attach_HJGL_MaterialManage), new Action<HJGL_MaterialManage>(this.detach_HJGL_MaterialManage));
this._HJGL_PC_PurgingCleaning = new EntitySet<HJGL_PC_PurgingCleaning>(new Action<HJGL_PC_PurgingCleaning>(this.attach_HJGL_PC_PurgingCleaning), new Action<HJGL_PC_PurgingCleaning>(this.detach_HJGL_PC_PurgingCleaning));
this._HJGL_Pipeline = new EntitySet<HJGL_Pipeline>(new Action<HJGL_Pipeline>(this.attach_HJGL_Pipeline), new Action<HJGL_Pipeline>(this.detach_HJGL_Pipeline));
this._HJGL_RepairRecord = new EntitySet<HJGL_RepairRecord>(new Action<HJGL_RepairRecord>(this.attach_HJGL_RepairRecord), new Action<HJGL_RepairRecord>(this.detach_HJGL_RepairRecord));
this._HJGL_HotProess_Trust = new EntitySet<HJGL_HotProess_Trust>(new Action<HJGL_HotProess_Trust>(this.attach_HJGL_HotProess_Trust), new Action<HJGL_HotProess_Trust>(this.detach_HJGL_HotProess_Trust));
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));
@@ -33478,7 +33473,6 @@ namespace Model
this._Unqualified_WorkContact = new EntitySet<Unqualified_WorkContact>(new Action<Unqualified_WorkContact>(this.attach_Unqualified_WorkContact), new Action<Unqualified_WorkContact>(this.detach_Unqualified_WorkContact));
this._WBS_UnitWork = new EntitySet<WBS_UnitWork>(new Action<WBS_UnitWork>(this.attach_WBS_UnitWork), new Action<WBS_UnitWork>(this.detach_WBS_UnitWork));
this._WBS_UnitWork_Base_Unit_SupervisorUnit = new EntitySet<WBS_UnitWork>(new Action<WBS_UnitWork>(this.attach_WBS_UnitWork_Base_Unit_SupervisorUnit), new Action<WBS_UnitWork>(this.detach_WBS_UnitWork_Base_Unit_SupervisorUnit));
this._WBS_UnitWork_Base_Unit_Unit = new EntitySet<WBS_UnitWork>(new Action<WBS_UnitWork>(this.attach_WBS_UnitWork_Base_Unit_Unit), new Action<WBS_UnitWork>(this.detach_WBS_UnitWork_Base_Unit_Unit));
this._ZHGL_ConstructionMonthReportSubCost = new EntitySet<ZHGL_ConstructionMonthReportSubCost>(new Action<ZHGL_ConstructionMonthReportSubCost>(this.attach_ZHGL_ConstructionMonthReportSubCost), new Action<ZHGL_ConstructionMonthReportSubCost>(this.detach_ZHGL_ConstructionMonthReportSubCost));
OnCreated();
}
@@ -34496,19 +34490,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Pipeline_Base_Unit", Storage="_HJGL_Pipeline", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_Pipeline> HJGL_Pipeline
{
get
{
return this._HJGL_Pipeline;
}
set
{
this._HJGL_Pipeline.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_RepairRecord_Base_Unit", Storage="_HJGL_RepairRecord", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_RepairRecord> HJGL_RepairRecord
{
@@ -35536,19 +35517,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_UnitWork_Base_Unit_Unit", Storage="_WBS_UnitWork_Base_Unit_Unit", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
public EntitySet<WBS_UnitWork> WBS_UnitWork_Base_Unit_Unit
{
get
{
return this._WBS_UnitWork_Base_Unit_Unit;
}
set
{
this._WBS_UnitWork_Base_Unit_Unit.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_ConstructionMonthReportSubCost_Base_Unit", Storage="_ZHGL_ConstructionMonthReportSubCost", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
public EntitySet<ZHGL_ConstructionMonthReportSubCost> ZHGL_ConstructionMonthReportSubCost
{
@@ -36074,18 +36042,6 @@ namespace Model
entity.Base_Unit = null;
}
private void attach_HJGL_Pipeline(HJGL_Pipeline entity)
{
this.SendPropertyChanging();
entity.Base_Unit = this;
}
private void detach_HJGL_Pipeline(HJGL_Pipeline entity)
{
this.SendPropertyChanging();
entity.Base_Unit = null;
}
private void attach_HJGL_RepairRecord(HJGL_RepairRecord entity)
{
this.SendPropertyChanging();
@@ -37034,18 +36990,6 @@ namespace Model
entity.SupervisorUnit = null;
}
private void attach_WBS_UnitWork_Base_Unit_Unit(WBS_UnitWork entity)
{
this.SendPropertyChanging();
entity.Unit = this;
}
private void detach_WBS_UnitWork_Base_Unit_Unit(WBS_UnitWork entity)
{
this.SendPropertyChanging();
entity.Unit = null;
}
private void attach_ZHGL_ConstructionMonthReportSubCost(ZHGL_ConstructionMonthReportSubCost entity)
{
this.SendPropertyChanging();
@@ -93296,8 +93240,6 @@ namespace Model
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
private EntitySet<HJGL_Pipeline_Component> _HJGL_Pipeline_Component;
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
@@ -93396,7 +93338,6 @@ namespace Model
this._Base_PipingClass = default(EntityRef<Base_PipingClass>);
this._Base_PressurePipingClass = default(EntityRef<Base_PressurePipingClass>);
this._Base_Project = default(EntityRef<Base_Project>);
this._Base_Unit = default(EntityRef<Base_Unit>);
this._HJGL_Pipeline_Component = new EntitySet<HJGL_Pipeline_Component>(new Action<HJGL_Pipeline_Component>(this.attach_HJGL_Pipeline_Component), new Action<HJGL_Pipeline_Component>(this.detach_HJGL_Pipeline_Component));
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
this._HJGL_PipeLineMat = new EntitySet<HJGL_PipeLineMat>(new Action<HJGL_PipeLineMat>(this.attach_HJGL_PipeLineMat), new Action<HJGL_PipeLineMat>(this.detach_HJGL_PipeLineMat));
@@ -93495,7 +93436,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(300)")]
public string UnitId
{
get
@@ -93506,10 +93447,6 @@ namespace Model
{
if ((this._UnitId != value))
{
if (this._Base_Unit.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
@@ -94380,40 +94317,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Pipeline_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)]
public Base_Unit Base_Unit
{
get
{
return this._Base_Unit.Entity;
}
set
{
Base_Unit previousValue = this._Base_Unit.Entity;
if (((previousValue != value)
|| (this._Base_Unit.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Unit.Entity = null;
previousValue.HJGL_Pipeline.Remove(this);
}
this._Base_Unit.Entity = value;
if ((value != null))
{
value.HJGL_Pipeline.Add(this);
this._UnitId = value.UnitId;
}
else
{
this._UnitId = default(string);
}
this.SendPropertyChanged("Base_Unit");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Pipeline_Component_HJGL_Pipeline", Storage="_HJGL_Pipeline_Component", ThisKey="PipelineId", OtherKey="PipelineId", DeleteRule="NO ACTION")]
public EntitySet<HJGL_Pipeline_Component> HJGL_Pipeline_Component
{
@@ -271716,7 +271619,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(300)")]
public string UnitId
{
get
@@ -273246,7 +273149,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(300)")]
public string UnitId
{
get
@@ -275011,7 +274914,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(300)")]
public string UnitId
{
get
@@ -297084,8 +296987,6 @@ namespace Model
private EntityRef<Base_Unit> _SupervisorUnit;
private EntityRef<Base_Unit> _Unit;
private EntitySet<WBS_WorkPackage> _WBS_WorkPackage;
#region
@@ -297162,7 +297063,6 @@ namespace Model
this._Solution_LargerHazardListItem = new EntitySet<Solution_LargerHazardListItem>(new Action<Solution_LargerHazardListItem>(this.attach_Solution_LargerHazardListItem), new Action<Solution_LargerHazardListItem>(this.detach_Solution_LargerHazardListItem));
this._Base_Unit = default(EntityRef<Base_Unit>);
this._SupervisorUnit = default(EntityRef<Base_Unit>);
this._Unit = default(EntityRef<Base_Unit>);
this._WBS_WorkPackage = new EntitySet<WBS_WorkPackage>(new Action<WBS_WorkPackage>(this.attach_WBS_WorkPackage), new Action<WBS_WorkPackage>(this.detach_WBS_WorkPackage));
OnCreated();
}
@@ -297247,7 +297147,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(300)")]
public string UnitId
{
get
@@ -297258,10 +297158,6 @@ namespace Model
{
if ((this._UnitId != value))
{
if (this._Unit.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
@@ -297947,40 +297843,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_UnitWork_Base_Unit_Unit", Storage="_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)]
public Base_Unit Unit
{
get
{
return this._Unit.Entity;
}
set
{
Base_Unit previousValue = this._Unit.Entity;
if (((previousValue != value)
|| (this._Unit.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Unit.Entity = null;
previousValue.WBS_UnitWork_Base_Unit_Unit.Remove(this);
}
this._Unit.Entity = value;
if ((value != null))
{
value.WBS_UnitWork_Base_Unit_Unit.Add(this);
this._UnitId = value.UnitId;
}
else
{
this._UnitId = default(string);
}
this.SendPropertyChanged("Unit");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_WorkPackage_WBS_UnitWork", Storage="_WBS_WorkPackage", ThisKey="UnitWorkId", OtherKey="UnitWorkId", DeleteRule="NO ACTION")]
public EntitySet<WBS_WorkPackage> WBS_WorkPackage
{