修改质量综合管理导入及页面显示
This commit is contained in:
+3
-72
@@ -17743,7 +17743,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_DesignProfessional_Base_CNProfessional", Storage="_Base_DesignProfessional", ThisKey="CNProfessionalId", OtherKey="ToCN", DeleteRule="NO ACTION")]
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_DesignProfessional_Base_DesignProfessional", Storage="_Base_DesignProfessional", ThisKey="CNProfessionalId", OtherKey="ToCN", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Base_DesignProfessional> Base_DesignProfessional
|
||||
{
|
||||
get
|
||||
@@ -19273,7 +19273,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_DesignProfessional_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="ToCN", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_DesignProfessional_Base_DesignProfessional", Storage="_Base_CNProfessional", ThisKey="ToCN", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||
public Base_CNProfessional Base_CNProfessional
|
||||
{
|
||||
get
|
||||
@@ -308523,8 +308523,6 @@ namespace Model
|
||||
|
||||
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
|
||||
|
||||
private EntityRef<WBS_WorkPackage> _WBS_WorkPackage;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -308556,7 +308554,6 @@ namespace Model
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._Solution_LargerHazardList = default(EntityRef<Solution_LargerHazardList>);
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
this._WBS_WorkPackage = default(EntityRef<WBS_WorkPackage>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -308659,10 +308656,6 @@ namespace Model
|
||||
{
|
||||
if ((this._WorkPackageId != value))
|
||||
{
|
||||
if (this._WBS_WorkPackage.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnWorkPackageIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPackageId = value;
|
||||
@@ -308878,40 +308871,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Solution_LargerHazardListItem_WBS_WorkPackage", Storage="_WBS_WorkPackage", ThisKey="WorkPackageId", OtherKey="WorkPackageId", IsForeignKey=true)]
|
||||
public WBS_WorkPackage WBS_WorkPackage
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_WorkPackage.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_WorkPackage previousValue = this._WBS_WorkPackage.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_WorkPackage.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_WorkPackage.Entity = null;
|
||||
previousValue.Solution_LargerHazardListItem.Remove(this);
|
||||
}
|
||||
this._WBS_WorkPackage.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Solution_LargerHazardListItem.Add(this);
|
||||
this._WorkPackageId = value.WorkPackageId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._WorkPackageId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_WorkPackage");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -386981,7 +386940,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(500)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
@@ -405992,8 +405951,6 @@ namespace Model
|
||||
|
||||
private System.Nullable<decimal> _Costs;
|
||||
|
||||
private EntitySet<Solution_LargerHazardListItem> _Solution_LargerHazardListItem;
|
||||
|
||||
private EntitySet<WBS_ControlItemAndCycle> _WBS_ControlItemAndCycle;
|
||||
|
||||
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
|
||||
@@ -406040,7 +405997,6 @@ namespace Model
|
||||
|
||||
public WBS_WorkPackage()
|
||||
{
|
||||
this._Solution_LargerHazardListItem = new EntitySet<Solution_LargerHazardListItem>(new Action<Solution_LargerHazardListItem>(this.attach_Solution_LargerHazardListItem), new Action<Solution_LargerHazardListItem>(this.detach_Solution_LargerHazardListItem));
|
||||
this._WBS_ControlItemAndCycle = new EntitySet<WBS_ControlItemAndCycle>(new Action<WBS_ControlItemAndCycle>(this.attach_WBS_ControlItemAndCycle), new Action<WBS_ControlItemAndCycle>(this.detach_WBS_ControlItemAndCycle));
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
OnCreated();
|
||||
@@ -406390,19 +406346,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Solution_LargerHazardListItem_WBS_WorkPackage", Storage="_Solution_LargerHazardListItem", ThisKey="WorkPackageId", OtherKey="WorkPackageId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Solution_LargerHazardListItem> Solution_LargerHazardListItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Solution_LargerHazardListItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Solution_LargerHazardListItem.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_ControlItemAndCycle_WBS_ControlItemAndCycle", Storage="_WBS_ControlItemAndCycle", ThisKey="WorkPackageId", OtherKey="WorkPackageId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_ControlItemAndCycle> WBS_ControlItemAndCycle
|
||||
{
|
||||
@@ -406470,18 +406413,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_Solution_LargerHazardListItem(Solution_LargerHazardListItem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_WorkPackage = this;
|
||||
}
|
||||
|
||||
private void detach_Solution_LargerHazardListItem(Solution_LargerHazardListItem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_WorkPackage = null;
|
||||
}
|
||||
|
||||
private void attach_WBS_ControlItemAndCycle(WBS_ControlItemAndCycle entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user