提交代码
This commit is contained in:
+533
-30
@@ -22,7 +22,7 @@ namespace Model
|
||||
using System;
|
||||
|
||||
|
||||
public partial class SGGLDB_WH : System.Data.Linq.DataContext
|
||||
public partial class SGGLDB : System.Data.Linq.DataContext
|
||||
{
|
||||
|
||||
private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
|
||||
@@ -1673,6 +1673,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_TestRunMonthSummary(Person_TestRunMonthSummary instance);
|
||||
partial void UpdatePerson_TestRunMonthSummary(Person_TestRunMonthSummary instance);
|
||||
partial void DeletePerson_TestRunMonthSummary(Person_TestRunMonthSummary instance);
|
||||
partial void InsertPerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
partial void UpdatePerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
partial void DeletePerson_TestRunPerformance(Person_TestRunPerformance instance);
|
||||
@@ -2582,6 +2585,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_TestRunMonthSummaryReport(ZHGL_TestRunMonthSummaryReport instance);
|
||||
partial void UpdateZHGL_TestRunMonthSummaryReport(ZHGL_TestRunMonthSummaryReport instance);
|
||||
partial void DeleteZHGL_TestRunMonthSummaryReport(ZHGL_TestRunMonthSummaryReport instance);
|
||||
partial void InsertZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
partial void UpdateZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
partial void DeleteZHGL_TestRunPerformanceMonthReport(ZHGL_TestRunPerformanceMonthReport instance);
|
||||
@@ -2596,25 +2602,25 @@ namespace Model
|
||||
partial void DeleteZHGL_WorkHandoverDetail(ZHGL_WorkHandoverDetail instance);
|
||||
#endregion
|
||||
|
||||
public SGGLDB_WH(string connection) :
|
||||
public SGGLDB(string connection) :
|
||||
base(connection, mappingSource)
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
public SGGLDB_WH(System.Data.IDbConnection connection) :
|
||||
public SGGLDB(System.Data.IDbConnection connection) :
|
||||
base(connection, mappingSource)
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
public SGGLDB_WH(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
||||
public SGGLDB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
||||
base(connection, mappingSource)
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
public SGGLDB_WH(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
||||
public SGGLDB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
||||
base(connection, mappingSource)
|
||||
{
|
||||
OnCreated();
|
||||
@@ -7012,6 +7018,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_TestRunMonthSummary> Person_TestRunMonthSummary
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Person_TestRunMonthSummary>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Person_TestRunPerformance> Person_TestRunPerformance
|
||||
{
|
||||
get
|
||||
@@ -10452,6 +10466,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<ZHGL_TestRunMonthSummaryReport> ZHGL_TestRunMonthSummaryReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<ZHGL_TestRunMonthSummaryReport>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<ZHGL_TestRunPerformanceMonthReport> ZHGL_TestRunPerformanceMonthReport
|
||||
{
|
||||
get
|
||||
@@ -98339,10 +98361,10 @@ namespace Model
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _CNProfessionalId;
|
||||
|
||||
private string _DraCode;
|
||||
|
||||
private string _CNProfessionalId;
|
||||
|
||||
private System.Nullable<System.DateTime> _ReviewDate;
|
||||
|
||||
private string _UnitWorkId;
|
||||
@@ -98365,10 +98387,10 @@ namespace Model
|
||||
partial void OnIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnCNProfessionalIdChanging(string value);
|
||||
partial void OnCNProfessionalIdChanged();
|
||||
partial void OnDraCodeChanging(string value);
|
||||
partial void OnDraCodeChanged();
|
||||
partial void OnCNProfessionalIdChanging(string value);
|
||||
partial void OnCNProfessionalIdChanged();
|
||||
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnReviewDateChanged();
|
||||
partial void OnUnitWorkIdChanging(string value);
|
||||
@@ -98410,7 +98432,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
@@ -98430,6 +98452,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string DraCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DraCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DraCode != value))
|
||||
{
|
||||
this.OnDraCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DraCode = value;
|
||||
this.SendPropertyChanged("DraCode");
|
||||
this.OnDraCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")]
|
||||
public string CNProfessionalId
|
||||
{
|
||||
@@ -98450,26 +98492,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DraCode", DbType="NVarChar(50)")]
|
||||
public string DraCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DraCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DraCode != value))
|
||||
{
|
||||
this.OnDraCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DraCode = value;
|
||||
this.SendPropertyChanged("DraCode");
|
||||
this.OnDraCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> ReviewDate
|
||||
{
|
||||
@@ -264615,6 +264637,277 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_TestRunMonthSummary")]
|
||||
public partial class Person_TestRunMonthSummary : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TestRunMonthSummaryId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private string _ProcessName;
|
||||
|
||||
private System.Nullable<System.DateTime> _RaiseDate;
|
||||
|
||||
private string _ProblemDescription;
|
||||
|
||||
private string _HandleMethod;
|
||||
|
||||
private string _ExperienceOrSuggestion;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnTestRunMonthSummaryIdChanging(string value);
|
||||
partial void OnTestRunMonthSummaryIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnProcessNameChanging(string value);
|
||||
partial void OnProcessNameChanged();
|
||||
partial void OnRaiseDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRaiseDateChanged();
|
||||
partial void OnProblemDescriptionChanging(string value);
|
||||
partial void OnProblemDescriptionChanged();
|
||||
partial void OnHandleMethodChanging(string value);
|
||||
partial void OnHandleMethodChanged();
|
||||
partial void OnExperienceOrSuggestionChanging(string value);
|
||||
partial void OnExperienceOrSuggestionChanged();
|
||||
#endregion
|
||||
|
||||
public Person_TestRunMonthSummary()
|
||||
{
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunMonthSummaryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TestRunMonthSummaryId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TestRunMonthSummaryId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TestRunMonthSummaryId != value))
|
||||
{
|
||||
this.OnTestRunMonthSummaryIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TestRunMonthSummaryId = value;
|
||||
this.SendPropertyChanged("TestRunMonthSummaryId");
|
||||
this.OnTestRunMonthSummaryIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_ProcessName", DbType="NVarChar(50)")]
|
||||
public string ProcessName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProcessName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProcessName != value))
|
||||
{
|
||||
this.OnProcessNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProcessName = value;
|
||||
this.SendPropertyChanged("ProcessName");
|
||||
this.OnProcessNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RaiseDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RaiseDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RaiseDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RaiseDate != value))
|
||||
{
|
||||
this.OnRaiseDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RaiseDate = value;
|
||||
this.SendPropertyChanged("RaiseDate");
|
||||
this.OnRaiseDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemDescription", DbType="NVarChar(4000)")]
|
||||
public string ProblemDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProblemDescription;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProblemDescription != value))
|
||||
{
|
||||
this.OnProblemDescriptionChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProblemDescription = value;
|
||||
this.SendPropertyChanged("ProblemDescription");
|
||||
this.OnProblemDescriptionChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleMethod", DbType="NVarChar(4000)")]
|
||||
public string HandleMethod
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HandleMethod;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._HandleMethod != value))
|
||||
{
|
||||
this.OnHandleMethodChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._HandleMethod = value;
|
||||
this.SendPropertyChanged("HandleMethod");
|
||||
this.OnHandleMethodChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExperienceOrSuggestion", DbType="NVarChar(4000)")]
|
||||
public string ExperienceOrSuggestion
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ExperienceOrSuggestion;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ExperienceOrSuggestion != value))
|
||||
{
|
||||
this.OnExperienceOrSuggestionChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ExperienceOrSuggestion = value;
|
||||
this.SendPropertyChanged("ExperienceOrSuggestion");
|
||||
this.OnExperienceOrSuggestionChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunMonthSummary_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_TestRunMonthSummary.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Person_TestRunMonthSummary.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_TestRunPerformance")]
|
||||
public partial class Person_TestRunPerformance : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -264635,6 +264928,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _Days;
|
||||
|
||||
private System.Nullable<int> _Num;
|
||||
|
||||
private EntityRef<Base_TestRunPerformanceStandard> _Base_TestRunPerformanceStandard;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -264657,6 +264952,8 @@ namespace Model
|
||||
partial void OnTestRunPerformanceStandardIdChanged();
|
||||
partial void OnDaysChanging(System.Nullable<int> value);
|
||||
partial void OnDaysChanged();
|
||||
partial void OnNumChanging(System.Nullable<int> value);
|
||||
partial void OnNumChanged();
|
||||
#endregion
|
||||
|
||||
public Person_TestRunPerformance()
|
||||
@@ -264814,6 +265111,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num", DbType="Int")]
|
||||
public System.Nullable<int> 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_Person_TestRunPerformance_Base_TestRunPerformanceStandard", Storage="_Base_TestRunPerformanceStandard", ThisKey="TestRunPerformanceStandardId", OtherKey="TestRunPerformanceStandardId", IsForeignKey=true)]
|
||||
public Base_TestRunPerformanceStandard Base_TestRunPerformanceStandard
|
||||
{
|
||||
@@ -340855,6 +341172,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Person_ShuntDetail> _Person_ShuntDetail;
|
||||
|
||||
private EntitySet<Person_TestRunMonthSummary> _Person_TestRunMonthSummary;
|
||||
|
||||
private EntitySet<Person_TestRunPerformance> _Person_TestRunPerformance;
|
||||
|
||||
private EntitySet<Person_TrainingPerson> _Person_TrainingPerson;
|
||||
@@ -341400,6 +341719,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_TestRunMonthSummary = new EntitySet<Person_TestRunMonthSummary>(new Action<Person_TestRunMonthSummary>(this.attach_Person_TestRunMonthSummary), new Action<Person_TestRunMonthSummary>(this.detach_Person_TestRunMonthSummary));
|
||||
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));
|
||||
@@ -345769,6 +346089,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_TestRunMonthSummary_Sys_User", Storage="_Person_TestRunMonthSummary", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_TestRunMonthSummary> Person_TestRunMonthSummary
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Person_TestRunMonthSummary;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Person_TestRunMonthSummary.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[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
|
||||
{
|
||||
@@ -350070,6 +350403,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_TestRunMonthSummary(Person_TestRunMonthSummary entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_Person_TestRunMonthSummary(Person_TestRunMonthSummary entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Person_TestRunPerformance(Person_TestRunPerformance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -443492,6 +443837,164 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ZHGL_TestRunMonthSummaryReport")]
|
||||
public partial class ZHGL_TestRunMonthSummaryReport : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TestRunMonthSummaryReportId;
|
||||
|
||||
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 OnTestRunMonthSummaryReportIdChanging(string value);
|
||||
partial void OnTestRunMonthSummaryReportIdChanged();
|
||||
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_TestRunMonthSummaryReport()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunMonthSummaryReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TestRunMonthSummaryReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TestRunMonthSummaryReportId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TestRunMonthSummaryReportId != value))
|
||||
{
|
||||
this.OnTestRunMonthSummaryReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TestRunMonthSummaryReportId = value;
|
||||
this.SendPropertyChanged("TestRunMonthSummaryReportId");
|
||||
this.OnTestRunMonthSummaryReportIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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_TestRunPerformanceMonthReport")]
|
||||
public partial class ZHGL_TestRunPerformanceMonthReport : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user