20210830
This commit is contained in:
+142
-76
@@ -15662,6 +15662,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Comprehensive_DesignChangeOrder> _Comprehensive_DesignChangeOrder;
|
||||
|
||||
private EntitySet<Comprehensive_DesignDrawings> _Comprehensive_DesignDrawings;
|
||||
|
||||
private EntitySet<Comprehensive_GeneralPlanApproval> _Comprehensive_GeneralPlanApproval;
|
||||
|
||||
private EntitySet<Comprehensive_InspectionEquipment> _Comprehensive_InspectionEquipment;
|
||||
@@ -15702,6 +15704,7 @@ namespace Model
|
||||
this._Base_DesignProfessional = new EntitySet<Base_DesignProfessional>(new Action<Base_DesignProfessional>(this.attach_Base_DesignProfessional), new Action<Base_DesignProfessional>(this.detach_Base_DesignProfessional));
|
||||
this._Comprehensive_DataDistribution = new EntitySet<Comprehensive_DataDistribution>(new Action<Comprehensive_DataDistribution>(this.attach_Comprehensive_DataDistribution), new Action<Comprehensive_DataDistribution>(this.detach_Comprehensive_DataDistribution));
|
||||
this._Comprehensive_DesignChangeOrder = new EntitySet<Comprehensive_DesignChangeOrder>(new Action<Comprehensive_DesignChangeOrder>(this.attach_Comprehensive_DesignChangeOrder), new Action<Comprehensive_DesignChangeOrder>(this.detach_Comprehensive_DesignChangeOrder));
|
||||
this._Comprehensive_DesignDrawings = new EntitySet<Comprehensive_DesignDrawings>(new Action<Comprehensive_DesignDrawings>(this.attach_Comprehensive_DesignDrawings), new Action<Comprehensive_DesignDrawings>(this.detach_Comprehensive_DesignDrawings));
|
||||
this._Comprehensive_GeneralPlanApproval = new EntitySet<Comprehensive_GeneralPlanApproval>(new Action<Comprehensive_GeneralPlanApproval>(this.attach_Comprehensive_GeneralPlanApproval), new Action<Comprehensive_GeneralPlanApproval>(this.detach_Comprehensive_GeneralPlanApproval));
|
||||
this._Comprehensive_InspectionEquipment = new EntitySet<Comprehensive_InspectionEquipment>(new Action<Comprehensive_InspectionEquipment>(this.attach_Comprehensive_InspectionEquipment), new Action<Comprehensive_InspectionEquipment>(this.detach_Comprehensive_InspectionEquipment));
|
||||
this._Comprehensive_MajorPlanApproval = new EntitySet<Comprehensive_MajorPlanApproval>(new Action<Comprehensive_MajorPlanApproval>(this.attach_Comprehensive_MajorPlanApproval), new Action<Comprehensive_MajorPlanApproval>(this.detach_Comprehensive_MajorPlanApproval));
|
||||
@@ -15847,6 +15850,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_Base_CNProfessional", Storage="_Comprehensive_DesignDrawings", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_DesignDrawings> Comprehensive_DesignDrawings
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Comprehensive_DesignDrawings;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Comprehensive_DesignDrawings.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_GeneralPlanApproval_Base_CNProfessional", Storage="_Comprehensive_GeneralPlanApproval", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_GeneralPlanApproval> Comprehensive_GeneralPlanApproval
|
||||
{
|
||||
@@ -16045,6 +16061,18 @@ namespace Model
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_DesignDrawings(Comprehensive_DesignDrawings entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = this;
|
||||
}
|
||||
|
||||
private void detach_Comprehensive_DesignDrawings(Comprehensive_DesignDrawings entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_GeneralPlanApproval(Comprehensive_GeneralPlanApproval entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -68325,6 +68353,8 @@ namespace Model
|
||||
|
||||
private string _UnitWorkId;
|
||||
|
||||
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -68363,6 +68393,7 @@ namespace Model
|
||||
|
||||
public Comprehensive_DesignDrawings()
|
||||
{
|
||||
this._Base_CNProfessional = default(EntityRef<Base_CNProfessional>);
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
}
|
||||
@@ -68422,6 +68453,10 @@ namespace Model
|
||||
{
|
||||
if ((this._CNProfessionalId != value))
|
||||
{
|
||||
if (this._Base_CNProfessional.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnCNProfessionalIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CNProfessionalId = value;
|
||||
@@ -68651,6 +68686,40 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||
public Base_CNProfessional Base_CNProfessional
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_CNProfessional.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_CNProfessional previousValue = this._Base_CNProfessional.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_CNProfessional.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_CNProfessional.Entity = null;
|
||||
previousValue.Comprehensive_DesignDrawings.Remove(this);
|
||||
}
|
||||
this._Base_CNProfessional.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Comprehensive_DesignDrawings.Add(this);
|
||||
this._CNProfessionalId = value.CNProfessionalId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CNProfessionalId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_CNProfessional");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignDrawings_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -232210,6 +232279,8 @@ namespace Model
|
||||
|
||||
private string _ProShortName;
|
||||
|
||||
private string _JTproCode;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -232222,6 +232293,8 @@ namespace Model
|
||||
partial void OnProNameChanged();
|
||||
partial void OnProShortNameChanging(string value);
|
||||
partial void OnProShortNameChanged();
|
||||
partial void OnJTproCodeChanging(string value);
|
||||
partial void OnJTproCodeChanged();
|
||||
#endregion
|
||||
|
||||
public RealName_Project()
|
||||
@@ -232309,6 +232382,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JTproCode", DbType="NVarChar(50)")]
|
||||
public string JTproCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JTproCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JTproCode != value))
|
||||
{
|
||||
this.OnJTproCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._JTproCode = value;
|
||||
this.SendPropertyChanged("JTproCode");
|
||||
this.OnJTproCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -244483,8 +244576,6 @@ namespace Model
|
||||
|
||||
private EntityRef<SitePerson_Person> _SitePerson_Person;
|
||||
|
||||
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -244517,7 +244608,6 @@ namespace Model
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._SitePerson_Person = default(EntityRef<SitePerson_Person>);
|
||||
this._WBS_UnitWork = default(EntityRef<WBS_UnitWork>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -244585,7 +244675,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkAreaId
|
||||
{
|
||||
get
|
||||
@@ -244596,10 +244686,6 @@ namespace Model
|
||||
{
|
||||
if ((this._WorkAreaId != value))
|
||||
{
|
||||
if (this._WBS_UnitWork.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnWorkAreaIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkAreaId = value;
|
||||
@@ -244609,7 +244695,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(18)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(50)")]
|
||||
public string IdentityCard
|
||||
{
|
||||
get
|
||||
@@ -244669,7 +244755,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
|
||||
public string Address
|
||||
{
|
||||
get
|
||||
@@ -244733,7 +244819,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkAreaName
|
||||
{
|
||||
get
|
||||
@@ -244821,40 +244907,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_Checking_WBS_UnitWork", Storage="_WBS_UnitWork", ThisKey="WorkAreaId", OtherKey="UnitWorkId", IsForeignKey=true)]
|
||||
public WBS_UnitWork WBS_UnitWork
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_UnitWork.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_UnitWork previousValue = this._WBS_UnitWork.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_UnitWork.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_UnitWork.Entity = null;
|
||||
previousValue.SitePerson_Checking.Remove(this);
|
||||
}
|
||||
this._WBS_UnitWork.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SitePerson_Checking.Add(this);
|
||||
this._WorkAreaId = value.UnitWorkId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._WorkAreaId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_UnitWork");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -247150,6 +247202,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _RealNameUpdateTime;
|
||||
|
||||
private System.Nullable<bool> _IsCardNoOK;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
|
||||
private EntitySet<Accident_AccidentReportOtherItem> _Accident_AccidentReportOtherItem;
|
||||
@@ -247328,6 +247382,8 @@ namespace Model
|
||||
partial void OnRealNameAddTimeChanged();
|
||||
partial void OnRealNameUpdateTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRealNameUpdateTimeChanged();
|
||||
partial void OnIsCardNoOKChanging(System.Nullable<bool> value);
|
||||
partial void OnIsCardNoOKChanged();
|
||||
#endregion
|
||||
|
||||
public SitePerson_Person()
|
||||
@@ -248556,6 +248612,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCardNoOK", DbType="Bit")]
|
||||
public System.Nullable<bool> IsCardNoOK
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsCardNoOK;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsCardNoOK != value))
|
||||
{
|
||||
this.OnIsCardNoOKChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsCardNoOK = value;
|
||||
this.SendPropertyChanged("IsCardNoOK");
|
||||
this.OnIsCardNoOKChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
|
||||
{
|
||||
@@ -249494,6 +249570,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<System.DateTime> _RealNameUpdateTime;
|
||||
|
||||
private System.Nullable<bool> _IsCardNoOK;
|
||||
|
||||
public SitePerson_Person_Bak()
|
||||
{
|
||||
}
|
||||
@@ -250425,6 +250503,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCardNoOK", DbType="Bit")]
|
||||
public System.Nullable<bool> IsCardNoOK
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsCardNoOK;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsCardNoOK != value))
|
||||
{
|
||||
this._IsCardNoOK = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SitePerson_PersonInOut")]
|
||||
@@ -326248,7 +326342,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkAreaId
|
||||
{
|
||||
get
|
||||
@@ -326296,7 +326390,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
|
||||
public string Address
|
||||
{
|
||||
get
|
||||
@@ -326312,7 +326406,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkAreaName
|
||||
{
|
||||
get
|
||||
@@ -341805,8 +341899,6 @@ namespace Model
|
||||
|
||||
private EntitySet<PTP_TestPackage> _PTP_TestPackage;
|
||||
|
||||
private EntitySet<SitePerson_Checking> _SitePerson_Checking;
|
||||
|
||||
private EntitySet<Solution_LargerHazardListItem> _Solution_LargerHazardListItem;
|
||||
|
||||
private EntitySet<WBS_ForeignBreakdownProject> _WBS_ForeignBreakdownProject;
|
||||
@@ -341896,7 +341988,6 @@ namespace Model
|
||||
this._ProduceTestRun_TestRunRecord = new EntitySet<ProduceTestRun_TestRunRecord>(new Action<ProduceTestRun_TestRunRecord>(this.attach_ProduceTestRun_TestRunRecord), new Action<ProduceTestRun_TestRunRecord>(this.detach_ProduceTestRun_TestRunRecord));
|
||||
this._ProduceTestRun_TestRunReport = new EntitySet<ProduceTestRun_TestRunReport>(new Action<ProduceTestRun_TestRunReport>(this.attach_ProduceTestRun_TestRunReport), new Action<ProduceTestRun_TestRunReport>(this.detach_ProduceTestRun_TestRunReport));
|
||||
this._PTP_TestPackage = new EntitySet<PTP_TestPackage>(new Action<PTP_TestPackage>(this.attach_PTP_TestPackage), new Action<PTP_TestPackage>(this.detach_PTP_TestPackage));
|
||||
this._SitePerson_Checking = new EntitySet<SitePerson_Checking>(new Action<SitePerson_Checking>(this.attach_SitePerson_Checking), new Action<SitePerson_Checking>(this.detach_SitePerson_Checking));
|
||||
this._Solution_LargerHazardListItem = new EntitySet<Solution_LargerHazardListItem>(new Action<Solution_LargerHazardListItem>(this.attach_Solution_LargerHazardListItem), new Action<Solution_LargerHazardListItem>(this.detach_Solution_LargerHazardListItem));
|
||||
this._WBS_ForeignBreakdownProject = new EntitySet<WBS_ForeignBreakdownProject>(new Action<WBS_ForeignBreakdownProject>(this.attach_WBS_ForeignBreakdownProject), new Action<WBS_ForeignBreakdownProject>(this.detach_WBS_ForeignBreakdownProject));
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
@@ -342737,19 +342828,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_Checking_WBS_UnitWork", Storage="_SitePerson_Checking", ThisKey="UnitWorkId", OtherKey="WorkAreaId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SitePerson_Checking> SitePerson_Checking
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SitePerson_Checking;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._SitePerson_Checking.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Solution_LargerHazardListItem_WBS_UnitWork", Storage="_Solution_LargerHazardListItem", ThisKey="UnitWorkId", OtherKey="UnitWorkId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Solution_LargerHazardListItem> Solution_LargerHazardListItem
|
||||
{
|
||||
@@ -343427,18 +343505,6 @@ namespace Model
|
||||
entity.WBS_UnitWork = null;
|
||||
}
|
||||
|
||||
private void attach_SitePerson_Checking(SitePerson_Checking entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_UnitWork = this;
|
||||
}
|
||||
|
||||
private void detach_SitePerson_Checking(SitePerson_Checking entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_UnitWork = null;
|
||||
}
|
||||
|
||||
private void attach_Solution_LargerHazardListItem(Solution_LargerHazardListItem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user