提交代码
This commit is contained in:
@@ -770,6 +770,9 @@ namespace Model
|
||||
partial void InsertDriverRun_DriverRun(DriverRun_DriverRun instance);
|
||||
partial void UpdateDriverRun_DriverRun(DriverRun_DriverRun instance);
|
||||
partial void DeleteDriverRun_DriverRun(DriverRun_DriverRun instance);
|
||||
partial void InsertDriverRun_DriverRunApprove(DriverRun_DriverRunApprove instance);
|
||||
partial void UpdateDriverRun_DriverRunApprove(DriverRun_DriverRunApprove instance);
|
||||
partial void DeleteDriverRun_DriverRunApprove(DriverRun_DriverRunApprove instance);
|
||||
partial void InsertDriverRun_DriverRunContact(DriverRun_DriverRunContact instance);
|
||||
partial void UpdateDriverRun_DriverRunContact(DriverRun_DriverRunContact instance);
|
||||
partial void DeleteDriverRun_DriverRunContact(DriverRun_DriverRunContact instance);
|
||||
@@ -4533,6 +4536,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<DriverRun_DriverRunApprove> DriverRun_DriverRunApprove
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<DriverRun_DriverRunApprove>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<DriverRun_DriverRunContact> DriverRun_DriverRunContact
|
||||
{
|
||||
get
|
||||
@@ -127179,6 +127190,12 @@ namespace Model
|
||||
|
||||
private string _SolutionType;
|
||||
|
||||
private string _FileCode;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _PlanCompletedDate;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -127193,6 +127210,12 @@ namespace Model
|
||||
partial void OnSortIndexChanged();
|
||||
partial void OnSolutionTypeChanging(string value);
|
||||
partial void OnSolutionTypeChanged();
|
||||
partial void OnFileCodeChanging(string value);
|
||||
partial void OnFileCodeChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnPlanCompletedDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnPlanCompletedDateChanged();
|
||||
#endregion
|
||||
|
||||
public DriverPrepare_SchemePlanItem()
|
||||
@@ -127300,6 +127323,66 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(100)")]
|
||||
public string FileCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FileCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FileCode != value))
|
||||
{
|
||||
this.OnFileCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FileCode = value;
|
||||
this.SendPropertyChanged("FileCode");
|
||||
this.OnFileCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_PlanCompletedDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> PlanCompletedDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanCompletedDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanCompletedDate != value))
|
||||
{
|
||||
this.OnPlanCompletedDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanCompletedDate = value;
|
||||
this.SendPropertyChanged("PlanCompletedDate");
|
||||
this.OnPlanCompletedDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -127343,10 +127426,28 @@ namespace Model
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _InstallationId;
|
||||
|
||||
private string _InstallationNames;
|
||||
|
||||
private string _Objective;
|
||||
|
||||
private System.Nullable<System.DateTime> _NeedCompletedDate;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private string _State;
|
||||
|
||||
private System.Nullable<System.DateTime> _RealCompletedDate;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntitySet<DriverRun_DriverRunApprove> _DriverRun_DriverRunApprove;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -127367,12 +127468,29 @@ namespace Model
|
||||
partial void OnAttachUrlChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnInstallationIdChanging(string value);
|
||||
partial void OnInstallationIdChanged();
|
||||
partial void OnInstallationNamesChanging(string value);
|
||||
partial void OnInstallationNamesChanged();
|
||||
partial void OnObjectiveChanging(string value);
|
||||
partial void OnObjectiveChanged();
|
||||
partial void OnNeedCompletedDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnNeedCompletedDateChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnStateChanging(string value);
|
||||
partial void OnStateChanged();
|
||||
partial void OnRealCompletedDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnRealCompletedDateChanged();
|
||||
#endregion
|
||||
|
||||
public DriverRun_DriverRun()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._DriverRun_DriverRunApprove = new EntitySet<DriverRun_DriverRunApprove>(new Action<DriverRun_DriverRunApprove>(this.attach_DriverRun_DriverRunApprove), new Action<DriverRun_DriverRunApprove>(this.detach_DriverRun_DriverRunApprove));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -127544,6 +127662,166 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(500)")]
|
||||
public string InstallationId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InstallationId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InstallationId != value))
|
||||
{
|
||||
this.OnInstallationIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InstallationId = value;
|
||||
this.SendPropertyChanged("InstallationId");
|
||||
this.OnInstallationIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationNames", DbType="NVarChar(500)")]
|
||||
public string InstallationNames
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InstallationNames;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InstallationNames != value))
|
||||
{
|
||||
this.OnInstallationNamesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InstallationNames = value;
|
||||
this.SendPropertyChanged("InstallationNames");
|
||||
this.OnInstallationNamesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Objective", DbType="NVarChar(500)")]
|
||||
public string Objective
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Objective;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Objective != value))
|
||||
{
|
||||
this.OnObjectiveChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Objective = value;
|
||||
this.SendPropertyChanged("Objective");
|
||||
this.OnObjectiveChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedCompletedDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> NeedCompletedDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._NeedCompletedDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._NeedCompletedDate != value))
|
||||
{
|
||||
this.OnNeedCompletedDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._NeedCompletedDate = value;
|
||||
this.SendPropertyChanged("NeedCompletedDate");
|
||||
this.OnNeedCompletedDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")]
|
||||
public string State
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._State;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._State != value))
|
||||
{
|
||||
this.OnStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._State = value;
|
||||
this.SendPropertyChanged("State");
|
||||
this.OnStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealCompletedDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RealCompletedDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RealCompletedDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RealCompletedDate != value))
|
||||
{
|
||||
this.OnRealCompletedDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RealCompletedDate = value;
|
||||
this.SendPropertyChanged("RealCompletedDate");
|
||||
this.OnRealCompletedDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverRun_DriverRun_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -127612,6 +127890,302 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverRun_DriverRunApprove_DriverRun_DriverRun", Storage="_DriverRun_DriverRunApprove", ThisKey="DriverRunId", OtherKey="DriverRunId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<DriverRun_DriverRunApprove> DriverRun_DriverRunApprove
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DriverRun_DriverRunApprove;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._DriverRun_DriverRunApprove.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_DriverRun_DriverRunApprove(DriverRun_DriverRunApprove entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.DriverRun_DriverRun = this;
|
||||
}
|
||||
|
||||
private void detach_DriverRun_DriverRunApprove(DriverRun_DriverRunApprove entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.DriverRun_DriverRun = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.DriverRun_DriverRunApprove")]
|
||||
public partial class DriverRun_DriverRunApprove : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _DriverRunApproveId;
|
||||
|
||||
private string _DriverRunId;
|
||||
|
||||
private string _ApproveMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _ApproveDate;
|
||||
|
||||
private System.Nullable<bool> _IsAgree;
|
||||
|
||||
private string _ApproveIdea;
|
||||
|
||||
private string _ApproveType;
|
||||
|
||||
private string _AttachUrl;
|
||||
|
||||
private EntityRef<DriverRun_DriverRun> _DriverRun_DriverRun;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnDriverRunApproveIdChanging(string value);
|
||||
partial void OnDriverRunApproveIdChanged();
|
||||
partial void OnDriverRunIdChanging(string value);
|
||||
partial void OnDriverRunIdChanged();
|
||||
partial void OnApproveManChanging(string value);
|
||||
partial void OnApproveManChanged();
|
||||
partial void OnApproveDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnApproveDateChanged();
|
||||
partial void OnIsAgreeChanging(System.Nullable<bool> value);
|
||||
partial void OnIsAgreeChanged();
|
||||
partial void OnApproveIdeaChanging(string value);
|
||||
partial void OnApproveIdeaChanged();
|
||||
partial void OnApproveTypeChanging(string value);
|
||||
partial void OnApproveTypeChanged();
|
||||
partial void OnAttachUrlChanging(string value);
|
||||
partial void OnAttachUrlChanged();
|
||||
#endregion
|
||||
|
||||
public DriverRun_DriverRunApprove()
|
||||
{
|
||||
this._DriverRun_DriverRun = default(EntityRef<DriverRun_DriverRun>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DriverRunApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string DriverRunApproveId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DriverRunApproveId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DriverRunApproveId != value))
|
||||
{
|
||||
this.OnDriverRunApproveIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DriverRunApproveId = value;
|
||||
this.SendPropertyChanged("DriverRunApproveId");
|
||||
this.OnDriverRunApproveIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DriverRunId", DbType="NVarChar(50)")]
|
||||
public string DriverRunId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DriverRunId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DriverRunId != value))
|
||||
{
|
||||
if (this._DriverRun_DriverRun.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnDriverRunIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DriverRunId = value;
|
||||
this.SendPropertyChanged("DriverRunId");
|
||||
this.OnDriverRunIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
|
||||
public string ApproveMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApproveMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApproveMan != value))
|
||||
{
|
||||
this.OnApproveManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApproveMan = value;
|
||||
this.SendPropertyChanged("ApproveMan");
|
||||
this.OnApproveManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> ApproveDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApproveDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApproveDate != value))
|
||||
{
|
||||
this.OnApproveDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApproveDate = value;
|
||||
this.SendPropertyChanged("ApproveDate");
|
||||
this.OnApproveDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")]
|
||||
public System.Nullable<bool> IsAgree
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsAgree;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsAgree != value))
|
||||
{
|
||||
this.OnIsAgreeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsAgree = value;
|
||||
this.SendPropertyChanged("IsAgree");
|
||||
this.OnIsAgreeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
|
||||
public string ApproveIdea
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApproveIdea;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApproveIdea != value))
|
||||
{
|
||||
this.OnApproveIdeaChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApproveIdea = value;
|
||||
this.SendPropertyChanged("ApproveIdea");
|
||||
this.OnApproveIdeaChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Char(1)")]
|
||||
public string ApproveType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApproveType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApproveType != value))
|
||||
{
|
||||
this.OnApproveTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApproveType = value;
|
||||
this.SendPropertyChanged("ApproveType");
|
||||
this.OnApproveTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(200)")]
|
||||
public string AttachUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AttachUrl;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AttachUrl != value))
|
||||
{
|
||||
this.OnAttachUrlChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AttachUrl = value;
|
||||
this.SendPropertyChanged("AttachUrl");
|
||||
this.OnAttachUrlChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverRun_DriverRunApprove_DriverRun_DriverRun", Storage="_DriverRun_DriverRun", ThisKey="DriverRunId", OtherKey="DriverRunId", IsForeignKey=true)]
|
||||
public DriverRun_DriverRun DriverRun_DriverRun
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DriverRun_DriverRun.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
DriverRun_DriverRun previousValue = this._DriverRun_DriverRun.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._DriverRun_DriverRun.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._DriverRun_DriverRun.Entity = null;
|
||||
previousValue.DriverRun_DriverRunApprove.Remove(this);
|
||||
}
|
||||
this._DriverRun_DriverRun.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.DriverRun_DriverRunApprove.Add(this);
|
||||
this._DriverRunId = value.DriverRunId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._DriverRunId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("DriverRun_DriverRun");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
Reference in New Issue
Block a user