20210816
This commit is contained in:
+265
-69
@@ -1484,6 +1484,9 @@ namespace Model
|
||||
partial void InsertRealName_Country(RealName_Country instance);
|
||||
partial void UpdateRealName_Country(RealName_Country instance);
|
||||
partial void DeleteRealName_Country(RealName_Country instance);
|
||||
partial void InsertRealName_LeavePost(RealName_LeavePost instance);
|
||||
partial void UpdateRealName_LeavePost(RealName_LeavePost instance);
|
||||
partial void DeleteRealName_LeavePost(RealName_LeavePost instance);
|
||||
partial void InsertRealName_PersonInOutNow(RealName_PersonInOutNow instance);
|
||||
partial void UpdateRealName_PersonInOutNow(RealName_PersonInOutNow instance);
|
||||
partial void DeleteRealName_PersonInOutNow(RealName_PersonInOutNow instance);
|
||||
@@ -5920,6 +5923,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<RealName_LeavePost> RealName_LeavePost
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<RealName_LeavePost>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<RealName_PersonInOutNow> RealName_PersonInOutNow
|
||||
{
|
||||
get
|
||||
@@ -231434,6 +231445,260 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.RealName_LeavePost")]
|
||||
public partial class RealName_LeavePost : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _NewId;
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _PersonName;
|
||||
|
||||
private string _IdentityCard;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _ProjectCode;
|
||||
|
||||
private string _ProjectShortName;
|
||||
|
||||
private System.Nullable<System.DateTime> _InTime;
|
||||
|
||||
private System.Nullable<System.DateTime> _OutTime;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnNewIdChanging(string value);
|
||||
partial void OnNewIdChanged();
|
||||
partial void OnIdChanging(string value);
|
||||
partial void OnIdChanged();
|
||||
partial void OnPersonNameChanging(string value);
|
||||
partial void OnPersonNameChanged();
|
||||
partial void OnIdentityCardChanging(string value);
|
||||
partial void OnIdentityCardChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnProjectCodeChanging(string value);
|
||||
partial void OnProjectCodeChanged();
|
||||
partial void OnProjectShortNameChanging(string value);
|
||||
partial void OnProjectShortNameChanged();
|
||||
partial void OnInTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnInTimeChanged();
|
||||
partial void OnOutTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOutTimeChanged();
|
||||
#endregion
|
||||
|
||||
public RealName_LeavePost()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string NewId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NewId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NewId != value))
|
||||
{
|
||||
this.OnNewIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NewId = value;
|
||||
this.SendPropertyChanged("NewId");
|
||||
this.OnNewIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50)")]
|
||||
public string Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Id != value))
|
||||
{
|
||||
this.OnIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Id = value;
|
||||
this.SendPropertyChanged("Id");
|
||||
this.OnIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonName", DbType="NVarChar(100)")]
|
||||
public string PersonName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PersonName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PersonName != value))
|
||||
{
|
||||
this.OnPersonNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PersonName = value;
|
||||
this.SendPropertyChanged("PersonName");
|
||||
this.OnPersonNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(50)")]
|
||||
public string IdentityCard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IdentityCard;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IdentityCard != value))
|
||||
{
|
||||
this.OnIdentityCardChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IdentityCard = value;
|
||||
this.SendPropertyChanged("IdentityCard");
|
||||
this.OnIdentityCardChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_ProjectCode", DbType="NVarChar(50)")]
|
||||
public string ProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectCode != value))
|
||||
{
|
||||
this.OnProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectCode = value;
|
||||
this.SendPropertyChanged("ProjectCode");
|
||||
this.OnProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectShortName", DbType="NVarChar(50)")]
|
||||
public string ProjectShortName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectShortName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectShortName != value))
|
||||
{
|
||||
this.OnProjectShortNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectShortName = value;
|
||||
this.SendPropertyChanged("ProjectShortName");
|
||||
this.OnProjectShortNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> InTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InTime != value))
|
||||
{
|
||||
this.OnInTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InTime = value;
|
||||
this.SendPropertyChanged("InTime");
|
||||
this.OnInTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> OutTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OutTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OutTime != value))
|
||||
{
|
||||
this.OnOutTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OutTime = value;
|
||||
this.SendPropertyChanged("OutTime");
|
||||
this.OnOutTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.RealName_PersonInOutNow")]
|
||||
public partial class RealName_PersonInOutNow : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -335094,8 +335359,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
private EntityRef<WBS_DivisionProject> _WBS_DivisionProject;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -335154,7 +335417,6 @@ namespace Model
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
this._WBS_DivisionProject = default(EntityRef<WBS_DivisionProject>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -335253,10 +335515,6 @@ namespace Model
|
||||
{
|
||||
if ((this._DivisionProjectId != value))
|
||||
{
|
||||
if (this._WBS_DivisionProject.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnDivisionProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DivisionProjectId = value;
|
||||
@@ -335718,40 +335976,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_BreakdownProject_WBS_DivisionProject", Storage="_WBS_DivisionProject", ThisKey="DivisionProjectId", OtherKey="DivisionProjectId", IsForeignKey=true)]
|
||||
public WBS_DivisionProject WBS_DivisionProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_DivisionProject.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_DivisionProject previousValue = this._WBS_DivisionProject.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_DivisionProject.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_DivisionProject.Entity = null;
|
||||
previousValue.WBS_BreakdownProject.Remove(this);
|
||||
}
|
||||
this._WBS_DivisionProject.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_BreakdownProject.Add(this);
|
||||
this._DivisionProjectId = value.DivisionProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._DivisionProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_DivisionProject");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -339151,8 +339375,6 @@ namespace Model
|
||||
|
||||
private string _OldDivisionId;
|
||||
|
||||
private EntitySet<WBS_BreakdownProject> _WBS_BreakdownProject;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -339183,7 +339405,6 @@ namespace Model
|
||||
|
||||
public WBS_DivisionProject()
|
||||
{
|
||||
this._WBS_BreakdownProject = new EntitySet<WBS_BreakdownProject>(new Action<WBS_BreakdownProject>(this.attach_WBS_BreakdownProject), new Action<WBS_BreakdownProject>(this.detach_WBS_BreakdownProject));
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
}
|
||||
@@ -339392,19 +339613,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_BreakdownProject_WBS_DivisionProject", Storage="_WBS_BreakdownProject", ThisKey="DivisionProjectId", OtherKey="DivisionProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_BreakdownProject> WBS_BreakdownProject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_BreakdownProject;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_BreakdownProject.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_DivisionProject_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -339458,18 +339666,6 @@ namespace Model
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_WBS_BreakdownProject(WBS_BreakdownProject entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_DivisionProject = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_BreakdownProject(WBS_BreakdownProject entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_DivisionProject = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_ForeignBreakdown")]
|
||||
|
||||
Reference in New Issue
Block a user