20241213 Key Quantity

This commit is contained in:
2024-12-13 15:54:19 +08:00
parent 6387cf58bc
commit 90c2df3d24
27 changed files with 4196 additions and 264 deletions
+619 -5
View File
@@ -53,6 +53,9 @@ namespace Model
partial void InsertBase_HyperLinkSet(Base_HyperLinkSet instance);
partial void UpdateBase_HyperLinkSet(Base_HyperLinkSet instance);
partial void DeleteBase_HyperLinkSet(Base_HyperLinkSet instance);
partial void InsertBase_QuantityDesctiption(Base_QuantityDesctiption instance);
partial void UpdateBase_QuantityDesctiption(Base_QuantityDesctiption instance);
partial void DeleteBase_QuantityDesctiption(Base_QuantityDesctiption instance);
partial void InsertDesign_Input(Design_Input instance);
partial void UpdateDesign_Input(Design_Input instance);
partial void DeleteDesign_Input(Design_Input instance);
@@ -80,6 +83,9 @@ namespace Model
partial void InsertEditor_FCRLog(Editor_FCRLog instance);
partial void UpdateEditor_FCRLog(Editor_FCRLog instance);
partial void DeleteEditor_FCRLog(Editor_FCRLog instance);
partial void InsertEditor_KeyQuantity(Editor_KeyQuantity instance);
partial void UpdateEditor_KeyQuantity(Editor_KeyQuantity instance);
partial void DeleteEditor_KeyQuantity(Editor_KeyQuantity instance);
partial void InsertEditor_LessonsLearned(Editor_LessonsLearned instance);
partial void UpdateEditor_LessonsLearned(Editor_LessonsLearned instance);
partial void DeleteEditor_LessonsLearned(Editor_LessonsLearned instance);
@@ -260,6 +266,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_QuantityDesctiption> Base_QuantityDesctiption
{
get
{
return this.GetTable<Base_QuantityDesctiption>();
}
}
public System.Data.Linq.Table<Design_Input> Design_Input
{
get
@@ -332,6 +346,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Editor_KeyQuantity> Editor_KeyQuantity
{
get
{
return this.GetTable<Editor_KeyQuantity>();
}
}
public System.Data.Linq.Table<Editor_LessonsLearned> Editor_LessonsLearned
{
get
@@ -1825,6 +1847,8 @@ namespace Model
private string _DepartLeader;
private EntitySet<Base_QuantityDesctiption> _Base_QuantityDesctiption;
private EntitySet<Sys_User> _Sys_User;
#region
@@ -1847,6 +1871,7 @@ 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();
}
@@ -1871,7 +1896,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(20)")]
public string DepartCode
{
get
@@ -1971,6 +1996,19 @@ 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
{
@@ -2004,6 +2042,18 @@ 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();
@@ -2055,6 +2105,8 @@ namespace Model
private string _NetworkOper1;
private EntitySet<Base_QuantityDesctiption> _Base_QuantityDesctiption;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -2095,6 +2147,7 @@ namespace Model
public Base_DisciplinesWBS()
{
this._Base_QuantityDesctiption = new EntitySet<Base_QuantityDesctiption>(new Action<Base_QuantityDesctiption>(this.attach_Base_QuantityDesctiption), new Action<Base_QuantityDesctiption>(this.detach_Base_QuantityDesctiption));
OnCreated();
}
@@ -2418,6 +2471,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_DisciplinesWBS", Storage="_Base_QuantityDesctiption", ThisKey="DisciplinesWBSId", OtherKey="DisciplinesWBSId", DeleteRule="NO ACTION")]
public EntitySet<Base_QuantityDesctiption> Base_QuantityDesctiption
{
get
{
return this._Base_QuantityDesctiption;
}
set
{
this._Base_QuantityDesctiption.Assign(value);
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -2437,6 +2503,18 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
private void attach_Base_QuantityDesctiption(Base_QuantityDesctiption entity)
{
this.SendPropertyChanging();
entity.Base_DisciplinesWBS = this;
}
private void detach_Base_QuantityDesctiption(Base_QuantityDesctiption entity)
{
this.SendPropertyChanging();
entity.Base_DisciplinesWBS = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_HyperLinkSet")]
@@ -2573,6 +2651,274 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_QuantityDesctiption")]
public partial class Base_QuantityDesctiption : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _KeyId;
private string _DepartId;
private string _DisciplinesWBSId;
private string _QuantityDesctiption;
private System.Nullable<decimal> _PlanMHRsUnit;
private EntityRef<Base_Depart> _Base_Depart;
private EntityRef<Base_DisciplinesWBS> _Base_DisciplinesWBS;
private EntitySet<Editor_KeyQuantity> _Editor_KeyQuantity;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnKeyIdChanging(string value);
partial void OnKeyIdChanged();
partial void OnDepartIdChanging(string value);
partial void OnDepartIdChanged();
partial void OnDisciplinesWBSIdChanging(string value);
partial void OnDisciplinesWBSIdChanged();
partial void OnQuantityDesctiptionChanging(string value);
partial void OnQuantityDesctiptionChanged();
partial void OnPlanMHRsUnitChanging(System.Nullable<decimal> value);
partial void OnPlanMHRsUnitChanged();
#endregion
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();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string KeyId
{
get
{
return this._KeyId;
}
set
{
if ((this._KeyId != value))
{
this.OnKeyIdChanging(value);
this.SendPropertyChanging();
this._KeyId = value;
this.SendPropertyChanged("KeyId");
this.OnKeyIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")]
public string DepartId
{
get
{
return this._DepartId;
}
set
{
if ((this._DepartId != value))
{
if (this._Base_Depart.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnDepartIdChanging(value);
this.SendPropertyChanging();
this._DepartId = value;
this.SendPropertyChanged("DepartId");
this.OnDepartIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50)")]
public string DisciplinesWBSId
{
get
{
return this._DisciplinesWBSId;
}
set
{
if ((this._DisciplinesWBSId != value))
{
if (this._Base_DisciplinesWBS.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnDisciplinesWBSIdChanging(value);
this.SendPropertyChanging();
this._DisciplinesWBSId = value;
this.SendPropertyChanged("DisciplinesWBSId");
this.OnDisciplinesWBSIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuantityDesctiption", DbType="NVarChar(200)")]
public string QuantityDesctiption
{
get
{
return this._QuantityDesctiption;
}
set
{
if ((this._QuantityDesctiption != value))
{
this.OnQuantityDesctiptionChanging(value);
this.SendPropertyChanging();
this._QuantityDesctiption = value;
this.SendPropertyChanged("QuantityDesctiption");
this.OnQuantityDesctiptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanMHRsUnit", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PlanMHRsUnit
{
get
{
return this._PlanMHRsUnit;
}
set
{
if ((this._PlanMHRsUnit != value))
{
this.OnPlanMHRsUnitChanging(value);
this.SendPropertyChanging();
this._PlanMHRsUnit = value;
this.SendPropertyChanged("PlanMHRsUnit");
this.OnPlanMHRsUnitChanged();
}
}
}
[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
{
get
{
return this._Base_DisciplinesWBS.Entity;
}
set
{
Base_DisciplinesWBS previousValue = this._Base_DisciplinesWBS.Entity;
if (((previousValue != value)
|| (this._Base_DisciplinesWBS.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_DisciplinesWBS.Entity = null;
previousValue.Base_QuantityDesctiption.Remove(this);
}
this._Base_DisciplinesWBS.Entity = value;
if ((value != null))
{
value.Base_QuantityDesctiption.Add(this);
this._DisciplinesWBSId = value.DisciplinesWBSId;
}
else
{
this._DisciplinesWBSId = default(string);
}
this.SendPropertyChanged("Base_DisciplinesWBS");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Base_QuantityDesctiption", Storage="_Editor_KeyQuantity", ThisKey="KeyId", OtherKey="KeyId", DeleteRule="NO ACTION")]
public EntitySet<Editor_KeyQuantity> Editor_KeyQuantity
{
get
{
return this._Editor_KeyQuantity;
}
set
{
this._Editor_KeyQuantity.Assign(value);
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
private void attach_Editor_KeyQuantity(Editor_KeyQuantity entity)
{
this.SendPropertyChanging();
entity.Base_QuantityDesctiption = this;
}
private void detach_Editor_KeyQuantity(Editor_KeyQuantity entity)
{
this.SendPropertyChanging();
entity.Base_QuantityDesctiption = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Input")]
public partial class Design_Input : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -5690,6 +6036,8 @@ namespace Model
private EntitySet<Editor_FCRLog> _Editor_FCRLog;
private EntitySet<Editor_KeyQuantity> _Editor_KeyQuantity;
private EntitySet<Editor_LessonsLearned> _Editor_LessonsLearned;
private EntitySet<Editor_Punch> _Editor_Punch;
@@ -6122,6 +6470,7 @@ namespace Model
this._Editor_CostReport = new EntitySet<Editor_CostReport>(new Action<Editor_CostReport>(this.attach_Editor_CostReport), new Action<Editor_CostReport>(this.detach_Editor_CostReport));
this._Editor_PM = new EntitySet<Editor_PM>(new Action<Editor_PM>(this.attach_Editor_PM), new Action<Editor_PM>(this.detach_Editor_PM));
this._Editor_FCRLog = new EntitySet<Editor_FCRLog>(new Action<Editor_FCRLog>(this.attach_Editor_FCRLog), new Action<Editor_FCRLog>(this.detach_Editor_FCRLog));
this._Editor_KeyQuantity = new EntitySet<Editor_KeyQuantity>(new Action<Editor_KeyQuantity>(this.attach_Editor_KeyQuantity), new Action<Editor_KeyQuantity>(this.detach_Editor_KeyQuantity));
this._Editor_LessonsLearned = new EntitySet<Editor_LessonsLearned>(new Action<Editor_LessonsLearned>(this.attach_Editor_LessonsLearned), new Action<Editor_LessonsLearned>(this.detach_Editor_LessonsLearned));
this._Editor_Punch = new EntitySet<Editor_Punch>(new Action<Editor_Punch>(this.attach_Editor_Punch), new Action<Editor_Punch>(this.detach_Editor_Punch));
this._ManHours_Plan = new EntitySet<ManHours_Plan>(new Action<ManHours_Plan>(this.attach_ManHours_Plan), new Action<ManHours_Plan>(this.detach_ManHours_Plan));
@@ -6811,7 +7160,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Construction", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Construction", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string CM_Remarks_Construction
{
get
@@ -6831,7 +7180,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Procurement", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Procurement", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string CM_Remarks_Procurement
{
get
@@ -6851,7 +7200,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_QualityHSE", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_QualityHSE", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string CM_Remarks_QualityHSE
{
get
@@ -10269,6 +10618,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Editor_EProject", Storage="_Editor_KeyQuantity", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")]
public EntitySet<Editor_KeyQuantity> Editor_KeyQuantity
{
get
{
return this._Editor_KeyQuantity;
}
set
{
this._Editor_KeyQuantity.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_LessonsLearned_Editor_EProject", Storage="_Editor_LessonsLearned", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")]
public EntitySet<Editor_LessonsLearned> Editor_LessonsLearned
{
@@ -10439,6 +10801,18 @@ namespace Model
entity.Editor_EProject = null;
}
private void attach_Editor_KeyQuantity(Editor_KeyQuantity entity)
{
this.SendPropertyChanging();
entity.Editor_EProject = this;
}
private void detach_Editor_KeyQuantity(Editor_KeyQuantity entity)
{
this.SendPropertyChanging();
entity.Editor_EProject = null;
}
private void attach_Editor_LessonsLearned(Editor_LessonsLearned entity)
{
this.SendPropertyChanging();
@@ -11194,6 +11568,246 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_KeyQuantity")]
public partial class Editor_KeyQuantity : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _KeyQuantityId;
private string _EProjectId;
private string _KeyId;
private System.Nullable<decimal> _InputQuantity;
private System.Nullable<decimal> _PlanMHRs;
private EntityRef<Base_QuantityDesctiption> _Base_QuantityDesctiption;
private EntityRef<Editor_EProject> _Editor_EProject;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnKeyQuantityIdChanging(string value);
partial void OnKeyQuantityIdChanged();
partial void OnEProjectIdChanging(string value);
partial void OnEProjectIdChanged();
partial void OnKeyIdChanging(string value);
partial void OnKeyIdChanged();
partial void OnInputQuantityChanging(System.Nullable<decimal> value);
partial void OnInputQuantityChanged();
partial void OnPlanMHRsChanging(System.Nullable<decimal> value);
partial void OnPlanMHRsChanged();
#endregion
public Editor_KeyQuantity()
{
this._Base_QuantityDesctiption = default(EntityRef<Base_QuantityDesctiption>);
this._Editor_EProject = default(EntityRef<Editor_EProject>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyQuantityId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string KeyQuantityId
{
get
{
return this._KeyQuantityId;
}
set
{
if ((this._KeyQuantityId != value))
{
this.OnKeyQuantityIdChanging(value);
this.SendPropertyChanging();
this._KeyQuantityId = value;
this.SendPropertyChanged("KeyQuantityId");
this.OnKeyQuantityIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")]
public string EProjectId
{
get
{
return this._EProjectId;
}
set
{
if ((this._EProjectId != value))
{
if (this._Editor_EProject.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnEProjectIdChanging(value);
this.SendPropertyChanging();
this._EProjectId = value;
this.SendPropertyChanged("EProjectId");
this.OnEProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyId", DbType="NVarChar(50)")]
public string KeyId
{
get
{
return this._KeyId;
}
set
{
if ((this._KeyId != value))
{
if (this._Base_QuantityDesctiption.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnKeyIdChanging(value);
this.SendPropertyChanging();
this._KeyId = value;
this.SendPropertyChanged("KeyId");
this.OnKeyIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InputQuantity", DbType="Decimal(18,2)")]
public System.Nullable<decimal> InputQuantity
{
get
{
return this._InputQuantity;
}
set
{
if ((this._InputQuantity != value))
{
this.OnInputQuantityChanging(value);
this.SendPropertyChanging();
this._InputQuantity = value;
this.SendPropertyChanged("InputQuantity");
this.OnInputQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanMHRs", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PlanMHRs
{
get
{
return this._PlanMHRs;
}
set
{
if ((this._PlanMHRs != value))
{
this.OnPlanMHRsChanging(value);
this.SendPropertyChanging();
this._PlanMHRs = value;
this.SendPropertyChanged("PlanMHRs");
this.OnPlanMHRsChanged();
}
}
}
[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
{
get
{
return this._Base_QuantityDesctiption.Entity;
}
set
{
Base_QuantityDesctiption previousValue = this._Base_QuantityDesctiption.Entity;
if (((previousValue != value)
|| (this._Base_QuantityDesctiption.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_QuantityDesctiption.Entity = null;
previousValue.Editor_KeyQuantity.Remove(this);
}
this._Base_QuantityDesctiption.Entity = value;
if ((value != null))
{
value.Editor_KeyQuantity.Add(this);
this._KeyId = value.KeyId;
}
else
{
this._KeyId = default(string);
}
this.SendPropertyChanged("Base_QuantityDesctiption");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)]
public Editor_EProject Editor_EProject
{
get
{
return this._Editor_EProject.Entity;
}
set
{
Editor_EProject previousValue = this._Editor_EProject.Entity;
if (((previousValue != value)
|| (this._Editor_EProject.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Editor_EProject.Entity = null;
previousValue.Editor_KeyQuantity.Remove(this);
}
this._Editor_EProject.Entity = value;
if ((value != null))
{
value.Editor_KeyQuantity.Add(this);
this._EProjectId = value.EProjectId;
}
else
{
this._EProjectId = default(string);
}
this.SendPropertyChanged("Editor_EProject");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_LessonsLearned")]
public partial class Editor_LessonsLearned : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -35938,7 +36552,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(20)")]
public string DepartCode
{
get