2023-08-23
This commit is contained in:
@@ -1109,6 +1109,9 @@ namespace Model
|
||||
partial void InsertPHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void UpdatePHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void DeletePHTGL_BidDocumentsStandingBook(PHTGL_BidDocumentsStandingBook instance);
|
||||
partial void InsertPHTGL_BidProjectQuantity(PHTGL_BidProjectQuantity instance);
|
||||
partial void UpdatePHTGL_BidProjectQuantity(PHTGL_BidProjectQuantity instance);
|
||||
partial void DeletePHTGL_BidProjectQuantity(PHTGL_BidProjectQuantity instance);
|
||||
partial void InsertPHTGL_Contract(PHTGL_Contract instance);
|
||||
partial void UpdatePHTGL_Contract(PHTGL_Contract instance);
|
||||
partial void DeletePHTGL_Contract(PHTGL_Contract instance);
|
||||
@@ -1118,6 +1121,12 @@ namespace Model
|
||||
partial void InsertPHTGL_ContractStandingBook(PHTGL_ContractStandingBook instance);
|
||||
partial void UpdatePHTGL_ContractStandingBook(PHTGL_ContractStandingBook instance);
|
||||
partial void DeletePHTGL_ContractStandingBook(PHTGL_ContractStandingBook instance);
|
||||
partial void InsertPHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
partial void UpdatePHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
partial void DeletePHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
partial void InsertPHTGL_Quantity(PHTGL_Quantity instance);
|
||||
partial void UpdatePHTGL_Quantity(PHTGL_Quantity instance);
|
||||
partial void DeletePHTGL_Quantity(PHTGL_Quantity instance);
|
||||
partial void InsertPHTGL_SetSubReview(PHTGL_SetSubReview instance);
|
||||
partial void UpdatePHTGL_SetSubReview(PHTGL_SetSubReview instance);
|
||||
partial void DeletePHTGL_SetSubReview(PHTGL_SetSubReview instance);
|
||||
@@ -4625,6 +4634,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_BidProjectQuantity> PHTGL_BidProjectQuantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_BidProjectQuantity>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_Contract> PHTGL_Contract
|
||||
{
|
||||
get
|
||||
@@ -4649,6 +4666,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_MainProjectQuantity> PHTGL_MainProjectQuantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_MainProjectQuantity>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_Quantity> PHTGL_Quantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_Quantity>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_SetSubReview> PHTGL_SetSubReview
|
||||
{
|
||||
get
|
||||
@@ -176616,6 +176649,212 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_BidProjectQuantity")]
|
||||
public partial class PHTGL_BidProjectQuantity : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _BidProjectQuantityId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _LotNumber;
|
||||
|
||||
private string _BidProjectCode;
|
||||
|
||||
private System.Nullable<bool> _IsMainProject;
|
||||
|
||||
private string _CreatorId;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreateDate;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnBidProjectQuantityIdChanging(string value);
|
||||
partial void OnBidProjectQuantityIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnLotNumberChanging(string value);
|
||||
partial void OnLotNumberChanged();
|
||||
partial void OnBidProjectCodeChanging(string value);
|
||||
partial void OnBidProjectCodeChanged();
|
||||
partial void OnIsMainProjectChanging(System.Nullable<bool> value);
|
||||
partial void OnIsMainProjectChanged();
|
||||
partial void OnCreatorIdChanging(string value);
|
||||
partial void OnCreatorIdChanged();
|
||||
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreateDateChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_BidProjectQuantity()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidProjectQuantityId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string BidProjectQuantityId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidProjectQuantityId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidProjectQuantityId != value))
|
||||
{
|
||||
this.OnBidProjectQuantityIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidProjectQuantityId = value;
|
||||
this.SendPropertyChanged("BidProjectQuantityId");
|
||||
this.OnBidProjectQuantityIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_LotNumber", DbType="NVarChar(50)")]
|
||||
public string LotNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._LotNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._LotNumber != value))
|
||||
{
|
||||
this.OnLotNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._LotNumber = value;
|
||||
this.SendPropertyChanged("LotNumber");
|
||||
this.OnLotNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BidProjectCode", DbType="NVarChar(100)")]
|
||||
public string BidProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BidProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BidProjectCode != value))
|
||||
{
|
||||
this.OnBidProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BidProjectCode = value;
|
||||
this.SendPropertyChanged("BidProjectCode");
|
||||
this.OnBidProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMainProject", DbType="Bit")]
|
||||
public System.Nullable<bool> IsMainProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsMainProject;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsMainProject != value))
|
||||
{
|
||||
this.OnIsMainProjectChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsMainProject = value;
|
||||
this.SendPropertyChanged("IsMainProject");
|
||||
this.OnIsMainProjectChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatorId", DbType="NVarChar(50)")]
|
||||
public string CreatorId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CreatorId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CreatorId != value))
|
||||
{
|
||||
this.OnCreatorIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CreatorId = value;
|
||||
this.SendPropertyChanged("CreatorId");
|
||||
this.OnCreatorIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CreateDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CreateDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CreateDate != value))
|
||||
{
|
||||
this.OnCreateDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CreateDate = value;
|
||||
this.SendPropertyChanged("CreateDate");
|
||||
this.OnCreateDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.PHTGL_Contract")]
|
||||
public partial class PHTGL_Contract : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -180042,6 +180281,586 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_MainProjectQuantity")]
|
||||
public partial class PHTGL_MainProjectQuantity : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _MainProjectQuantityId;
|
||||
|
||||
private string _MainProjectQuantityCode;
|
||||
|
||||
private string _MainProjectQuantityName;
|
||||
|
||||
private string _QuantityId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnMainProjectQuantityIdChanging(string value);
|
||||
partial void OnMainProjectQuantityIdChanged();
|
||||
partial void OnMainProjectQuantityCodeChanging(string value);
|
||||
partial void OnMainProjectQuantityCodeChanged();
|
||||
partial void OnMainProjectQuantityNameChanging(string value);
|
||||
partial void OnMainProjectQuantityNameChanged();
|
||||
partial void OnQuantityIdChanging(string value);
|
||||
partial void OnQuantityIdChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_MainProjectQuantity()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainProjectQuantityId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string MainProjectQuantityId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MainProjectQuantityId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MainProjectQuantityId != value))
|
||||
{
|
||||
this.OnMainProjectQuantityIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MainProjectQuantityId = value;
|
||||
this.SendPropertyChanged("MainProjectQuantityId");
|
||||
this.OnMainProjectQuantityIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainProjectQuantityCode", DbType="NVarChar(100)")]
|
||||
public string MainProjectQuantityCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MainProjectQuantityCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MainProjectQuantityCode != value))
|
||||
{
|
||||
this.OnMainProjectQuantityCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MainProjectQuantityCode = value;
|
||||
this.SendPropertyChanged("MainProjectQuantityCode");
|
||||
this.OnMainProjectQuantityCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainProjectQuantityName", DbType="NVarChar(100)")]
|
||||
public string MainProjectQuantityName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MainProjectQuantityName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MainProjectQuantityName != value))
|
||||
{
|
||||
this.OnMainProjectQuantityNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MainProjectQuantityName = value;
|
||||
this.SendPropertyChanged("MainProjectQuantityName");
|
||||
this.OnMainProjectQuantityNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuantityId", DbType="NVarChar(50)")]
|
||||
public string QuantityId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._QuantityId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._QuantityId != value))
|
||||
{
|
||||
this.OnQuantityIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._QuantityId = value;
|
||||
this.SendPropertyChanged("QuantityId");
|
||||
this.OnQuantityIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.PHTGL_Quantity")]
|
||||
public partial class PHTGL_Quantity : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _Major;
|
||||
|
||||
private string _SubProject;
|
||||
|
||||
private string _SubItemProject;
|
||||
|
||||
private string _ProjectCode;
|
||||
|
||||
private string _ProjectName;
|
||||
|
||||
private string _ProjectDescription;
|
||||
|
||||
private string _UnitOfMeasurement;
|
||||
|
||||
private string _Quantity;
|
||||
|
||||
private string _TotalCostFixedComprehensiveUnitPrice;
|
||||
|
||||
private string _MainMaterialCost;
|
||||
|
||||
private string _TotalPrice;
|
||||
|
||||
private string _CalculationRule;
|
||||
|
||||
private string _WorkContent;
|
||||
|
||||
private string _Remarks;
|
||||
|
||||
private System.Nullable<bool> _IsTemplate;
|
||||
|
||||
private string _ParentId;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnIdChanging(string value);
|
||||
partial void OnIdChanged();
|
||||
partial void OnMajorChanging(string value);
|
||||
partial void OnMajorChanged();
|
||||
partial void OnSubProjectChanging(string value);
|
||||
partial void OnSubProjectChanged();
|
||||
partial void OnSubItemProjectChanging(string value);
|
||||
partial void OnSubItemProjectChanged();
|
||||
partial void OnProjectCodeChanging(string value);
|
||||
partial void OnProjectCodeChanged();
|
||||
partial void OnProjectNameChanging(string value);
|
||||
partial void OnProjectNameChanged();
|
||||
partial void OnProjectDescriptionChanging(string value);
|
||||
partial void OnProjectDescriptionChanged();
|
||||
partial void OnUnitOfMeasurementChanging(string value);
|
||||
partial void OnUnitOfMeasurementChanged();
|
||||
partial void OnQuantityChanging(string value);
|
||||
partial void OnQuantityChanged();
|
||||
partial void OnTotalCostFixedComprehensiveUnitPriceChanging(string value);
|
||||
partial void OnTotalCostFixedComprehensiveUnitPriceChanged();
|
||||
partial void OnMainMaterialCostChanging(string value);
|
||||
partial void OnMainMaterialCostChanged();
|
||||
partial void OnTotalPriceChanging(string value);
|
||||
partial void OnTotalPriceChanged();
|
||||
partial void OnCalculationRuleChanging(string value);
|
||||
partial void OnCalculationRuleChanged();
|
||||
partial void OnWorkContentChanging(string value);
|
||||
partial void OnWorkContentChanged();
|
||||
partial void OnRemarksChanging(string value);
|
||||
partial void OnRemarksChanged();
|
||||
partial void OnIsTemplateChanging(System.Nullable<bool> value);
|
||||
partial void OnIsTemplateChanged();
|
||||
partial void OnParentIdChanging(string value);
|
||||
partial void OnParentIdChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_Quantity()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Id != value))
|
||||
{
|
||||
this.OnIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Id = value;
|
||||
this.SendPropertyChanged("Id");
|
||||
this.OnIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Major", DbType="VarChar(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="_SubProject", DbType="VarChar(50)")]
|
||||
public string SubProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SubProject;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SubProject != value))
|
||||
{
|
||||
this.OnSubProjectChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SubProject = value;
|
||||
this.SendPropertyChanged("SubProject");
|
||||
this.OnSubProjectChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubItemProject", DbType="VarChar(50)")]
|
||||
public string SubItemProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SubItemProject;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SubItemProject != value))
|
||||
{
|
||||
this.OnSubItemProjectChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SubItemProject = value;
|
||||
this.SendPropertyChanged("SubItemProject");
|
||||
this.OnSubItemProjectChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="VarChar(255)")]
|
||||
public string ProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectCode != value))
|
||||
{
|
||||
this.OnProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectCode = value;
|
||||
this.SendPropertyChanged("ProjectCode");
|
||||
this.OnProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(255)")]
|
||||
public string ProjectName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectName != value))
|
||||
{
|
||||
this.OnProjectNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectName = value;
|
||||
this.SendPropertyChanged("ProjectName");
|
||||
this.OnProjectNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(255)")]
|
||||
public string ProjectDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectDescription;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectDescription != value))
|
||||
{
|
||||
this.OnProjectDescriptionChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectDescription = value;
|
||||
this.SendPropertyChanged("ProjectDescription");
|
||||
this.OnProjectDescriptionChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitOfMeasurement", DbType="VarChar(50)")]
|
||||
public string UnitOfMeasurement
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitOfMeasurement;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitOfMeasurement != value))
|
||||
{
|
||||
this.OnUnitOfMeasurementChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitOfMeasurement = value;
|
||||
this.SendPropertyChanged("UnitOfMeasurement");
|
||||
this.OnUnitOfMeasurementChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="VarChar(50)")]
|
||||
public string Quantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Quantity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Quantity != value))
|
||||
{
|
||||
this.OnQuantityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Quantity = value;
|
||||
this.SendPropertyChanged("Quantity");
|
||||
this.OnQuantityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCostFixedComprehensiveUnitPrice", DbType="VarChar(50)")]
|
||||
public string TotalCostFixedComprehensiveUnitPrice
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalCostFixedComprehensiveUnitPrice;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalCostFixedComprehensiveUnitPrice != value))
|
||||
{
|
||||
this.OnTotalCostFixedComprehensiveUnitPriceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalCostFixedComprehensiveUnitPrice = value;
|
||||
this.SendPropertyChanged("TotalCostFixedComprehensiveUnitPrice");
|
||||
this.OnTotalCostFixedComprehensiveUnitPriceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainMaterialCost", DbType="VarChar(50)")]
|
||||
public string MainMaterialCost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MainMaterialCost;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MainMaterialCost != value))
|
||||
{
|
||||
this.OnMainMaterialCostChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MainMaterialCost = value;
|
||||
this.SendPropertyChanged("MainMaterialCost");
|
||||
this.OnMainMaterialCostChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalPrice", DbType="VarChar(50)")]
|
||||
public string TotalPrice
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalPrice;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalPrice != value))
|
||||
{
|
||||
this.OnTotalPriceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalPrice = value;
|
||||
this.SendPropertyChanged("TotalPrice");
|
||||
this.OnTotalPriceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(255)")]
|
||||
public string CalculationRule
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CalculationRule;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CalculationRule != value))
|
||||
{
|
||||
this.OnCalculationRuleChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CalculationRule = value;
|
||||
this.SendPropertyChanged("CalculationRule");
|
||||
this.OnCalculationRuleChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkContent", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
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="_Remarks", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string Remarks
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Remarks;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Remarks != value))
|
||||
{
|
||||
this.OnRemarksChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Remarks = value;
|
||||
this.SendPropertyChanged("Remarks");
|
||||
this.OnRemarksChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsTemplate", DbType="Bit")]
|
||||
public System.Nullable<bool> IsTemplate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsTemplate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsTemplate != value))
|
||||
{
|
||||
this.OnIsTemplateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsTemplate = value;
|
||||
this.SendPropertyChanged("IsTemplate");
|
||||
this.OnIsTemplateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentId", DbType="VarChar(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.PHTGL_SetSubReview")]
|
||||
public partial class PHTGL_SetSubReview : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user