0915-gaofei
This commit is contained in:
+707
-19
@@ -1925,6 +1925,9 @@ namespace Model
|
||||
partial void InsertWBS_Installation(WBS_Installation instance);
|
||||
partial void UpdateWBS_Installation(WBS_Installation instance);
|
||||
partial void DeleteWBS_Installation(WBS_Installation instance);
|
||||
partial void InsertWBS_MilePost(WBS_MilePost instance);
|
||||
partial void UpdateWBS_MilePost(WBS_MilePost instance);
|
||||
partial void DeleteWBS_MilePost(WBS_MilePost instance);
|
||||
partial void InsertWbs_UnitProject(Wbs_UnitProject instance);
|
||||
partial void UpdateWbs_UnitProject(Wbs_UnitProject instance);
|
||||
partial void DeleteWbs_UnitProject(Wbs_UnitProject instance);
|
||||
@@ -8011,6 +8014,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_MilePost> WBS_MilePost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<WBS_MilePost>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Wbs_UnitProject> Wbs_UnitProject
|
||||
{
|
||||
get
|
||||
@@ -22878,6 +22889,8 @@ namespace Model
|
||||
|
||||
private EntitySet<WBS_ForeignBreakdownProject> _WBS_ForeignBreakdownProject;
|
||||
|
||||
private EntitySet<WBS_MilePost> _WBS_MilePost;
|
||||
|
||||
private EntitySet<Wbs_UnitProject> _Wbs_UnitProject;
|
||||
|
||||
private EntitySet<Wbs_WbsSet> _Wbs_WbsSet;
|
||||
@@ -23225,6 +23238,7 @@ namespace Model
|
||||
this._WBS_CostControl = new EntitySet<WBS_CostControl>(new Action<WBS_CostControl>(this.attach_WBS_CostControl), new Action<WBS_CostControl>(this.detach_WBS_CostControl));
|
||||
this._WBS_DivisionProject = new EntitySet<WBS_DivisionProject>(new Action<WBS_DivisionProject>(this.attach_WBS_DivisionProject), new Action<WBS_DivisionProject>(this.detach_WBS_DivisionProject));
|
||||
this._WBS_ForeignBreakdownProject = new EntitySet<WBS_ForeignBreakdownProject>(new Action<WBS_ForeignBreakdownProject>(this.attach_WBS_ForeignBreakdownProject), new Action<WBS_ForeignBreakdownProject>(this.detach_WBS_ForeignBreakdownProject));
|
||||
this._WBS_MilePost = new EntitySet<WBS_MilePost>(new Action<WBS_MilePost>(this.attach_WBS_MilePost), new Action<WBS_MilePost>(this.detach_WBS_MilePost));
|
||||
this._Wbs_UnitProject = new EntitySet<Wbs_UnitProject>(new Action<Wbs_UnitProject>(this.attach_Wbs_UnitProject), new Action<Wbs_UnitProject>(this.detach_Wbs_UnitProject));
|
||||
this._Wbs_WbsSet = new EntitySet<Wbs_WbsSet>(new Action<Wbs_WbsSet>(this.attach_Wbs_WbsSet), new Action<Wbs_WbsSet>(this.detach_Wbs_WbsSet));
|
||||
this._WBS_WorkPackageProject = new EntitySet<WBS_WorkPackageProject>(new Action<WBS_WorkPackageProject>(this.attach_WBS_WorkPackageProject), new Action<WBS_WorkPackageProject>(this.detach_WBS_WorkPackageProject));
|
||||
@@ -27268,6 +27282,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_MilePost_Base_Project", Storage="_WBS_MilePost", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_MilePost> WBS_MilePost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_MilePost;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_MilePost.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Wbs_UnitProject_Base_Project", Storage="_Wbs_UnitProject", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Wbs_UnitProject> Wbs_UnitProject
|
||||
{
|
||||
@@ -30465,6 +30492,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Wbs_UnitProject(Wbs_UnitProject entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -244734,7 +244773,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
|
||||
public string Address
|
||||
{
|
||||
get
|
||||
@@ -244798,7 +244837,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
|
||||
public string WorkAreaName
|
||||
{
|
||||
get
|
||||
@@ -263908,6 +263947,8 @@ namespace Model
|
||||
|
||||
private EntitySet<WBS_BreakdownProject> _WBS_BreakdownProject;
|
||||
|
||||
private EntitySet<WBS_MilePost> _WBS_MilePost;
|
||||
|
||||
private EntitySet<WBSRectificationMeasureSet> _WBSRectificationMeasureSet;
|
||||
|
||||
private EntitySet<WPQ_WPQList> _WPQ_WPQList;
|
||||
@@ -264345,6 +264386,7 @@ namespace Model
|
||||
this._Training_TrainTestDBItem = new EntitySet<Training_TrainTestDBItem>(new Action<Training_TrainTestDBItem>(this.attach_Training_TrainTestDBItem), new Action<Training_TrainTestDBItem>(this.detach_Training_TrainTestDBItem));
|
||||
this._Unqualified_WorkContactApprove = new EntitySet<Unqualified_WorkContactApprove>(new Action<Unqualified_WorkContactApprove>(this.attach_Unqualified_WorkContactApprove), new Action<Unqualified_WorkContactApprove>(this.detach_Unqualified_WorkContactApprove));
|
||||
this._WBS_BreakdownProject = new EntitySet<WBS_BreakdownProject>(new Action<WBS_BreakdownProject>(this.attach_WBS_BreakdownProject), new Action<WBS_BreakdownProject>(this.detach_WBS_BreakdownProject));
|
||||
this._WBS_MilePost = new EntitySet<WBS_MilePost>(new Action<WBS_MilePost>(this.attach_WBS_MilePost), new Action<WBS_MilePost>(this.detach_WBS_MilePost));
|
||||
this._WBSRectificationMeasureSet = new EntitySet<WBSRectificationMeasureSet>(new Action<WBSRectificationMeasureSet>(this.attach_WBSRectificationMeasureSet), new Action<WBSRectificationMeasureSet>(this.detach_WBSRectificationMeasureSet));
|
||||
this._WPQ_WPQList = new EntitySet<WPQ_WPQList>(new Action<WPQ_WPQList>(this.attach_WPQ_WPQList), new Action<WPQ_WPQList>(this.detach_WPQ_WPQList));
|
||||
this._Wx_PageData = new EntitySet<Wx_PageData>(new Action<Wx_PageData>(this.attach_Wx_PageData), new Action<Wx_PageData>(this.detach_Wx_PageData));
|
||||
@@ -269431,6 +269473,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_MilePost_Sys_User", Storage="_WBS_MilePost", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_MilePost> WBS_MilePost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_MilePost;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_MilePost.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBSRectificationMeasureSet_Sys_User", Storage="_WBSRectificationMeasureSet", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBSRectificationMeasureSet> WBSRectificationMeasureSet
|
||||
{
|
||||
@@ -273243,6 +273298,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_WBSRectificationMeasureSet(WBSRectificationMeasureSet entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -326369,7 +326436,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
|
||||
public string Address
|
||||
{
|
||||
get
|
||||
@@ -326385,7 +326452,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
|
||||
public string WorkAreaName
|
||||
{
|
||||
get
|
||||
@@ -333208,6 +333275,10 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private string _CostControlCode;
|
||||
|
||||
private string _CostControlName;
|
||||
@@ -333224,9 +333295,9 @@ namespace Model
|
||||
|
||||
private System.Nullable<double> _TotalThisNum;
|
||||
|
||||
private System.Nullable<decimal> _PlanNum;
|
||||
private System.Nullable<double> _PlanNum;
|
||||
|
||||
private System.Nullable<decimal> _ThisNum;
|
||||
private System.Nullable<double> _ThisNum;
|
||||
|
||||
private System.Nullable<decimal> _RealPrice;
|
||||
|
||||
@@ -333296,6 +333367,38 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[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._StartDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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._EndDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostControlCode", DbType="NVarChar(50)")]
|
||||
public string CostControlCode
|
||||
{
|
||||
@@ -333424,8 +333527,8 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> PlanNum
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanNum", DbType="Float")]
|
||||
public System.Nullable<double> PlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -333440,8 +333543,8 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> ThisNum
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Float")]
|
||||
public System.Nullable<double> ThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -333748,11 +333851,15 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private System.Nullable<decimal> _ThisPlanValue;
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<decimal> _ThisRealCost;
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private System.Nullable<decimal> _ThisPlanCost;
|
||||
private System.Nullable<double> _ThisPlanValue;
|
||||
|
||||
private System.Nullable<double> _ThisRealCost;
|
||||
|
||||
private System.Nullable<double> _ThisPlanCost;
|
||||
|
||||
private System.Nullable<double> _TotalPlanValue;
|
||||
|
||||
@@ -333812,8 +333919,40 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanValue", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> ThisPlanValue
|
||||
[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._StartDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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._EndDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanValue", DbType="Float")]
|
||||
public System.Nullable<double> ThisPlanValue
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -333828,8 +333967,8 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisRealCost", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> ThisRealCost
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisRealCost", DbType="Float")]
|
||||
public System.Nullable<double> ThisRealCost
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -333844,8 +333983,8 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanCost", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> ThisPlanCost
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisPlanCost", DbType="Float")]
|
||||
public System.Nullable<double> ThisPlanCost
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -336618,6 +336757,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _SortIndex;
|
||||
|
||||
private EntitySet<WBS_MilePost> _WBS_MilePost;
|
||||
|
||||
private EntitySet<Wbs_UnitProjectInit> _Wbs_UnitProjectInit;
|
||||
|
||||
private EntitySet<WBS_WbsSetInit> _WBS_WbsSetInit;
|
||||
@@ -336640,6 +336781,7 @@ namespace Model
|
||||
|
||||
public WBS_CnProfessionInit()
|
||||
{
|
||||
this._WBS_MilePost = new EntitySet<WBS_MilePost>(new Action<WBS_MilePost>(this.attach_WBS_MilePost), new Action<WBS_MilePost>(this.detach_WBS_MilePost));
|
||||
this._Wbs_UnitProjectInit = new EntitySet<Wbs_UnitProjectInit>(new Action<Wbs_UnitProjectInit>(this.attach_Wbs_UnitProjectInit), new Action<Wbs_UnitProjectInit>(this.detach_Wbs_UnitProjectInit));
|
||||
this._WBS_WbsSetInit = new EntitySet<WBS_WbsSetInit>(new Action<WBS_WbsSetInit>(this.attach_WBS_WbsSetInit), new Action<WBS_WbsSetInit>(this.detach_WBS_WbsSetInit));
|
||||
OnCreated();
|
||||
@@ -336745,6 +336887,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_MilePost_WBS_CnProfessionInit", Storage="_WBS_MilePost", ThisKey="CnProfessionId", OtherKey="CnProfessionId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_MilePost> WBS_MilePost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_MilePost;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_MilePost.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Wbs_UnitProjectInit_WBS_CnProfessionInit", Storage="_Wbs_UnitProjectInit", ThisKey="CnProfessionId", OtherKey="CnProfessionId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Wbs_UnitProjectInit> Wbs_UnitProjectInit
|
||||
{
|
||||
@@ -336791,6 +336946,18 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_CnProfessionInit = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_MilePost(WBS_MilePost entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_CnProfessionInit = null;
|
||||
}
|
||||
|
||||
private void attach_Wbs_UnitProjectInit(Wbs_UnitProjectInit entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -338404,6 +338571,10 @@ namespace Model
|
||||
|
||||
private System.Nullable<decimal> _ThisNum;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private EntityRef<WBS_CostControl> _WBS_CostControl;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -338420,6 +338591,10 @@ namespace Model
|
||||
partial void OnPlanNumChanged();
|
||||
partial void OnThisNumChanging(System.Nullable<decimal> value);
|
||||
partial void OnThisNumChanged();
|
||||
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnStartDateChanged();
|
||||
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnEndDateChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_CostControlDetail()
|
||||
@@ -338532,6 +338707,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[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.AssociationAttribute(Name="FK_WBS_CostControlDetail_WBS_CostControl", Storage="_WBS_CostControl", ThisKey="CostControlId", OtherKey="CostControlId", IsForeignKey=true)]
|
||||
public WBS_CostControl WBS_CostControl
|
||||
{
|
||||
@@ -338603,6 +338818,10 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _VersionNum;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private EntityRef<WBS_CostControl> _WBS_CostControl;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -338619,6 +338838,10 @@ namespace Model
|
||||
partial void OnPlanNumChanged();
|
||||
partial void OnVersionNumChanging(System.Nullable<int> value);
|
||||
partial void OnVersionNumChanged();
|
||||
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnStartDateChanged();
|
||||
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnEndDateChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_CostControlDetailHistory()
|
||||
@@ -338731,6 +338954,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[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.AssociationAttribute(Name="FK_WBS_CostControlDetailHistory_WBS_CostControl", Storage="_WBS_CostControl", ThisKey="CostControlId", OtherKey="CostControlId", IsForeignKey=true)]
|
||||
public WBS_CostControl WBS_CostControl
|
||||
{
|
||||
@@ -338938,6 +339201,10 @@ namespace Model
|
||||
|
||||
private System.Nullable<decimal> _ThisPlanCost;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -338954,6 +339221,10 @@ namespace Model
|
||||
partial void OnThisRealCostChanged();
|
||||
partial void OnThisPlanCostChanging(System.Nullable<decimal> value);
|
||||
partial void OnThisPlanCostChanged();
|
||||
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnStartDateChanged();
|
||||
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnEndDateChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_CostControlParentDetail()
|
||||
@@ -339081,6 +339352,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -340792,6 +341103,383 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_MilePost")]
|
||||
public partial class WBS_MilePost : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _MilePostId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<int> _CnProfessionId;
|
||||
|
||||
private string _MilePostName;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _RealDate;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
private EntityRef<WBS_CnProfessionInit> _WBS_CnProfessionInit;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnMilePostIdChanging(string value);
|
||||
partial void OnMilePostIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnCnProfessionIdChanging(System.Nullable<int> value);
|
||||
partial void OnCnProfessionIdChanged();
|
||||
partial void OnMilePostNameChanging(string value);
|
||||
partial void OnMilePostNameChanged();
|
||||
partial void OnPlanDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanDateChanged();
|
||||
partial void OnRealDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRealDateChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_MilePost()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
this._WBS_CnProfessionInit = default(EntityRef<WBS_CnProfessionInit>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MilePostId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string MilePostId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MilePostId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MilePostId != value))
|
||||
{
|
||||
this.OnMilePostIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MilePostId = value;
|
||||
this.SendPropertyChanged("MilePostId");
|
||||
this.OnMilePostIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_CnProfessionId", DbType="Int")]
|
||||
public System.Nullable<int> CnProfessionId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CnProfessionId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CnProfessionId != value))
|
||||
{
|
||||
if (this._WBS_CnProfessionInit.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnCnProfessionIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CnProfessionId = value;
|
||||
this.SendPropertyChanged("CnProfessionId");
|
||||
this.OnCnProfessionIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MilePostName", DbType="NVarChar(100)")]
|
||||
public string MilePostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MilePostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MilePostName != value))
|
||||
{
|
||||
this.OnMilePostNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MilePostName = value;
|
||||
this.SendPropertyChanged("MilePostName");
|
||||
this.OnMilePostNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_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="_CompileMan", DbType="NVarChar(50)")]
|
||||
public string CompileMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileMan != value))
|
||||
{
|
||||
if (this._Sys_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.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.AssociationAttribute(Name="FK_WBS_MilePost_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.WBS_MilePost.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_MilePost.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_MilePost_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", 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.WBS_MilePost.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_MilePost.Add(this);
|
||||
this._CompileMan = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CompileMan = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_MilePost_WBS_CnProfessionInit", Storage="_WBS_CnProfessionInit", ThisKey="CnProfessionId", OtherKey="CnProfessionId", IsForeignKey=true)]
|
||||
public WBS_CnProfessionInit WBS_CnProfessionInit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_CnProfessionInit.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_CnProfessionInit previousValue = this._WBS_CnProfessionInit.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_CnProfessionInit.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_CnProfessionInit.Entity = null;
|
||||
previousValue.WBS_MilePost.Remove(this);
|
||||
}
|
||||
this._WBS_CnProfessionInit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_MilePost.Add(this);
|
||||
this._CnProfessionId = value.CnProfessionId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CnProfessionId = default(Nullable<int>);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_CnProfessionInit");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Wbs_UnitProject")]
|
||||
public partial class Wbs_UnitProject : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user