20250224
This commit is contained in:
+48
-69
@@ -1847,8 +1847,6 @@ namespace Model
|
||||
|
||||
private string _DepartLeader;
|
||||
|
||||
private EntitySet<Base_QuantityDesctiption> _Base_QuantityDesctiption;
|
||||
|
||||
private EntitySet<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -1871,7 +1869,6 @@ namespace Model
|
||||
|
||||
public Base_Depart()
|
||||
{
|
||||
this._Base_QuantityDesctiption = new EntitySet<Base_QuantityDesctiption>(new Action<Base_QuantityDesctiption>(this.attach_Base_QuantityDesctiption), new Action<Base_QuantityDesctiption>(this.detach_Base_QuantityDesctiption));
|
||||
this._Sys_User = new EntitySet<Sys_User>(new Action<Sys_User>(this.attach_Sys_User), new Action<Sys_User>(this.detach_Sys_User));
|
||||
OnCreated();
|
||||
}
|
||||
@@ -1996,19 +1993,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_Depart", Storage="_Base_QuantityDesctiption", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Base_QuantityDesctiption> Base_QuantityDesctiption
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_QuantityDesctiption;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Base_QuantityDesctiption.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Sys_User", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Sys_User> Sys_User
|
||||
{
|
||||
@@ -2042,18 +2026,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_Base_QuantityDesctiption(Base_QuantityDesctiption entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Depart = this;
|
||||
}
|
||||
|
||||
private void detach_Base_QuantityDesctiption(Base_QuantityDesctiption entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Depart = null;
|
||||
}
|
||||
|
||||
private void attach_Sys_User(Sys_User entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -2667,8 +2639,6 @@ namespace Model
|
||||
|
||||
private System.Nullable<decimal> _PlanMHRsUnit;
|
||||
|
||||
private EntityRef<Base_Depart> _Base_Depart;
|
||||
|
||||
private EntityRef<Base_DisciplinesWBS> _Base_DisciplinesWBS;
|
||||
|
||||
private EntitySet<Editor_KeyQuantity> _Editor_KeyQuantity;
|
||||
@@ -2691,7 +2661,6 @@ namespace Model
|
||||
|
||||
public Base_QuantityDesctiption()
|
||||
{
|
||||
this._Base_Depart = default(EntityRef<Base_Depart>);
|
||||
this._Base_DisciplinesWBS = default(EntityRef<Base_DisciplinesWBS>);
|
||||
this._Editor_KeyQuantity = new EntitySet<Editor_KeyQuantity>(new Action<Editor_KeyQuantity>(this.attach_Editor_KeyQuantity), new Action<Editor_KeyQuantity>(this.detach_Editor_KeyQuantity));
|
||||
OnCreated();
|
||||
@@ -2728,10 +2697,6 @@ namespace Model
|
||||
{
|
||||
if ((this._DepartId != value))
|
||||
{
|
||||
if (this._Base_Depart.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnDepartIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DepartId = value;
|
||||
@@ -2805,40 +2770,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)]
|
||||
public Base_Depart Base_Depart
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Depart.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Depart previousValue = this._Base_Depart.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Depart.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Depart.Entity = null;
|
||||
previousValue.Base_QuantityDesctiption.Remove(this);
|
||||
}
|
||||
this._Base_Depart.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Base_QuantityDesctiption.Add(this);
|
||||
this._DepartId = value.DepartId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._DepartId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Depart");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_DisciplinesWBS", Storage="_Base_DisciplinesWBS", ThisKey="DisciplinesWBSId", OtherKey="DisciplinesWBSId", IsForeignKey=true)]
|
||||
public Base_DisciplinesWBS Base_DisciplinesWBS
|
||||
{
|
||||
@@ -6024,6 +5955,8 @@ namespace Model
|
||||
|
||||
private string _ProjectControl_ProjectType;
|
||||
|
||||
private System.Nullable<System.DateTime> _ProjectControl_RFSU_CloseDate;
|
||||
|
||||
private EntitySet<Design_Input> _Design_Input;
|
||||
|
||||
private EntitySet<Editor_AreaConcern> _Editor_AreaConcern;
|
||||
@@ -6460,6 +6393,8 @@ namespace Model
|
||||
partial void OnPM_Pre_ApprovalChanged();
|
||||
partial void OnProjectControl_ProjectTypeChanging(string value);
|
||||
partial void OnProjectControl_ProjectTypeChanged();
|
||||
partial void OnProjectControl_RFSU_CloseDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnProjectControl_RFSU_CloseDateChanged();
|
||||
#endregion
|
||||
|
||||
public Editor_EProject()
|
||||
@@ -10540,6 +10475,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectControl_RFSU_CloseDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> ProjectControl_RFSU_CloseDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectControl_RFSU_CloseDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectControl_RFSU_CloseDate != value))
|
||||
{
|
||||
this.OnProjectControl_RFSU_CloseDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectControl_RFSU_CloseDate = value;
|
||||
this.SendPropertyChanged("ProjectControl_RFSU_CloseDate");
|
||||
this.OnProjectControl_RFSU_CloseDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Editor_EProject", Storage="_Design_Input", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Design_Input> Design_Input
|
||||
{
|
||||
@@ -11592,6 +11547,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<decimal> _PlanMHRsUnit;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private EntityRef<Base_QuantityDesctiption> _Base_QuantityDesctiption;
|
||||
|
||||
private EntityRef<Editor_EProject> _Editor_EProject;
|
||||
@@ -11618,6 +11575,8 @@ namespace Model
|
||||
partial void OnQuantityDesctiptionChanged();
|
||||
partial void OnPlanMHRsUnitChanging(System.Nullable<decimal> value);
|
||||
partial void OnPlanMHRsUnitChanged();
|
||||
partial void OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
#endregion
|
||||
|
||||
public Editor_KeyQuantity()
|
||||
@@ -11815,6 +11774,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")]
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Type;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Type != value))
|
||||
{
|
||||
this.OnTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Type = value;
|
||||
this.SendPropertyChanged("Type");
|
||||
this.OnTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Base_QuantityDesctiption", Storage="_Base_QuantityDesctiption", ThisKey="KeyId", OtherKey="KeyId", IsForeignKey=true)]
|
||||
public Base_QuantityDesctiption Base_QuantityDesctiption
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user