提交代码
This commit is contained in:
@@ -1631,6 +1631,9 @@ namespace Model
|
||||
partial void InsertPerfomance_PersonPerfomance(Perfomance_PersonPerfomance instance);
|
||||
partial void UpdatePerfomance_PersonPerfomance(Perfomance_PersonPerfomance instance);
|
||||
partial void DeletePerfomance_PersonPerfomance(Perfomance_PersonPerfomance instance);
|
||||
partial void InsertPerson_BusinessTrip(Person_BusinessTrip instance);
|
||||
partial void UpdatePerson_BusinessTrip(Person_BusinessTrip instance);
|
||||
partial void DeletePerson_BusinessTrip(Person_BusinessTrip instance);
|
||||
partial void InsertPerson_CompanyBranchPerson(Person_CompanyBranchPerson instance);
|
||||
partial void UpdatePerson_CompanyBranchPerson(Person_CompanyBranchPerson instance);
|
||||
partial void DeletePerson_CompanyBranchPerson(Person_CompanyBranchPerson instance);
|
||||
@@ -1664,6 +1667,9 @@ namespace Model
|
||||
partial void InsertPerson_ShuntDetail(Person_ShuntDetail instance);
|
||||
partial void UpdatePerson_ShuntDetail(Person_ShuntDetail instance);
|
||||
partial void DeletePerson_ShuntDetail(Person_ShuntDetail instance);
|
||||
partial void InsertPerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
partial void UpdatePerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
partial void DeletePerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
partial void InsertPerson_TrainingCompany(Person_TrainingCompany instance);
|
||||
partial void UpdatePerson_TrainingCompany(Person_TrainingCompany instance);
|
||||
partial void DeletePerson_TrainingCompany(Person_TrainingCompany instance);
|
||||
@@ -2546,6 +2552,9 @@ namespace Model
|
||||
partial void InsertZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
|
||||
partial void UpdateZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
|
||||
partial void DeleteZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
|
||||
partial void InsertZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
partial void UpdateZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
partial void DeleteZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
partial void InsertZHGL_WorkHandover(ZHGL_WorkHandover instance);
|
||||
partial void UpdateZHGL_WorkHandover(ZHGL_WorkHandover instance);
|
||||
partial void DeleteZHGL_WorkHandover(ZHGL_WorkHandover instance);
|
||||
@@ -6861,6 +6870,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_BusinessTrip> Person_BusinessTrip
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Person_BusinessTrip>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_CompanyBranchPerson> Person_CompanyBranchPerson
|
||||
{
|
||||
get
|
||||
@@ -6949,6 +6966,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_TestRunPerformance> Person_TestRunPerformance
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Person_TestRunPerformance>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_TrainingCompany> Person_TrainingCompany
|
||||
{
|
||||
get
|
||||
@@ -10317,6 +10342,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<ZHGL_TestRunPerformanceMonthReport> ZHGL_TestRunPerformanceMonthReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<ZHGL_TestRunPerformanceMonthReport>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<ZHGL_WorkHandover> ZHGL_WorkHandover
|
||||
{
|
||||
get
|
||||
@@ -37503,6 +37536,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _Days;
|
||||
|
||||
private EntitySet<Person_TestRunPerformance> _Person_TestRunPerformance;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -37529,6 +37564,7 @@ namespace Model
|
||||
|
||||
public Base_TestRunPerformanceStandard()
|
||||
{
|
||||
this._Person_TestRunPerformance = new EntitySet<Person_TestRunPerformance>(new Action<Person_TestRunPerformance>(this.attach_Person_TestRunPerformance), new Action<Person_TestRunPerformance>(this.detach_Person_TestRunPerformance));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -37712,6 +37748,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunPerformance_Base_TestRunPerformanceStandard", Storage="_Person_TestRunPerformance", ThisKey="TestRunPerformanceStandardId", OtherKey="TestRunPerformanceStandardId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_TestRunPerformance> Person_TestRunPerformance
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Person_TestRunPerformance;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Person_TestRunPerformance.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -37731,6 +37780,18 @@ namespace Model
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_Person_TestRunPerformance(Person_TestRunPerformance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_TestRunPerformanceStandard = this;
|
||||
}
|
||||
|
||||
private void detach_Person_TestRunPerformance(Person_TestRunPerformance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_TestRunPerformanceStandard = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_TrainLevel")]
|
||||
@@ -122972,6 +123033,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _RequiredTime;
|
||||
|
||||
private string _Num;
|
||||
|
||||
private EntityRef<DriverGoods_GoodsModel> _DriverGoods_GoodsModel;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -122988,6 +123051,8 @@ namespace Model
|
||||
partial void OnQuantityChanged();
|
||||
partial void OnRequiredTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRequiredTimeChanged();
|
||||
partial void OnNumChanging(string value);
|
||||
partial void OnNumChanged();
|
||||
#endregion
|
||||
|
||||
public DriverGoods_GoodsBuyItem()
|
||||
@@ -123100,6 +123165,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num", DbType="NVarChar(50)")]
|
||||
public string Num
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Num;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Num != value))
|
||||
{
|
||||
this.OnNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Num = value;
|
||||
this.SendPropertyChanged("Num");
|
||||
this.OnNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverGoods_GoodsBuyItem_DriverGoods_GoodsModel", Storage="_DriverGoods_GoodsModel", ThisKey="GoodsModelId", OtherKey="GoodsModelId", IsForeignKey=true)]
|
||||
public DriverGoods_GoodsModel DriverGoods_GoodsModel
|
||||
{
|
||||
@@ -259860,6 +259945,229 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_BusinessTrip")]
|
||||
public partial class Person_BusinessTrip : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _BusinessTripId;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private System.Nullable<System.DateTime> _ArriveDate;
|
||||
|
||||
private System.Nullable<System.DateTime> _LeaveDate;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnBusinessTripIdChanging(string value);
|
||||
partial void OnBusinessTripIdChanged();
|
||||
partial void OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnArriveDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnArriveDateChanged();
|
||||
partial void OnLeaveDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnLeaveDateChanged();
|
||||
#endregion
|
||||
|
||||
public Person_BusinessTrip()
|
||||
{
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessTripId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string BusinessTripId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BusinessTripId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BusinessTripId != value))
|
||||
{
|
||||
this.OnBusinessTripIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BusinessTripId = value;
|
||||
this.SendPropertyChanged("BusinessTripId");
|
||||
this.OnBusinessTripIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")]
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Type;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Type != value))
|
||||
{
|
||||
this.OnTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Type = value;
|
||||
this.SendPropertyChanged("Type");
|
||||
this.OnTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_UserId", DbType="NVarChar(50)")]
|
||||
public string UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UserId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UserId != value))
|
||||
{
|
||||
if (this._Sys_User.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUserIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UserId = value;
|
||||
this.SendPropertyChanged("UserId");
|
||||
this.OnUserIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArriveDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> ArriveDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ArriveDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ArriveDate != value))
|
||||
{
|
||||
this.OnArriveDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ArriveDate = value;
|
||||
this.SendPropertyChanged("ArriveDate");
|
||||
this.OnArriveDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeaveDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> LeaveDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._LeaveDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._LeaveDate != value))
|
||||
{
|
||||
this.OnLeaveDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._LeaveDate = value;
|
||||
this.SendPropertyChanged("LeaveDate");
|
||||
this.OnLeaveDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_BusinessTrip_Sys_User", Storage="_Sys_User", ThisKey="UserId", 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.Person_BusinessTrip.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Person_BusinessTrip.Add(this);
|
||||
this._UserId = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UserId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_CompanyBranchPerson")]
|
||||
public partial class Person_CompanyBranchPerson : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -263517,6 +263825,294 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_TestRunPerformance")]
|
||||
public partial class Person_TestRunPerformance : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TestRunPerformanceId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Months;
|
||||
|
||||
private string _JobContent;
|
||||
|
||||
private string _TestRunPerformanceStandardId;
|
||||
|
||||
private System.Nullable<int> _Days;
|
||||
|
||||
private EntityRef<Base_TestRunPerformanceStandard> _Base_TestRunPerformanceStandard;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnTestRunPerformanceIdChanging(string value);
|
||||
partial void OnTestRunPerformanceIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnMonthsChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnMonthsChanged();
|
||||
partial void OnJobContentChanging(string value);
|
||||
partial void OnJobContentChanged();
|
||||
partial void OnTestRunPerformanceStandardIdChanging(string value);
|
||||
partial void OnTestRunPerformanceStandardIdChanged();
|
||||
partial void OnDaysChanging(System.Nullable<int> value);
|
||||
partial void OnDaysChanged();
|
||||
#endregion
|
||||
|
||||
public Person_TestRunPerformance()
|
||||
{
|
||||
this._Base_TestRunPerformanceStandard = default(EntityRef<Base_TestRunPerformanceStandard>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunPerformanceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TestRunPerformanceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TestRunPerformanceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TestRunPerformanceId != value))
|
||||
{
|
||||
this.OnTestRunPerformanceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TestRunPerformanceId = value;
|
||||
this.SendPropertyChanged("TestRunPerformanceId");
|
||||
this.OnTestRunPerformanceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_UserId", DbType="NVarChar(50)")]
|
||||
public string UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UserId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UserId != value))
|
||||
{
|
||||
if (this._Sys_User.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUserIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UserId = value;
|
||||
this.SendPropertyChanged("UserId");
|
||||
this.OnUserIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_JobContent", DbType="NVarChar(300)")]
|
||||
public string JobContent
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JobContent;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JobContent != value))
|
||||
{
|
||||
this.OnJobContentChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._JobContent = value;
|
||||
this.SendPropertyChanged("JobContent");
|
||||
this.OnJobContentChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunPerformanceStandardId", DbType="NVarChar(50)")]
|
||||
public string TestRunPerformanceStandardId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TestRunPerformanceStandardId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TestRunPerformanceStandardId != value))
|
||||
{
|
||||
if (this._Base_TestRunPerformanceStandard.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnTestRunPerformanceStandardIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TestRunPerformanceStandardId = value;
|
||||
this.SendPropertyChanged("TestRunPerformanceStandardId");
|
||||
this.OnTestRunPerformanceStandardIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Days", DbType="Int")]
|
||||
public System.Nullable<int> Days
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Days;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Days != value))
|
||||
{
|
||||
this.OnDaysChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Days = value;
|
||||
this.SendPropertyChanged("Days");
|
||||
this.OnDaysChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunPerformance_Base_TestRunPerformanceStandard", Storage="_Base_TestRunPerformanceStandard", ThisKey="TestRunPerformanceStandardId", OtherKey="TestRunPerformanceStandardId", IsForeignKey=true)]
|
||||
public Base_TestRunPerformanceStandard Base_TestRunPerformanceStandard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_TestRunPerformanceStandard.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_TestRunPerformanceStandard previousValue = this._Base_TestRunPerformanceStandard.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_TestRunPerformanceStandard.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_TestRunPerformanceStandard.Entity = null;
|
||||
previousValue.Person_TestRunPerformance.Remove(this);
|
||||
}
|
||||
this._Base_TestRunPerformanceStandard.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Person_TestRunPerformance.Add(this);
|
||||
this._TestRunPerformanceStandardId = value.TestRunPerformanceStandardId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._TestRunPerformanceStandardId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_TestRunPerformanceStandard");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunPerformance_Sys_User", Storage="_Sys_User", ThisKey="UserId", 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.Person_TestRunPerformance.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Person_TestRunPerformance.Add(this);
|
||||
this._UserId = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UserId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_TrainingCompany")]
|
||||
public partial class Person_TrainingCompany : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -338343,6 +338939,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Perfomance_PersonPerfomance> _Perfomance_PersonPerfomance;
|
||||
|
||||
private EntitySet<Person_BusinessTrip> _Person_BusinessTrip;
|
||||
|
||||
private EntitySet<Person_Duty> _Person_Duty;
|
||||
|
||||
private EntitySet<Person_Duty> _Person_Duty_Sys_User1;
|
||||
@@ -338365,6 +338963,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Person_ShuntDetail> _Person_ShuntDetail;
|
||||
|
||||
private EntitySet<Person_TestRunPerformance> _Person_TestRunPerformance;
|
||||
|
||||
private EntitySet<Person_TrainingPerson> _Person_TrainingPerson;
|
||||
|
||||
private EntitySet<Person_TrainingPlan> _Person_TrainingPlan;
|
||||
@@ -338896,6 +339496,7 @@ namespace Model
|
||||
this._Party_WorkPlan = new EntitySet<Party_WorkPlan>(new Action<Party_WorkPlan>(this.attach_Party_WorkPlan), new Action<Party_WorkPlan>(this.detach_Party_WorkPlan));
|
||||
this._Perfomance_PerfomanceRecord = new EntitySet<Perfomance_PerfomanceRecord>(new Action<Perfomance_PerfomanceRecord>(this.attach_Perfomance_PerfomanceRecord), new Action<Perfomance_PerfomanceRecord>(this.detach_Perfomance_PerfomanceRecord));
|
||||
this._Perfomance_PersonPerfomance = new EntitySet<Perfomance_PersonPerfomance>(new Action<Perfomance_PersonPerfomance>(this.attach_Perfomance_PersonPerfomance), new Action<Perfomance_PersonPerfomance>(this.detach_Perfomance_PersonPerfomance));
|
||||
this._Person_BusinessTrip = new EntitySet<Person_BusinessTrip>(new Action<Person_BusinessTrip>(this.attach_Person_BusinessTrip), new Action<Person_BusinessTrip>(this.detach_Person_BusinessTrip));
|
||||
this._Person_Duty = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty), new Action<Person_Duty>(this.detach_Person_Duty));
|
||||
this._Person_Duty_Sys_User1 = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty_Sys_User1), new Action<Person_Duty>(this.detach_Person_Duty_Sys_User1));
|
||||
this._Person_Duty_Sys_User2 = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty_Sys_User2), new Action<Person_Duty>(this.detach_Person_Duty_Sys_User2));
|
||||
@@ -338907,6 +339508,7 @@ namespace Model
|
||||
this._Person_Shunt = new EntitySet<Person_Shunt>(new Action<Person_Shunt>(this.attach_Person_Shunt), new Action<Person_Shunt>(this.detach_Person_Shunt));
|
||||
this._Person_ShuntApprove = new EntitySet<Person_ShuntApprove>(new Action<Person_ShuntApprove>(this.attach_Person_ShuntApprove), new Action<Person_ShuntApprove>(this.detach_Person_ShuntApprove));
|
||||
this._Person_ShuntDetail = new EntitySet<Person_ShuntDetail>(new Action<Person_ShuntDetail>(this.attach_Person_ShuntDetail), new Action<Person_ShuntDetail>(this.detach_Person_ShuntDetail));
|
||||
this._Person_TestRunPerformance = new EntitySet<Person_TestRunPerformance>(new Action<Person_TestRunPerformance>(this.attach_Person_TestRunPerformance), new Action<Person_TestRunPerformance>(this.detach_Person_TestRunPerformance));
|
||||
this._Person_TrainingPerson = new EntitySet<Person_TrainingPerson>(new Action<Person_TrainingPerson>(this.attach_Person_TrainingPerson), new Action<Person_TrainingPerson>(this.detach_Person_TrainingPerson));
|
||||
this._Person_TrainingPlan = new EntitySet<Person_TrainingPlan>(new Action<Person_TrainingPlan>(this.attach_Person_TrainingPlan), new Action<Person_TrainingPlan>(this.detach_Person_TrainingPlan));
|
||||
this._Person_TrainingPlan_Sys_User1 = new EntitySet<Person_TrainingPlan>(new Action<Person_TrainingPlan>(this.attach_Person_TrainingPlan_Sys_User1), new Action<Person_TrainingPlan>(this.detach_Person_TrainingPlan_Sys_User1));
|
||||
@@ -343119,6 +343721,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_BusinessTrip_Sys_User", Storage="_Person_BusinessTrip", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_BusinessTrip> Person_BusinessTrip
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Person_BusinessTrip;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Person_BusinessTrip.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_Duty_Sys_User", Storage="_Person_Duty", ThisKey="UserId", OtherKey="DutyPersonId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_Duty> Person_Duty
|
||||
{
|
||||
@@ -343262,6 +343877,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunPerformance_Sys_User", Storage="_Person_TestRunPerformance", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_TestRunPerformance> Person_TestRunPerformance
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Person_TestRunPerformance;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Person_TestRunPerformance.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TrainingPerson_Sys_User", Storage="_Person_TrainingPerson", ThisKey="UserId", OtherKey="TrainingUserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_TrainingPerson> Person_TrainingPerson
|
||||
{
|
||||
@@ -347406,6 +348034,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_BusinessTrip(Person_BusinessTrip entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_Person_BusinessTrip(Person_BusinessTrip entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_Duty(Person_Duty entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -347538,6 +348178,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_TestRunPerformance(Person_TestRunPerformance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_Person_TestRunPerformance(Person_TestRunPerformance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_TrainingPerson(Person_TrainingPerson entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -387057,6 +387709,8 @@ namespace Model
|
||||
|
||||
private string _GoodsModelId;
|
||||
|
||||
private string _Num;
|
||||
|
||||
private string _Quantity;
|
||||
|
||||
private System.Nullable<System.DateTime> _RequiredTime;
|
||||
@@ -387125,6 +387779,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num", DbType="NVarChar(50)")]
|
||||
public string Num
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Num;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Num != value))
|
||||
{
|
||||
this._Num = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="NVarChar(50)")]
|
||||
public string Quantity
|
||||
{
|
||||
@@ -439485,6 +440155,164 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ZHGL_TestRunPerformanceMonthReport")]
|
||||
public partial class ZHGL_TestRunPerformanceMonthReport : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TestRunPerformanceMonthReportId;
|
||||
|
||||
private System.Nullable<int> _Year;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnTestRunPerformanceMonthReportIdChanging(string value);
|
||||
partial void OnTestRunPerformanceMonthReportIdChanged();
|
||||
partial void OnYearChanging(System.Nullable<int> value);
|
||||
partial void OnYearChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
#endregion
|
||||
|
||||
public ZHGL_TestRunPerformanceMonthReport()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunPerformanceMonthReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TestRunPerformanceMonthReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TestRunPerformanceMonthReportId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TestRunPerformanceMonthReportId != value))
|
||||
{
|
||||
this.OnTestRunPerformanceMonthReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TestRunPerformanceMonthReportId = value;
|
||||
this.SendPropertyChanged("TestRunPerformanceMonthReportId");
|
||||
this.OnTestRunPerformanceMonthReportIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="Int")]
|
||||
public System.Nullable<int> Year
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Year;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Year != value))
|
||||
{
|
||||
this.OnYearChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Year = value;
|
||||
this.SendPropertyChanged("Year");
|
||||
this.OnYearChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
|
||||
public string UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UserId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UserId != value))
|
||||
{
|
||||
this.OnUserIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UserId = value;
|
||||
this.SendPropertyChanged("UserId");
|
||||
this.OnUserIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
|
||||
public string CompileMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileMan != value))
|
||||
{
|
||||
this.OnCompileManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileMan = value;
|
||||
this.SendPropertyChanged("CompileMan");
|
||||
this.OnCompileManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CompileDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompileDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompileDate != value))
|
||||
{
|
||||
this.OnCompileDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompileDate = value;
|
||||
this.SendPropertyChanged("CompileDate");
|
||||
this.OnCompileDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.ZHGL_WorkHandover")]
|
||||
public partial class ZHGL_WorkHandover : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user