提交代码
This commit is contained in:
@@ -39688,8 +39688,6 @@ namespace Model
|
||||
|
||||
private EntitySet<Check_CheckRectify> _Check_CheckRectify;
|
||||
|
||||
private EntitySet<Check_CheckSpecialDetail> _Check_CheckSpecialDetail;
|
||||
|
||||
private EntitySet<Check_ContactList> _Check_ContactList;
|
||||
|
||||
private EntitySet<Check_IncentiveNotice> _Check_IncentiveNotice;
|
||||
@@ -40081,7 +40079,6 @@ namespace Model
|
||||
this._Check_CheckDayDetail = new EntitySet<Check_CheckDayDetail>(new Action<Check_CheckDayDetail>(this.attach_Check_CheckDayDetail), new Action<Check_CheckDayDetail>(this.detach_Check_CheckDayDetail));
|
||||
this._Check_CheckInfo = new EntitySet<Check_CheckInfo>(new Action<Check_CheckInfo>(this.attach_Check_CheckInfo), new Action<Check_CheckInfo>(this.detach_Check_CheckInfo));
|
||||
this._Check_CheckRectify = new EntitySet<Check_CheckRectify>(new Action<Check_CheckRectify>(this.attach_Check_CheckRectify), new Action<Check_CheckRectify>(this.detach_Check_CheckRectify));
|
||||
this._Check_CheckSpecialDetail = new EntitySet<Check_CheckSpecialDetail>(new Action<Check_CheckSpecialDetail>(this.attach_Check_CheckSpecialDetail), new Action<Check_CheckSpecialDetail>(this.detach_Check_CheckSpecialDetail));
|
||||
this._Check_ContactList = new EntitySet<Check_ContactList>(new Action<Check_ContactList>(this.attach_Check_ContactList), new Action<Check_ContactList>(this.detach_Check_ContactList));
|
||||
this._Check_IncentiveNotice = new EntitySet<Check_IncentiveNotice>(new Action<Check_IncentiveNotice>(this.attach_Check_IncentiveNotice), new Action<Check_IncentiveNotice>(this.detach_Check_IncentiveNotice));
|
||||
this._Check_JointCheck = new EntitySet<Check_JointCheck>(new Action<Check_JointCheck>(this.attach_Check_JointCheck), new Action<Check_JointCheck>(this.detach_Check_JointCheck));
|
||||
@@ -40989,19 +40986,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_Base_Unit", Storage="_Check_CheckSpecialDetail", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Check_CheckSpecialDetail> Check_CheckSpecialDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Check_CheckSpecialDetail;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Check_CheckSpecialDetail.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_ContactList_Base_Unit", Storage="_Check_ContactList", ThisKey="UnitId", OtherKey="SponsorUnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Check_ContactList> Check_ContactList
|
||||
{
|
||||
@@ -43291,18 +43275,6 @@ namespace Model
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_Check_CheckSpecialDetail(Check_CheckSpecialDetail entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = this;
|
||||
}
|
||||
|
||||
private void detach_Check_CheckSpecialDetail(Check_CheckSpecialDetail entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_Check_ContactList(Check_ContactList entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -62600,8 +62572,6 @@ namespace Model
|
||||
|
||||
private string _CheckOpinions;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -62658,7 +62628,6 @@ namespace Model
|
||||
|
||||
public Check_CheckSpecialDetail()
|
||||
{
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
OnCreated();
|
||||
}
|
||||
@@ -62798,10 +62767,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;
|
||||
@@ -63131,40 +63096,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_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.Check_CheckSpecialDetail.Remove(this);
|
||||
}
|
||||
this._Base_Unit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Check_CheckSpecialDetail.Add(this);
|
||||
this._UnitId = value.UnitId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UnitId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Unit");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_ProjectData_WorkArea", Storage="_WBS_UnitWork", ThisKey="CheckArea", OtherKey="UnitWorkId", IsForeignKey=true)]
|
||||
public WBS_UnitWork WBS_UnitWork
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user