20241023 合同管理
This commit is contained in:
+227
-56
@@ -2239,8 +2239,6 @@ namespace Model
|
||||
|
||||
private EntitySet<EMC_OneTimeContractManagement> _EMC_OneTimeContractManagement;
|
||||
|
||||
private EntitySet<FC_ContractManagement> _FC_ContractManagement;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -2259,7 +2257,6 @@ namespace Model
|
||||
{
|
||||
this._EMC_CTSalesContractManagement = new EntitySet<EMC_CTSalesContractManagement>(new Action<EMC_CTSalesContractManagement>(this.attach_EMC_CTSalesContractManagement), new Action<EMC_CTSalesContractManagement>(this.detach_EMC_CTSalesContractManagement));
|
||||
this._EMC_OneTimeContractManagement = new EntitySet<EMC_OneTimeContractManagement>(new Action<EMC_OneTimeContractManagement>(this.attach_EMC_OneTimeContractManagement), new Action<EMC_OneTimeContractManagement>(this.detach_EMC_OneTimeContractManagement));
|
||||
this._FC_ContractManagement = new EntitySet<FC_ContractManagement>(new Action<FC_ContractManagement>(this.attach_FC_ContractManagement), new Action<FC_ContractManagement>(this.detach_FC_ContractManagement));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -2369,19 +2366,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_FC_ContractManagement_Base_FileType", Storage="_FC_ContractManagement", ThisKey="FileTypeId", OtherKey="FileTypeId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<FC_ContractManagement> FC_ContractManagement
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FC_ContractManagement;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._FC_ContractManagement.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -2425,18 +2409,6 @@ namespace Model
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_FileType = null;
|
||||
}
|
||||
|
||||
private void attach_FC_ContractManagement(FC_ContractManagement entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_FileType = this;
|
||||
}
|
||||
|
||||
private void detach_FC_ContractManagement(FC_ContractManagement entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_FileType = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_FOOffset")]
|
||||
@@ -11461,7 +11433,17 @@ namespace Model
|
||||
|
||||
private string _BycDept;
|
||||
|
||||
private EntityRef<Base_FileType> _Base_FileType;
|
||||
private System.Nullable<decimal> _SupplementedBudget;
|
||||
|
||||
private System.Nullable<decimal> _TotalBudget;
|
||||
|
||||
private System.Nullable<System.DateTime> _StartDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _EndDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _AuditDate;
|
||||
|
||||
private string _AuditResult;
|
||||
|
||||
private EntityRef<FC_SESRelatedData> _FC_SESRelatedData;
|
||||
|
||||
@@ -11493,11 +11475,22 @@ namespace Model
|
||||
partial void OnOccurDateChanged();
|
||||
partial void OnBycDeptChanging(string value);
|
||||
partial void OnBycDeptChanged();
|
||||
partial void OnSupplementedBudgetChanging(System.Nullable<decimal> value);
|
||||
partial void OnSupplementedBudgetChanged();
|
||||
partial void OnTotalBudgetChanging(System.Nullable<decimal> value);
|
||||
partial void OnTotalBudgetChanged();
|
||||
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnStartDateChanged();
|
||||
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnEndDateChanged();
|
||||
partial void OnAuditDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnAuditDateChanged();
|
||||
partial void OnAuditResultChanging(string value);
|
||||
partial void OnAuditResultChanged();
|
||||
#endregion
|
||||
|
||||
public FC_ContractManagement()
|
||||
{
|
||||
this._Base_FileType = default(EntityRef<Base_FileType>);
|
||||
this._FC_SESRelatedData = default(EntityRef<FC_SESRelatedData>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
@@ -11578,10 +11571,6 @@ namespace Model
|
||||
{
|
||||
if ((this._FileTypeId != value))
|
||||
{
|
||||
if (this._Base_FileType.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnFileTypeIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FileTypeId = value;
|
||||
@@ -11735,36 +11724,122 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_FC_ContractManagement_Base_FileType", Storage="_Base_FileType", ThisKey="FileTypeId", OtherKey="FileTypeId", IsForeignKey=true)]
|
||||
public Base_FileType Base_FileType
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplementedBudget", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> SupplementedBudget
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_FileType.Entity;
|
||||
return this._SupplementedBudget;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_FileType previousValue = this._Base_FileType.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_FileType.HasLoadedOrAssignedValue == false)))
|
||||
if ((this._SupplementedBudget != value))
|
||||
{
|
||||
this.OnSupplementedBudgetChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_FileType.Entity = null;
|
||||
previousValue.FC_ContractManagement.Remove(this);
|
||||
}
|
||||
this._Base_FileType.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.FC_ContractManagement.Add(this);
|
||||
this._FileTypeId = value.FileTypeId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._FileTypeId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_FileType");
|
||||
this._SupplementedBudget = value;
|
||||
this.SendPropertyChanged("SupplementedBudget");
|
||||
this.OnSupplementedBudgetChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalBudget", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> TotalBudget
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalBudget;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalBudget != value))
|
||||
{
|
||||
this.OnTotalBudgetChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalBudget = value;
|
||||
this.SendPropertyChanged("TotalBudget");
|
||||
this.OnTotalBudgetChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_AuditDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> AuditDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AuditDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AuditDate != value))
|
||||
{
|
||||
this.OnAuditDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AuditDate = value;
|
||||
this.SendPropertyChanged("AuditDate");
|
||||
this.OnAuditDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditResult", DbType="Char(10)")]
|
||||
public string AuditResult
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AuditResult;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AuditResult != value))
|
||||
{
|
||||
this.OnAuditResultChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AuditResult = value;
|
||||
this.SendPropertyChanged("AuditResult");
|
||||
this.OnAuditResultChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14364,6 +14439,14 @@ namespace Model
|
||||
|
||||
private string _OtherDef;
|
||||
|
||||
private System.Nullable<bool> _IfExtend;
|
||||
|
||||
private string _PreviousFO;
|
||||
|
||||
private System.Nullable<decimal> _InitialAllocation;
|
||||
|
||||
private System.Nullable<decimal> _InitialBudget;
|
||||
|
||||
private EntitySet<FC_ContractManagement> _FC_ContractManagement;
|
||||
|
||||
private EntityRef<Base_Contractor> _Base_Contractor;
|
||||
@@ -14534,6 +14617,14 @@ namespace Model
|
||||
partial void OnInquiryNumChanged();
|
||||
partial void OnOtherDefChanging(string value);
|
||||
partial void OnOtherDefChanged();
|
||||
partial void OnIfExtendChanging(System.Nullable<bool> value);
|
||||
partial void OnIfExtendChanged();
|
||||
partial void OnPreviousFOChanging(string value);
|
||||
partial void OnPreviousFOChanged();
|
||||
partial void OnInitialAllocationChanging(System.Nullable<decimal> value);
|
||||
partial void OnInitialAllocationChanged();
|
||||
partial void OnInitialBudgetChanging(System.Nullable<decimal> value);
|
||||
partial void OnInitialBudgetChanged();
|
||||
#endregion
|
||||
|
||||
public FC_SESRelatedData()
|
||||
@@ -15994,6 +16085,86 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IfExtend", DbType="Bit")]
|
||||
public System.Nullable<bool> IfExtend
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IfExtend;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IfExtend != value))
|
||||
{
|
||||
this.OnIfExtendChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IfExtend = value;
|
||||
this.SendPropertyChanged("IfExtend");
|
||||
this.OnIfExtendChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreviousFO", DbType="NVarChar(50)")]
|
||||
public string PreviousFO
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PreviousFO;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PreviousFO != value))
|
||||
{
|
||||
this.OnPreviousFOChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PreviousFO = value;
|
||||
this.SendPropertyChanged("PreviousFO");
|
||||
this.OnPreviousFOChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitialAllocation", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> InitialAllocation
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InitialAllocation;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InitialAllocation != value))
|
||||
{
|
||||
this.OnInitialAllocationChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InitialAllocation = value;
|
||||
this.SendPropertyChanged("InitialAllocation");
|
||||
this.OnInitialAllocationChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitialBudget", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> InitialBudget
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InitialBudget;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InitialBudget != value))
|
||||
{
|
||||
this.OnInitialBudgetChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InitialBudget = value;
|
||||
this.SendPropertyChanged("InitialBudget");
|
||||
this.OnInitialBudgetChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_FC_ContractManagement_FC_SESRelatedData", Storage="_FC_ContractManagement", ThisKey="ID", OtherKey="FC_ID", DeleteRule="NO ACTION")]
|
||||
public EntitySet<FC_ContractManagement> FC_ContractManagement
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user