20230630人员自定义卡号验证

This commit is contained in:
2023-06-30 16:24:19 +08:00
parent 5d70c6f745
commit f20df61fe5
12 changed files with 343 additions and 4049 deletions
+93
View File
@@ -18137,6 +18137,8 @@ namespace Model
private EntitySet<Person_TrainingPerson> _Person_TrainingPerson;
private EntitySet<ProjectSupervision_CheckNotice> _ProjectSupervision_CheckNotice;
private EntitySet<Test_TestRecord> _Test_TestRecord;
#region
@@ -18158,6 +18160,7 @@ namespace Model
this._PHTGL_Contract = new EntitySet<PHTGL_Contract>(new Action<PHTGL_Contract>(this.attach_PHTGL_Contract), new Action<PHTGL_Contract>(this.detach_PHTGL_Contract));
this._Person_Persons = new EntitySet<Person_Persons>(new Action<Person_Persons>(this.attach_Person_Persons), new Action<Person_Persons>(this.detach_Person_Persons));
this._Person_TrainingPerson = new EntitySet<Person_TrainingPerson>(new Action<Person_TrainingPerson>(this.attach_Person_TrainingPerson), new Action<Person_TrainingPerson>(this.detach_Person_TrainingPerson));
this._ProjectSupervision_CheckNotice = new EntitySet<ProjectSupervision_CheckNotice>(new Action<ProjectSupervision_CheckNotice>(this.attach_ProjectSupervision_CheckNotice), new Action<ProjectSupervision_CheckNotice>(this.detach_ProjectSupervision_CheckNotice));
this._Test_TestRecord = new EntitySet<Test_TestRecord>(new Action<Test_TestRecord>(this.attach_Test_TestRecord), new Action<Test_TestRecord>(this.detach_Test_TestRecord));
OnCreated();
}
@@ -18281,6 +18284,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProjectSupervision_CheckNotice_Base_Depart", Storage="_ProjectSupervision_CheckNotice", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")]
public EntitySet<ProjectSupervision_CheckNotice> ProjectSupervision_CheckNotice
{
get
{
return this._ProjectSupervision_CheckNotice;
}
set
{
this._ProjectSupervision_CheckNotice.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Test_TestRecord_Base_Depart", Storage="_Test_TestRecord", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")]
public EntitySet<Test_TestRecord> Test_TestRecord
{
@@ -18350,6 +18366,18 @@ namespace Model
entity.Base_Depart = null;
}
private void attach_ProjectSupervision_CheckNotice(ProjectSupervision_CheckNotice entity)
{
this.SendPropertyChanging();
entity.Base_Depart = this;
}
private void detach_ProjectSupervision_CheckNotice(ProjectSupervision_CheckNotice entity)
{
this.SendPropertyChanging();
entity.Base_Depart = null;
}
private void attach_Test_TestRecord(Test_TestRecord entity)
{
this.SendPropertyChanging();
@@ -195095,8 +195123,12 @@ namespace Model
private string _SubjectProjectId;
private string _DepartId;
private EntitySet<ProjectSupervision_Check1> _ProjectSupervision_Check1;
private EntityRef<Base_Depart> _Base_Depart;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Base_Unit> _Base_Unit;
@@ -195143,11 +195175,14 @@ namespace Model
partial void OnSexNameChanged();
partial void OnSubjectProjectIdChanging(string value);
partial void OnSubjectProjectIdChanged();
partial void OnDepartIdChanging(string value);
partial void OnDepartIdChanged();
#endregion
public ProjectSupervision_CheckNotice()
{
this._ProjectSupervision_Check1 = new EntitySet<ProjectSupervision_Check1>(new Action<ProjectSupervision_Check1>(this.attach_ProjectSupervision_Check1), new Action<ProjectSupervision_Check1>(this.detach_ProjectSupervision_Check1));
this._Base_Depart = default(EntityRef<Base_Depart>);
this._Base_Project = default(EntityRef<Base_Project>);
this._Base_Unit = default(EntityRef<Base_Unit>);
this._Person_Persons = default(EntityRef<Person_Persons>);
@@ -195435,6 +195470,30 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")]
public string DepartId
{
get
{
return this._DepartId;
}
set
{
if ((this._DepartId != value))
{
if (this._Base_Depart.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnDepartIdChanging(value);
this.SendPropertyChanging();
this._DepartId = value;
this.SendPropertyChanged("DepartId");
this.OnDepartIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProjectSupervision_Check1_ProjectSupervision_CheckNotice", Storage="_ProjectSupervision_Check1", ThisKey="CheckNoticeId", OtherKey="CheckNoticeId", DeleteRule="NO ACTION")]
public EntitySet<ProjectSupervision_Check1> ProjectSupervision_Check1
{
@@ -195448,6 +195507,40 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProjectSupervision_CheckNotice_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)]
public Base_Depart Base_Depart
{
get
{
return this._Base_Depart.Entity;
}
set
{
Base_Depart previousValue = this._Base_Depart.Entity;
if (((previousValue != value)
|| (this._Base_Depart.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Depart.Entity = null;
previousValue.ProjectSupervision_CheckNotice.Remove(this);
}
this._Base_Depart.Entity = value;
if ((value != null))
{
value.ProjectSupervision_CheckNotice.Add(this);
this._DepartId = value.DepartId;
}
else
{
this._DepartId = default(string);
}
this.SendPropertyChanged("Base_Depart");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProjectSupervision_CheckNotice_Base_Project", Storage="_Base_Project", ThisKey="SubjectProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{