提交代码
This commit is contained in:
@@ -1316,6 +1316,9 @@ namespace Model
|
||||
partial void InsertJDGL_MeterCompletion(JDGL_MeterCompletion instance);
|
||||
partial void UpdateJDGL_MeterCompletion(JDGL_MeterCompletion instance);
|
||||
partial void DeleteJDGL_MeterCompletion(JDGL_MeterCompletion instance);
|
||||
partial void InsertJDGL_MonthPlan(JDGL_MonthPlan instance);
|
||||
partial void UpdateJDGL_MonthPlan(JDGL_MonthPlan instance);
|
||||
partial void DeleteJDGL_MonthPlan(JDGL_MonthPlan instance);
|
||||
partial void InsertJDGL_PipelineCompletion(JDGL_PipelineCompletion instance);
|
||||
partial void UpdateJDGL_PipelineCompletion(JDGL_PipelineCompletion instance);
|
||||
partial void DeleteJDGL_PipelineCompletion(JDGL_PipelineCompletion instance);
|
||||
@@ -6126,6 +6129,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<JDGL_MonthPlan> JDGL_MonthPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<JDGL_MonthPlan>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<JDGL_PipelineCompletion> JDGL_PipelineCompletion
|
||||
{
|
||||
get
|
||||
@@ -26360,6 +26371,8 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_LowTankCompletion> _JDGL_LowTankCompletion;
|
||||
|
||||
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan;
|
||||
|
||||
private EntitySet<JDGL_PipelineCompletion> _JDGL_PipelineCompletion;
|
||||
|
||||
private EntitySet<JDGL_ProgressCompletion> _JDGL_ProgressCompletion;
|
||||
@@ -26884,6 +26897,7 @@ namespace Model
|
||||
this._JDGL_ElectricalCompletion = new EntitySet<JDGL_ElectricalCompletion>(new Action<JDGL_ElectricalCompletion>(this.attach_JDGL_ElectricalCompletion), new Action<JDGL_ElectricalCompletion>(this.detach_JDGL_ElectricalCompletion));
|
||||
this._JDGL_EquipmentCompletion = new EntitySet<JDGL_EquipmentCompletion>(new Action<JDGL_EquipmentCompletion>(this.attach_JDGL_EquipmentCompletion), new Action<JDGL_EquipmentCompletion>(this.detach_JDGL_EquipmentCompletion));
|
||||
this._JDGL_LowTankCompletion = new EntitySet<JDGL_LowTankCompletion>(new Action<JDGL_LowTankCompletion>(this.attach_JDGL_LowTankCompletion), new Action<JDGL_LowTankCompletion>(this.detach_JDGL_LowTankCompletion));
|
||||
this._JDGL_MonthPlan = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan));
|
||||
this._JDGL_PipelineCompletion = new EntitySet<JDGL_PipelineCompletion>(new Action<JDGL_PipelineCompletion>(this.attach_JDGL_PipelineCompletion), new Action<JDGL_PipelineCompletion>(this.detach_JDGL_PipelineCompletion));
|
||||
this._JDGL_ProgressCompletion = new EntitySet<JDGL_ProgressCompletion>(new Action<JDGL_ProgressCompletion>(this.attach_JDGL_ProgressCompletion), new Action<JDGL_ProgressCompletion>(this.detach_JDGL_ProgressCompletion));
|
||||
this._JDGL_QuantityCompletion = new EntitySet<JDGL_QuantityCompletion>(new Action<JDGL_QuantityCompletion>(this.attach_JDGL_QuantityCompletion), new Action<JDGL_QuantityCompletion>(this.detach_JDGL_QuantityCompletion));
|
||||
@@ -30030,6 +30044,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Base_Project", Storage="_JDGL_MonthPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_MonthPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_MonthPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_PipelineCompletion_Base_Project", Storage="_JDGL_PipelineCompletion", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_PipelineCompletion> JDGL_PipelineCompletion
|
||||
{
|
||||
@@ -33773,6 +33800,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_PipelineCompletion(JDGL_PipelineCompletion entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -39594,6 +39633,8 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_MeterCompletion> _JDGL_MeterCompletion;
|
||||
|
||||
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan;
|
||||
|
||||
private EntitySet<JDGL_PipelineCompletion> _JDGL_PipelineCompletion;
|
||||
|
||||
private EntitySet<JDGL_SteelStructureCompletion> _JDGL_SteelStructureCompletion;
|
||||
@@ -39897,6 +39938,7 @@ namespace Model
|
||||
this._JDGL_ElectricalCompletion = new EntitySet<JDGL_ElectricalCompletion>(new Action<JDGL_ElectricalCompletion>(this.attach_JDGL_ElectricalCompletion), new Action<JDGL_ElectricalCompletion>(this.detach_JDGL_ElectricalCompletion));
|
||||
this._JDGL_EquipmentCompletion = new EntitySet<JDGL_EquipmentCompletion>(new Action<JDGL_EquipmentCompletion>(this.attach_JDGL_EquipmentCompletion), new Action<JDGL_EquipmentCompletion>(this.detach_JDGL_EquipmentCompletion));
|
||||
this._JDGL_MeterCompletion = new EntitySet<JDGL_MeterCompletion>(new Action<JDGL_MeterCompletion>(this.attach_JDGL_MeterCompletion), new Action<JDGL_MeterCompletion>(this.detach_JDGL_MeterCompletion));
|
||||
this._JDGL_MonthPlan = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan));
|
||||
this._JDGL_PipelineCompletion = new EntitySet<JDGL_PipelineCompletion>(new Action<JDGL_PipelineCompletion>(this.attach_JDGL_PipelineCompletion), new Action<JDGL_PipelineCompletion>(this.detach_JDGL_PipelineCompletion));
|
||||
this._JDGL_SteelStructureCompletion = new EntitySet<JDGL_SteelStructureCompletion>(new Action<JDGL_SteelStructureCompletion>(this.attach_JDGL_SteelStructureCompletion), new Action<JDGL_SteelStructureCompletion>(this.detach_JDGL_SteelStructureCompletion));
|
||||
this._JDGL_UndergroundPipeCompletion = new EntitySet<JDGL_UndergroundPipeCompletion>(new Action<JDGL_UndergroundPipeCompletion>(this.attach_JDGL_UndergroundPipeCompletion), new Action<JDGL_UndergroundPipeCompletion>(this.detach_JDGL_UndergroundPipeCompletion));
|
||||
@@ -41835,6 +41877,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Base_Unit", Storage="_JDGL_MonthPlan", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_MonthPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_MonthPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_PipelineCompletion_Base_Unit", Storage="_JDGL_PipelineCompletion", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_PipelineCompletion> JDGL_PipelineCompletion
|
||||
{
|
||||
@@ -44025,6 +44080,18 @@ namespace Model
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_PipelineCompletion(JDGL_PipelineCompletion entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -212202,6 +212269,472 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_MonthPlan")]
|
||||
public partial class JDGL_MonthPlan : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _MonthPlanId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private string _UnitId;
|
||||
|
||||
private string _NodeContent;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanDate;
|
||||
|
||||
private string _DutyPerson;
|
||||
|
||||
private System.Nullable<System.DateTime> _RealDate;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
private EntityRef<Sys_User> _CompileManSys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnMonthPlanIdChanging(string value);
|
||||
partial void OnMonthPlanIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnMonthsChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnMonthsChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnNodeContentChanging(string value);
|
||||
partial void OnNodeContentChanged();
|
||||
partial void OnPlanDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanDateChanged();
|
||||
partial void OnDutyPersonChanging(string value);
|
||||
partial void OnDutyPersonChanged();
|
||||
partial void OnRealDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRealDateChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
#endregion
|
||||
|
||||
public JDGL_MonthPlan()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
this._CompileManSys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string MonthPlanId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MonthPlanId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MonthPlanId != value))
|
||||
{
|
||||
this.OnMonthPlanIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MonthPlanId = value;
|
||||
this.SendPropertyChanged("MonthPlanId");
|
||||
this.OnMonthPlanIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
if (this._Base_Project.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> Months
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Months;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Months != value))
|
||||
{
|
||||
this.OnMonthsChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Months = value;
|
||||
this.SendPropertyChanged("Months");
|
||||
this.OnMonthsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
|
||||
public string UnitId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitId != value))
|
||||
{
|
||||
if (this._Base_Unit.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUnitIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitId = value;
|
||||
this.SendPropertyChanged("UnitId");
|
||||
this.OnUnitIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NodeContent", DbType="NVarChar(500)")]
|
||||
public string NodeContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NodeContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NodeContent != value))
|
||||
{
|
||||
this.OnNodeContentChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NodeContent = value;
|
||||
this.SendPropertyChanged("NodeContent");
|
||||
this.OnNodeContentChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanDate != value))
|
||||
{
|
||||
this.OnPlanDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanDate = value;
|
||||
this.SendPropertyChanged("PlanDate");
|
||||
this.OnPlanDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DutyPerson", DbType="NVarChar(50)")]
|
||||
public string DutyPerson
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DutyPerson;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DutyPerson != value))
|
||||
{
|
||||
if (this._Sys_User.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnDutyPersonChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DutyPerson = value;
|
||||
this.SendPropertyChanged("DutyPerson");
|
||||
this.OnDutyPersonChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RealDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RealDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RealDate != value))
|
||||
{
|
||||
this.OnRealDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RealDate = value;
|
||||
this.SendPropertyChanged("RealDate");
|
||||
this.OnRealDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")]
|
||||
public string Remark
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Remark;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Remark != value))
|
||||
{
|
||||
this.OnRemarkChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Remark = value;
|
||||
this.SendPropertyChanged("Remark");
|
||||
this.OnRemarkChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
|
||||
public string CompileMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileMan != value))
|
||||
{
|
||||
if (this._CompileManSys_User.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnCompileManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileMan = value;
|
||||
this.SendPropertyChanged("CompileMan");
|
||||
this.OnCompileManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CompileDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDate != value))
|
||||
{
|
||||
this.OnCompileDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDate = value;
|
||||
this.SendPropertyChanged("CompileDate");
|
||||
this.OnCompileDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Project.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Project previousValue = this._Base_Project.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Project.Entity = null;
|
||||
previousValue.JDGL_MonthPlan.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_MonthPlan.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_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.JDGL_MonthPlan.Remove(this);
|
||||
}
|
||||
this._Base_Unit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_MonthPlan.Add(this);
|
||||
this._UnitId = value.UnitId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UnitId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Unit");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User", Storage="_Sys_User", ThisKey="DutyPerson", OtherKey="UserId", IsForeignKey=true)]
|
||||
public Sys_User Sys_User
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Sys_User.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Sys_User previousValue = this._Sys_User.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Sys_User.Entity = null;
|
||||
previousValue.JDGL_MonthPlan.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_MonthPlan.Add(this);
|
||||
this._DutyPerson = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._DutyPerson = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_CompileManSys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
|
||||
public Sys_User CompileManSys_User
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileManSys_User.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Sys_User previousValue = this._CompileManSys_User.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._CompileManSys_User.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._CompileManSys_User.Entity = null;
|
||||
previousValue.JDGL_MonthPlan_Sys_User1.Remove(this);
|
||||
}
|
||||
this._CompileManSys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_MonthPlan_Sys_User1.Add(this);
|
||||
this._CompileMan = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CompileMan = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("CompileManSys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.JDGL_PipelineCompletion")]
|
||||
public partial class JDGL_PipelineCompletion : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -350770,6 +351303,10 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_MeterCompletion> _JDGL_MeterCompletion;
|
||||
|
||||
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan;
|
||||
|
||||
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan_Sys_User1;
|
||||
|
||||
private EntitySet<JDGL_PipelineCompletion> _JDGL_PipelineCompletion;
|
||||
|
||||
private EntitySet<JDGL_ProgressCompletion> _JDGL_ProgressCompletion;
|
||||
@@ -351426,6 +351963,8 @@ namespace Model
|
||||
this._JDGL_ElectricalCompletion = new EntitySet<JDGL_ElectricalCompletion>(new Action<JDGL_ElectricalCompletion>(this.attach_JDGL_ElectricalCompletion), new Action<JDGL_ElectricalCompletion>(this.detach_JDGL_ElectricalCompletion));
|
||||
this._JDGL_LowTankCompletion = new EntitySet<JDGL_LowTankCompletion>(new Action<JDGL_LowTankCompletion>(this.attach_JDGL_LowTankCompletion), new Action<JDGL_LowTankCompletion>(this.detach_JDGL_LowTankCompletion));
|
||||
this._JDGL_MeterCompletion = new EntitySet<JDGL_MeterCompletion>(new Action<JDGL_MeterCompletion>(this.attach_JDGL_MeterCompletion), new Action<JDGL_MeterCompletion>(this.detach_JDGL_MeterCompletion));
|
||||
this._JDGL_MonthPlan = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan));
|
||||
this._JDGL_MonthPlan_Sys_User1 = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan_Sys_User1), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan_Sys_User1));
|
||||
this._JDGL_PipelineCompletion = new EntitySet<JDGL_PipelineCompletion>(new Action<JDGL_PipelineCompletion>(this.attach_JDGL_PipelineCompletion), new Action<JDGL_PipelineCompletion>(this.detach_JDGL_PipelineCompletion));
|
||||
this._JDGL_ProgressCompletion = new EntitySet<JDGL_ProgressCompletion>(new Action<JDGL_ProgressCompletion>(this.attach_JDGL_ProgressCompletion), new Action<JDGL_ProgressCompletion>(this.detach_JDGL_ProgressCompletion));
|
||||
this._JDGL_QuantityCompletion = new EntitySet<JDGL_QuantityCompletion>(new Action<JDGL_QuantityCompletion>(this.attach_JDGL_QuantityCompletion), new Action<JDGL_QuantityCompletion>(this.detach_JDGL_QuantityCompletion));
|
||||
@@ -354563,6 +355102,32 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User", Storage="_JDGL_MonthPlan", ThisKey="UserId", OtherKey="DutyPerson", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_MonthPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_MonthPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_JDGL_MonthPlan_Sys_User1", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan_Sys_User1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_MonthPlan_Sys_User1;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_MonthPlan_Sys_User1.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_PipelineCompletion_Sys_User", Storage="_JDGL_PipelineCompletion", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_PipelineCompletion> JDGL_PipelineCompletion
|
||||
{
|
||||
@@ -359019,6 +359584,30 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_MonthPlan(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_MonthPlan_Sys_User1(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.CompileManSys_User = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_MonthPlan_Sys_User1(JDGL_MonthPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.CompileManSys_User = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_PipelineCompletion(JDGL_PipelineCompletion entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user