作业票
This commit is contained in:
+43
-139
@@ -243778,6 +243778,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<bool> _IsUpdate;
|
||||
|
||||
private string _SourceDes;
|
||||
|
||||
private EntityRef<Base_LicenseType> _Base_LicenseType;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
@@ -243826,6 +243828,8 @@ namespace Model
|
||||
partial void OnIsHighRiskChanged();
|
||||
partial void OnIsUpdateChanging(System.Nullable<bool> value);
|
||||
partial void OnIsUpdateChanged();
|
||||
partial void OnSourceDesChanging(string value);
|
||||
partial void OnSourceDesChanged();
|
||||
#endregion
|
||||
|
||||
public License_LicenseManager()
|
||||
@@ -244213,6 +244217,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDes", DbType="NVarChar(500)")]
|
||||
public string SourceDes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SourceDes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SourceDes != value))
|
||||
{
|
||||
this.OnSourceDesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SourceDes = value;
|
||||
this.SendPropertyChanged("SourceDes");
|
||||
this.OnSourceDesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_License_LicenseManager_Base_LicenseType", Storage="_Base_LicenseType", ThisKey="LicenseTypeId", OtherKey="LicenseTypeId", IsForeignKey=true)]
|
||||
public Base_LicenseType Base_LicenseType
|
||||
{
|
||||
@@ -354783,8 +354807,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<SitePerson_Person> _SitePerson_Person;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -354822,7 +354844,6 @@ namespace Model
|
||||
public SitePerson_Checking()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._SitePerson_Person = default(EntityRef<SitePerson_Person>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -355021,10 +355042,6 @@ namespace Model
|
||||
{
|
||||
if ((this._PersonId != value))
|
||||
{
|
||||
if (this._SitePerson_Person.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnPersonIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PersonId = value;
|
||||
@@ -355148,40 +355165,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_Checking_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)]
|
||||
public SitePerson_Person SitePerson_Person
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SitePerson_Person.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
SitePerson_Person previousValue = this._SitePerson_Person.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._SitePerson_Person.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._SitePerson_Person.Entity = null;
|
||||
previousValue.SitePerson_Checking.Remove(this);
|
||||
}
|
||||
this._SitePerson_Person.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SitePerson_Checking.Add(this);
|
||||
this._PersonId = value.PersonId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._PersonId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("SitePerson_Person");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -357688,8 +357671,6 @@ namespace Model
|
||||
|
||||
private EntitySet<QualityAudit_SafePersonQuality> _QualityAudit_SafePersonQuality;
|
||||
|
||||
private EntitySet<SitePerson_Checking> _SitePerson_Checking;
|
||||
|
||||
private EntityRef<Base_Depart> _Base_Depart;
|
||||
|
||||
private EntityRef<Base_Position> _Base_Position;
|
||||
@@ -357706,8 +357687,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
private EntitySet<SitePerson_PersonInOut> _SitePerson_PersonInOut;
|
||||
|
||||
private EntitySet<Training_Task> _Training_Task;
|
||||
|
||||
private EntitySet<Training_TaskItem> _Training_TaskItem;
|
||||
@@ -357865,7 +357844,6 @@ namespace Model
|
||||
this._QualityAudit_EquipmentPersonQuality = new EntitySet<QualityAudit_EquipmentPersonQuality>(new Action<QualityAudit_EquipmentPersonQuality>(this.attach_QualityAudit_EquipmentPersonQuality), new Action<QualityAudit_EquipmentPersonQuality>(this.detach_QualityAudit_EquipmentPersonQuality));
|
||||
this._QualityAudit_PersonQuality = new EntitySet<QualityAudit_PersonQuality>(new Action<QualityAudit_PersonQuality>(this.attach_QualityAudit_PersonQuality), new Action<QualityAudit_PersonQuality>(this.detach_QualityAudit_PersonQuality));
|
||||
this._QualityAudit_SafePersonQuality = new EntitySet<QualityAudit_SafePersonQuality>(new Action<QualityAudit_SafePersonQuality>(this.attach_QualityAudit_SafePersonQuality), new Action<QualityAudit_SafePersonQuality>(this.detach_QualityAudit_SafePersonQuality));
|
||||
this._SitePerson_Checking = new EntitySet<SitePerson_Checking>(new Action<SitePerson_Checking>(this.attach_SitePerson_Checking), new Action<SitePerson_Checking>(this.detach_SitePerson_Checking));
|
||||
this._Base_Depart = default(EntityRef<Base_Depart>);
|
||||
this._Base_Position = default(EntityRef<Base_Position>);
|
||||
this._Base_PostTitle = default(EntityRef<Base_PostTitle>);
|
||||
@@ -357874,7 +357852,6 @@ namespace Model
|
||||
this._Base_WorkPost = default(EntityRef<Base_WorkPost>);
|
||||
this._ProjectData_TeamGroup = default(EntityRef<ProjectData_TeamGroup>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
this._SitePerson_PersonInOut = new EntitySet<SitePerson_PersonInOut>(new Action<SitePerson_PersonInOut>(this.attach_SitePerson_PersonInOut), new Action<SitePerson_PersonInOut>(this.detach_SitePerson_PersonInOut));
|
||||
this._Training_Task = new EntitySet<Training_Task>(new Action<Training_Task>(this.attach_Training_Task), new Action<Training_Task>(this.detach_Training_Task));
|
||||
this._Training_TaskItem = new EntitySet<Training_TaskItem>(new Action<Training_TaskItem>(this.attach_Training_TaskItem), new Action<Training_TaskItem>(this.detach_Training_TaskItem));
|
||||
this._Training_TestRecord = new EntitySet<Training_TestRecord>(new Action<Training_TestRecord>(this.attach_Training_TestRecord), new Action<Training_TestRecord>(this.detach_Training_TestRecord));
|
||||
@@ -359369,19 +359346,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_Checking_SitePerson_Person", Storage="_SitePerson_Checking", ThisKey="PersonId", OtherKey="PersonId", 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_SitePerson_Person_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)]
|
||||
public Base_Depart Base_Depart
|
||||
{
|
||||
@@ -359654,19 +359618,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_PersonInOut_SitePerson_Person", Storage="_SitePerson_PersonInOut", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SitePerson_PersonInOut> SitePerson_PersonInOut
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SitePerson_PersonInOut;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._SitePerson_PersonInOut.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_SitePerson_Person", Storage="_Training_Task", ThisKey="PersonId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Training_Task> Training_Task
|
||||
{
|
||||
@@ -359919,30 +359870,6 @@ namespace Model
|
||||
entity.SitePerson_Person = null;
|
||||
}
|
||||
|
||||
private void attach_SitePerson_Checking(SitePerson_Checking entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SitePerson_Person = this;
|
||||
}
|
||||
|
||||
private void detach_SitePerson_Checking(SitePerson_Checking entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SitePerson_Person = null;
|
||||
}
|
||||
|
||||
private void attach_SitePerson_PersonInOut(SitePerson_PersonInOut entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SitePerson_Person = this;
|
||||
}
|
||||
|
||||
private void detach_SitePerson_PersonInOut(SitePerson_PersonInOut entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SitePerson_Person = null;
|
||||
}
|
||||
|
||||
private void attach_Training_Task(Training_Task entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -361097,8 +361024,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<SitePerson_Person> _SitePerson_Person;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -361133,7 +361058,6 @@ namespace Model
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._SitePerson_Person = default(EntityRef<SitePerson_Person>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -361216,10 +361140,6 @@ namespace Model
|
||||
{
|
||||
if ((this._PersonId != value))
|
||||
{
|
||||
if (this._SitePerson_Person.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnPersonIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PersonId = value;
|
||||
@@ -361457,40 +361377,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SitePerson_PersonInOut_SitePerson_Person", Storage="_SitePerson_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)]
|
||||
public SitePerson_Person SitePerson_Person
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SitePerson_Person.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
SitePerson_Person previousValue = this._SitePerson_Person.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._SitePerson_Person.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._SitePerson_Person.Entity = null;
|
||||
previousValue.SitePerson_PersonInOut.Remove(this);
|
||||
}
|
||||
this._SitePerson_Person.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SitePerson_PersonInOut.Add(this);
|
||||
this._PersonId = value.PersonId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._PersonId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("SitePerson_Person");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -431042,7 +430928,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="riskLevel", Storage="_RiskLevel", DbType="VarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="riskLevel", Storage="_RiskLevel", DbType="VarChar(4) NOT NULL", CanBeNull=false)]
|
||||
public string RiskLevel
|
||||
{
|
||||
get
|
||||
@@ -454995,6 +454881,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<bool> _IsUpdate;
|
||||
|
||||
private string _SourceDes;
|
||||
|
||||
private string _WorkStatesStr;
|
||||
|
||||
private string _WorkAreaName;
|
||||
@@ -455387,6 +455275,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDes", DbType="NVarChar(500)")]
|
||||
public string SourceDes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SourceDes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SourceDes != value))
|
||||
{
|
||||
this._SourceDes = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkStatesStr", DbType="VarChar(6) NOT NULL", CanBeNull=false)]
|
||||
public string WorkStatesStr
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user