修改进度模块
This commit is contained in:
+845
-2
@@ -1652,9 +1652,15 @@ namespace Model
|
||||
partial void InsertWBS_WorkPackage(WBS_WorkPackage instance);
|
||||
partial void UpdateWBS_WorkPackage(WBS_WorkPackage instance);
|
||||
partial void DeleteWBS_WorkPackage(WBS_WorkPackage instance);
|
||||
partial void InsertWBS_WorkPackageDetail(WBS_WorkPackageDetail instance);
|
||||
partial void UpdateWBS_WorkPackageDetail(WBS_WorkPackageDetail instance);
|
||||
partial void DeleteWBS_WorkPackageDetail(WBS_WorkPackageDetail instance);
|
||||
partial void InsertWBS_WorkPackageInit(WBS_WorkPackageInit instance);
|
||||
partial void UpdateWBS_WorkPackageInit(WBS_WorkPackageInit instance);
|
||||
partial void DeleteWBS_WorkPackageInit(WBS_WorkPackageInit instance);
|
||||
partial void InsertWBS_WorkPackageParentDetail(WBS_WorkPackageParentDetail instance);
|
||||
partial void UpdateWBS_WorkPackageParentDetail(WBS_WorkPackageParentDetail instance);
|
||||
partial void DeleteWBS_WorkPackageParentDetail(WBS_WorkPackageParentDetail instance);
|
||||
partial void InsertWBS_WorkPackageProject(WBS_WorkPackageProject instance);
|
||||
partial void UpdateWBS_WorkPackageProject(WBS_WorkPackageProject instance);
|
||||
partial void DeleteWBS_WorkPackageProject(WBS_WorkPackageProject instance);
|
||||
@@ -6745,6 +6751,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_WBS_WorkPackageDetail> View_WBS_WorkPackageDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<View_WBS_WorkPackageDetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_WBS_WorkPackageParentDetail> View_WBS_WorkPackageParentDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<View_WBS_WorkPackageParentDetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_Welder_WelderQualify> View_Welder_WelderQualify
|
||||
{
|
||||
get
|
||||
@@ -6817,6 +6839,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_WorkPackageDetail> WBS_WorkPackageDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<WBS_WorkPackageDetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_WorkPackageInit> WBS_WorkPackageInit
|
||||
{
|
||||
get
|
||||
@@ -6825,6 +6855,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_WorkPackageParentDetail> WBS_WorkPackageParentDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<WBS_WorkPackageParentDetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_WorkPackageProject> WBS_WorkPackageProject
|
||||
{
|
||||
get
|
||||
@@ -11435,7 +11473,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
|
||||
public string ApproveIdea
|
||||
{
|
||||
get
|
||||
@@ -149652,7 +149690,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
|
||||
public string AttentPerson
|
||||
{
|
||||
get
|
||||
@@ -289251,6 +289289,402 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBS_WorkPackageDetail")]
|
||||
public partial class View_WBS_WorkPackageDetail
|
||||
{
|
||||
|
||||
private string _WorkPackageDetailId;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private string _WorkPackageCode;
|
||||
|
||||
private string _PackageContent;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _Unit;
|
||||
|
||||
private System.Nullable<decimal> _PlanProjectQuantity;
|
||||
|
||||
private System.Nullable<decimal> _RealProjectQuantity;
|
||||
|
||||
private System.Nullable<double> _TotalPlanNum;
|
||||
|
||||
private System.Nullable<double> _TotalThisNum;
|
||||
|
||||
private System.Nullable<double> _PlanNum;
|
||||
|
||||
private System.Nullable<double> _ThisNum;
|
||||
|
||||
public View_WBS_WorkPackageDetail()
|
||||
{
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string WorkPackageDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageDetailId != value))
|
||||
{
|
||||
this._WorkPackageDetailId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(50)")]
|
||||
public string WorkPackageId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageId != value))
|
||||
{
|
||||
this._WorkPackageId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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._Months = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageCode", DbType="NVarChar(30)")]
|
||||
public string WorkPackageCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageCode != value))
|
||||
{
|
||||
this._WorkPackageCode = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PackageContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PackageContent != value))
|
||||
{
|
||||
this._PackageContent = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
this._ProjectId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
|
||||
public string Unit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Unit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Unit != value))
|
||||
{
|
||||
this._Unit = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanProjectQuantity", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> PlanProjectQuantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanProjectQuantity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanProjectQuantity != value))
|
||||
{
|
||||
this._PlanProjectQuantity = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealProjectQuantity", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> RealProjectQuantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RealProjectQuantity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RealProjectQuantity != value))
|
||||
{
|
||||
this._RealProjectQuantity = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanNum", DbType="Float")]
|
||||
public System.Nullable<double> TotalPlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalPlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalPlanNum != value))
|
||||
{
|
||||
this._TotalPlanNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalThisNum", DbType="Float")]
|
||||
public System.Nullable<double> TotalThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalThisNum != value))
|
||||
{
|
||||
this._TotalThisNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanNum", DbType="Float")]
|
||||
public System.Nullable<double> PlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanNum != value))
|
||||
{
|
||||
this._PlanNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Float")]
|
||||
public System.Nullable<double> ThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ThisNum != value))
|
||||
{
|
||||
this._ThisNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBS_WorkPackageParentDetail")]
|
||||
public partial class View_WBS_WorkPackageParentDetail
|
||||
{
|
||||
|
||||
private string _WorkPackageParentDetailId;
|
||||
|
||||
private string _ParentId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private System.Nullable<double> _PlanNum;
|
||||
|
||||
private System.Nullable<double> _ThisNum;
|
||||
|
||||
private System.Nullable<double> _TotalPlanNum;
|
||||
|
||||
private System.Nullable<double> _TotalThisNum;
|
||||
|
||||
public View_WBS_WorkPackageParentDetail()
|
||||
{
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageParentDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string WorkPackageParentDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageParentDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageParentDetailId != value))
|
||||
{
|
||||
this._WorkPackageParentDetailId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentId", DbType="NVarChar(50)")]
|
||||
public string ParentId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ParentId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ParentId != value))
|
||||
{
|
||||
this._ParentId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
this._ProjectId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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._Months = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanNum", DbType="Float")]
|
||||
public System.Nullable<double> PlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanNum != value))
|
||||
{
|
||||
this._PlanNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Float")]
|
||||
public System.Nullable<double> ThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ThisNum != value))
|
||||
{
|
||||
this._ThisNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPlanNum", DbType="Float")]
|
||||
public System.Nullable<double> TotalPlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalPlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalPlanNum != value))
|
||||
{
|
||||
this._TotalPlanNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalThisNum", DbType="Float")]
|
||||
public System.Nullable<double> TotalThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalThisNum != value))
|
||||
{
|
||||
this._TotalThisNum = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Welder_WelderQualify")]
|
||||
public partial class View_Welder_WelderQualify
|
||||
{
|
||||
@@ -293757,6 +294191,8 @@ namespace Model
|
||||
|
||||
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
|
||||
|
||||
private EntitySet<WBS_WorkPackageDetail> _WBS_WorkPackageDetail;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -293827,6 +294263,7 @@ namespace Model
|
||||
{
|
||||
this._WBS_ControlItemAndCycle = new EntitySet<WBS_ControlItemAndCycle>(new Action<WBS_ControlItemAndCycle>(this.attach_WBS_ControlItemAndCycle), new Action<WBS_ControlItemAndCycle>(this.detach_WBS_ControlItemAndCycle));
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
this._WBS_WorkPackageDetail = new EntitySet<WBS_WorkPackageDetail>(new Action<WBS_WorkPackageDetail>(this.attach_WBS_WorkPackageDetail), new Action<WBS_WorkPackageDetail>(this.detach_WBS_WorkPackageDetail));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -294481,6 +294918,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_WorkPackageDetail_WBS_WorkPackage", Storage="_WBS_WorkPackageDetail", ThisKey="WorkPackageId", OtherKey="WorkPackageId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_WorkPackageDetail> WBS_WorkPackageDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_WorkPackageDetail;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_WorkPackageDetail.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -294512,6 +294962,217 @@ namespace Model
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_WorkPackage = null;
|
||||
}
|
||||
|
||||
private void attach_WBS_WorkPackageDetail(WBS_WorkPackageDetail entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_WorkPackage = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_WorkPackageDetail(WBS_WorkPackageDetail entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_WorkPackage = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_WorkPackageDetail")]
|
||||
public partial class WBS_WorkPackageDetail : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _WorkPackageDetailId;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private System.Nullable<decimal> _PlanNum;
|
||||
|
||||
private System.Nullable<decimal> _ThisNum;
|
||||
|
||||
private EntityRef<WBS_WorkPackage> _WBS_WorkPackage;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnWorkPackageDetailIdChanging(string value);
|
||||
partial void OnWorkPackageDetailIdChanged();
|
||||
partial void OnWorkPackageIdChanging(string value);
|
||||
partial void OnWorkPackageIdChanged();
|
||||
partial void OnMonthsChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnMonthsChanged();
|
||||
partial void OnPlanNumChanging(System.Nullable<decimal> value);
|
||||
partial void OnPlanNumChanged();
|
||||
partial void OnThisNumChanging(System.Nullable<decimal> value);
|
||||
partial void OnThisNumChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_WorkPackageDetail()
|
||||
{
|
||||
this._WBS_WorkPackage = default(EntityRef<WBS_WorkPackage>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string WorkPackageDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageDetailId != value))
|
||||
{
|
||||
this.OnWorkPackageDetailIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPackageDetailId = value;
|
||||
this.SendPropertyChanged("WorkPackageDetailId");
|
||||
this.OnWorkPackageDetailIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(50)")]
|
||||
public string WorkPackageId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageId != value))
|
||||
{
|
||||
if (this._WBS_WorkPackage.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnWorkPackageIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPackageId = value;
|
||||
this.SendPropertyChanged("WorkPackageId");
|
||||
this.OnWorkPackageIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_PlanNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> PlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanNum != value))
|
||||
{
|
||||
this.OnPlanNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanNum = value;
|
||||
this.SendPropertyChanged("PlanNum");
|
||||
this.OnPlanNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> ThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ThisNum != value))
|
||||
{
|
||||
this.OnThisNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ThisNum = value;
|
||||
this.SendPropertyChanged("ThisNum");
|
||||
this.OnThisNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_WorkPackageDetail_WBS_WorkPackage", Storage="_WBS_WorkPackage", ThisKey="WorkPackageId", OtherKey="WorkPackageId", IsForeignKey=true)]
|
||||
public WBS_WorkPackage WBS_WorkPackage
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_WorkPackage.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_WorkPackage previousValue = this._WBS_WorkPackage.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_WorkPackage.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_WorkPackage.Entity = null;
|
||||
previousValue.WBS_WorkPackageDetail.Remove(this);
|
||||
}
|
||||
this._WBS_WorkPackage.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_WorkPackageDetail.Add(this);
|
||||
this._WorkPackageId = value.WorkPackageId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._WorkPackageId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_WorkPackage");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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_WorkPackageInit")]
|
||||
@@ -294748,6 +295409,188 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_WorkPackageParentDetail")]
|
||||
public partial class WBS_WorkPackageParentDetail : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _WorkPackageParentDetailId;
|
||||
|
||||
private string _ParentId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private System.Nullable<decimal> _PlanNum;
|
||||
|
||||
private System.Nullable<decimal> _ThisNum;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnWorkPackageParentDetailIdChanging(string value);
|
||||
partial void OnWorkPackageParentDetailIdChanged();
|
||||
partial void OnParentIdChanging(string value);
|
||||
partial void OnParentIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnMonthsChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnMonthsChanged();
|
||||
partial void OnPlanNumChanging(System.Nullable<decimal> value);
|
||||
partial void OnPlanNumChanged();
|
||||
partial void OnThisNumChanging(System.Nullable<decimal> value);
|
||||
partial void OnThisNumChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_WorkPackageParentDetail()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageParentDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string WorkPackageParentDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackageParentDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackageParentDetailId != value))
|
||||
{
|
||||
this.OnWorkPackageParentDetailIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPackageParentDetailId = value;
|
||||
this.SendPropertyChanged("WorkPackageParentDetailId");
|
||||
this.OnWorkPackageParentDetailIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentId", DbType="NVarChar(50)")]
|
||||
public string ParentId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ParentId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ParentId != value))
|
||||
{
|
||||
this.OnParentIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ParentId = value;
|
||||
this.SendPropertyChanged("ParentId");
|
||||
this.OnParentIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
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="_PlanNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> PlanNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanNum != value))
|
||||
{
|
||||
this.OnPlanNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanNum = value;
|
||||
this.SendPropertyChanged("PlanNum");
|
||||
this.OnPlanNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThisNum", DbType="Decimal(9,2)")]
|
||||
public System.Nullable<decimal> ThisNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ThisNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ThisNum != value))
|
||||
{
|
||||
this.OnThisNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ThisNum = value;
|
||||
this.SendPropertyChanged("ThisNum");
|
||||
this.OnThisNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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_WorkPackageProject")]
|
||||
public partial class WBS_WorkPackageProject : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user