0818-1555
This commit is contained in:
@@ -15662,8 +15662,6 @@ namespace Model
|
||||
|
||||
private EntitySet<Comprehensive_DesignChangeOrder> _Comprehensive_DesignChangeOrder;
|
||||
|
||||
private EntitySet<Comprehensive_DesignDrawings> _Comprehensive_DesignDrawings;
|
||||
|
||||
private EntitySet<Comprehensive_GeneralPlanApproval> _Comprehensive_GeneralPlanApproval;
|
||||
|
||||
private EntitySet<Comprehensive_InspectionEquipment> _Comprehensive_InspectionEquipment;
|
||||
@@ -15704,7 +15702,6 @@ namespace Model
|
||||
this._Base_DesignProfessional = new EntitySet<Base_DesignProfessional>(new Action<Base_DesignProfessional>(this.attach_Base_DesignProfessional), new Action<Base_DesignProfessional>(this.detach_Base_DesignProfessional));
|
||||
this._Comprehensive_DataDistribution = new EntitySet<Comprehensive_DataDistribution>(new Action<Comprehensive_DataDistribution>(this.attach_Comprehensive_DataDistribution), new Action<Comprehensive_DataDistribution>(this.detach_Comprehensive_DataDistribution));
|
||||
this._Comprehensive_DesignChangeOrder = new EntitySet<Comprehensive_DesignChangeOrder>(new Action<Comprehensive_DesignChangeOrder>(this.attach_Comprehensive_DesignChangeOrder), new Action<Comprehensive_DesignChangeOrder>(this.detach_Comprehensive_DesignChangeOrder));
|
||||
this._Comprehensive_DesignDrawings = new EntitySet<Comprehensive_DesignDrawings>(new Action<Comprehensive_DesignDrawings>(this.attach_Comprehensive_DesignDrawings), new Action<Comprehensive_DesignDrawings>(this.detach_Comprehensive_DesignDrawings));
|
||||
this._Comprehensive_GeneralPlanApproval = new EntitySet<Comprehensive_GeneralPlanApproval>(new Action<Comprehensive_GeneralPlanApproval>(this.attach_Comprehensive_GeneralPlanApproval), new Action<Comprehensive_GeneralPlanApproval>(this.detach_Comprehensive_GeneralPlanApproval));
|
||||
this._Comprehensive_InspectionEquipment = new EntitySet<Comprehensive_InspectionEquipment>(new Action<Comprehensive_InspectionEquipment>(this.attach_Comprehensive_InspectionEquipment), new Action<Comprehensive_InspectionEquipment>(this.detach_Comprehensive_InspectionEquipment));
|
||||
this._Comprehensive_MajorPlanApproval = new EntitySet<Comprehensive_MajorPlanApproval>(new Action<Comprehensive_MajorPlanApproval>(this.attach_Comprehensive_MajorPlanApproval), new Action<Comprehensive_MajorPlanApproval>(this.detach_Comprehensive_MajorPlanApproval));
|
||||
@@ -15850,19 +15847,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_Base_CNProfessional", Storage="_Comprehensive_DesignDrawings", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_DesignDrawings> Comprehensive_DesignDrawings
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Comprehensive_DesignDrawings;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Comprehensive_DesignDrawings.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_GeneralPlanApproval_Base_CNProfessional", Storage="_Comprehensive_GeneralPlanApproval", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_GeneralPlanApproval> Comprehensive_GeneralPlanApproval
|
||||
{
|
||||
@@ -16061,18 +16045,6 @@ namespace Model
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_DesignDrawings(Comprehensive_DesignDrawings entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = this;
|
||||
}
|
||||
|
||||
private void detach_Comprehensive_DesignDrawings(Comprehensive_DesignDrawings entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_GeneralPlanApproval(Comprehensive_GeneralPlanApproval entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -68353,8 +68325,6 @@ namespace Model
|
||||
|
||||
private string _UnitWorkId;
|
||||
|
||||
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -68393,7 +68363,6 @@ namespace Model
|
||||
|
||||
public Comprehensive_DesignDrawings()
|
||||
{
|
||||
this._Base_CNProfessional = default(EntityRef<Base_CNProfessional>);
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
}
|
||||
@@ -68453,10 +68422,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;
|
||||
@@ -68686,40 +68651,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_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.Comprehensive_DesignDrawings.Remove(this);
|
||||
}
|
||||
this._Base_CNProfessional.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Comprehensive_DesignDrawings.Add(this);
|
||||
this._CNProfessionalId = value.CNProfessionalId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CNProfessionalId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_CNProfessional");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user