提交代码
This commit is contained in:
@@ -1337,6 +1337,9 @@ namespace Model
|
||||
partial void InsertJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
|
||||
partial void UpdateJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
|
||||
partial void DeleteJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
|
||||
partial void InsertJDGL_WeekPlan(JDGL_WeekPlan instance);
|
||||
partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance);
|
||||
partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance);
|
||||
partial void InsertLaw_HSSEStandardsList(Law_HSSEStandardsList instance);
|
||||
partial void UpdateLaw_HSSEStandardsList(Law_HSSEStandardsList instance);
|
||||
partial void DeleteLaw_HSSEStandardsList(Law_HSSEStandardsList instance);
|
||||
@@ -6191,6 +6194,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<JDGL_WeekPlan>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Law_HSSEStandardsList> Law_HSSEStandardsList
|
||||
{
|
||||
get
|
||||
@@ -26407,6 +26418,8 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_UndergroundPipeCompletion> _JDGL_UndergroundPipeCompletion;
|
||||
|
||||
private EntitySet<JDGL_WeekPlan> _JDGL_WeekPlan;
|
||||
|
||||
private EntitySet<Law_LawRegulationIdentify> _Law_LawRegulationIdentify;
|
||||
|
||||
private EntitySet<License_BreakGround> _License_BreakGround;
|
||||
@@ -26926,6 +26939,7 @@ namespace Model
|
||||
this._JDGL_QuantityList = new EntitySet<JDGL_QuantityList>(new Action<JDGL_QuantityList>(this.attach_JDGL_QuantityList), new Action<JDGL_QuantityList>(this.detach_JDGL_QuantityList));
|
||||
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));
|
||||
this._JDGL_WeekPlan = new EntitySet<JDGL_WeekPlan>(new Action<JDGL_WeekPlan>(this.attach_JDGL_WeekPlan), new Action<JDGL_WeekPlan>(this.detach_JDGL_WeekPlan));
|
||||
this._Law_LawRegulationIdentify = new EntitySet<Law_LawRegulationIdentify>(new Action<Law_LawRegulationIdentify>(this.attach_Law_LawRegulationIdentify), new Action<Law_LawRegulationIdentify>(this.detach_Law_LawRegulationIdentify));
|
||||
this._License_BreakGround = new EntitySet<License_BreakGround>(new Action<License_BreakGround>(this.attach_License_BreakGround), new Action<License_BreakGround>(this.detach_License_BreakGround));
|
||||
this._License_Electricity = new EntitySet<License_Electricity>(new Action<License_Electricity>(this.attach_License_Electricity), new Action<License_Electricity>(this.detach_License_Electricity));
|
||||
@@ -30157,6 +30171,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_Base_Project", Storage="_JDGL_WeekPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_WeekPlan> JDGL_WeekPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_WeekPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_WeekPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Law_LawRegulationIdentify_Base_Project", Storage="_Law_LawRegulationIdentify", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Law_LawRegulationIdentify> Law_LawRegulationIdentify
|
||||
{
|
||||
@@ -33906,6 +33933,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Law_LawRegulationIdentify(Law_LawRegulationIdentify entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -39663,6 +39702,8 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_UndergroundPipeCompletion> _JDGL_UndergroundPipeCompletion;
|
||||
|
||||
private EntitySet<JDGL_WeekPlan> _JDGL_WeekPlan;
|
||||
|
||||
private EntitySet<License_BreakGround> _License_BreakGround;
|
||||
|
||||
private EntitySet<License_Electricity> _License_Electricity;
|
||||
@@ -39964,6 +40005,7 @@ namespace Model
|
||||
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));
|
||||
this._JDGL_WeekPlan = new EntitySet<JDGL_WeekPlan>(new Action<JDGL_WeekPlan>(this.attach_JDGL_WeekPlan), new Action<JDGL_WeekPlan>(this.detach_JDGL_WeekPlan));
|
||||
this._License_BreakGround = new EntitySet<License_BreakGround>(new Action<License_BreakGround>(this.attach_License_BreakGround), new Action<License_BreakGround>(this.detach_License_BreakGround));
|
||||
this._License_Electricity = new EntitySet<License_Electricity>(new Action<License_Electricity>(this.attach_License_Electricity), new Action<License_Electricity>(this.detach_License_Electricity));
|
||||
this._License_EquipmentSafetyList = new EntitySet<License_EquipmentSafetyList>(new Action<License_EquipmentSafetyList>(this.attach_License_EquipmentSafetyList), new Action<License_EquipmentSafetyList>(this.detach_License_EquipmentSafetyList));
|
||||
@@ -41951,6 +41993,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_Base_Unit", Storage="_JDGL_WeekPlan", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_WeekPlan> JDGL_WeekPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_WeekPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_WeekPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_BreakGround_Base_Unit", Storage="_License_BreakGround", ThisKey="UnitId", OtherKey="ApplyUnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<License_BreakGround> License_BreakGround
|
||||
{
|
||||
@@ -44150,6 +44205,18 @@ namespace Model
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_License_BreakGround(License_BreakGround entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -214965,6 +215032,551 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WeekPlan")]
|
||||
public partial class JDGL_WeekPlan : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _WeekPlanId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _WeekNo;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private string _UnitWork;
|
||||
|
||||
private string _Major;
|
||||
|
||||
private string _WorkContent;
|
||||
|
||||
private string _UnitId;
|
||||
|
||||
private string _DutyPerson;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanDate;
|
||||
|
||||
private System.Nullable<bool> _IsOK;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private System.Nullable<int> _SortIndex;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnWeekPlanIdChanging(string value);
|
||||
partial void OnWeekPlanIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnWeekNoChanging(string value);
|
||||
partial void OnWeekNoChanged();
|
||||
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnStartDateChanged();
|
||||
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnEndDateChanged();
|
||||
partial void OnUnitWorkChanging(string value);
|
||||
partial void OnUnitWorkChanged();
|
||||
partial void OnMajorChanging(string value);
|
||||
partial void OnMajorChanged();
|
||||
partial void OnWorkContentChanging(string value);
|
||||
partial void OnWorkContentChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnDutyPersonChanging(string value);
|
||||
partial void OnDutyPersonChanged();
|
||||
partial void OnPlanDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanDateChanged();
|
||||
partial void OnIsOKChanging(System.Nullable<bool> value);
|
||||
partial void OnIsOKChanged();
|
||||
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();
|
||||
partial void OnSortIndexChanging(System.Nullable<int> value);
|
||||
partial void OnSortIndexChanged();
|
||||
#endregion
|
||||
|
||||
public JDGL_WeekPlan()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeekPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string WeekPlanId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WeekPlanId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WeekPlanId != value))
|
||||
{
|
||||
this.OnWeekPlanIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WeekPlanId = value;
|
||||
this.SendPropertyChanged("WeekPlanId");
|
||||
this.OnWeekPlanIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_WeekNo", DbType="NVarChar(50)")]
|
||||
public string WeekNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WeekNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WeekNo != value))
|
||||
{
|
||||
this.OnWeekNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WeekNo = value;
|
||||
this.SendPropertyChanged("WeekNo");
|
||||
this.OnWeekNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> StartDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StartDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StartDate != value))
|
||||
{
|
||||
this.OnStartDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StartDate = value;
|
||||
this.SendPropertyChanged("StartDate");
|
||||
this.OnStartDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> EndDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EndDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EndDate != value))
|
||||
{
|
||||
this.OnEndDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EndDate = value;
|
||||
this.SendPropertyChanged("EndDate");
|
||||
this.OnEndDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWork", DbType="NVarChar(50)")]
|
||||
public string UnitWork
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitWork;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitWork != value))
|
||||
{
|
||||
this.OnUnitWorkChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitWork = value;
|
||||
this.SendPropertyChanged("UnitWork");
|
||||
this.OnUnitWorkChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Major", DbType="NVarChar(50)")]
|
||||
public string Major
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Major;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Major != value))
|
||||
{
|
||||
this.OnMajorChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Major = value;
|
||||
this.SendPropertyChanged("Major");
|
||||
this.OnMajorChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkContent", DbType="NVarChar(500)")]
|
||||
public string WorkContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkContent != value))
|
||||
{
|
||||
this.OnWorkContentChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkContent = value;
|
||||
this.SendPropertyChanged("WorkContent");
|
||||
this.OnWorkContentChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_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="_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="_IsOK", DbType="Bit")]
|
||||
public System.Nullable<bool> IsOK
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsOK;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsOK != value))
|
||||
{
|
||||
this.OnIsOKChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsOK = value;
|
||||
this.SendPropertyChanged("IsOK");
|
||||
this.OnIsOKChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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))
|
||||
{
|
||||
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.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
|
||||
public System.Nullable<int> SortIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SortIndex;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SortIndex != value))
|
||||
{
|
||||
this.OnSortIndexChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SortIndex = value;
|
||||
this.SendPropertyChanged("SortIndex");
|
||||
this.OnSortIndexChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_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_WeekPlan.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_WeekPlan.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_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_WeekPlan.Remove(this);
|
||||
}
|
||||
this._Base_Unit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_WeekPlan.Add(this);
|
||||
this._UnitId = value.UnitId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UnitId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Unit");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_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_WeekPlan.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.JDGL_WeekPlan.Add(this);
|
||||
this._DutyPerson = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._DutyPerson = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_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.Law_HSSEStandardsList")]
|
||||
public partial class Law_HSSEStandardsList : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -351895,6 +352507,8 @@ namespace Model
|
||||
|
||||
private EntitySet<JDGL_UndergroundPipeCompletion> _JDGL_UndergroundPipeCompletion;
|
||||
|
||||
private EntitySet<JDGL_WeekPlan> _JDGL_WeekPlan;
|
||||
|
||||
private EntitySet<Law_HSSEStandardsList> _Law_HSSEStandardsList;
|
||||
|
||||
private EntitySet<Law_LawRegulationList> _Law_LawRegulationList;
|
||||
@@ -352548,6 +353162,7 @@ namespace Model
|
||||
this._JDGL_QuantityCompletion = new EntitySet<JDGL_QuantityCompletion>(new Action<JDGL_QuantityCompletion>(this.attach_JDGL_QuantityCompletion), new Action<JDGL_QuantityCompletion>(this.detach_JDGL_QuantityCompletion));
|
||||
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));
|
||||
this._JDGL_WeekPlan = new EntitySet<JDGL_WeekPlan>(new Action<JDGL_WeekPlan>(this.attach_JDGL_WeekPlan), new Action<JDGL_WeekPlan>(this.detach_JDGL_WeekPlan));
|
||||
this._Law_HSSEStandardsList = new EntitySet<Law_HSSEStandardsList>(new Action<Law_HSSEStandardsList>(this.attach_Law_HSSEStandardsList), new Action<Law_HSSEStandardsList>(this.detach_Law_HSSEStandardsList));
|
||||
this._Law_LawRegulationList = new EntitySet<Law_LawRegulationList>(new Action<Law_LawRegulationList>(this.attach_Law_LawRegulationList), new Action<Law_LawRegulationList>(this.detach_Law_LawRegulationList));
|
||||
this._Law_ManageRule = new EntitySet<Law_ManageRule>(new Action<Law_ManageRule>(this.attach_Law_ManageRule), new Action<Law_ManageRule>(this.detach_Law_ManageRule));
|
||||
@@ -355771,6 +356386,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_Sys_User", Storage="_JDGL_WeekPlan", ThisKey="UserId", OtherKey="DutyPerson", DeleteRule="NO ACTION")]
|
||||
public EntitySet<JDGL_WeekPlan> JDGL_WeekPlan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JDGL_WeekPlan;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._JDGL_WeekPlan.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Law_HSSEStandardsList_Sys_User2", Storage="_Law_HSSEStandardsList", ThisKey="UserId", OtherKey="AuditMan", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Law_HSSEStandardsList> Law_HSSEStandardsList
|
||||
{
|
||||
@@ -360246,6 +360874,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_JDGL_WeekPlan(JDGL_WeekPlan entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Law_HSSEStandardsList(Law_HSSEStandardsList entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user