|
|
|
@@ -2525,6 +2525,12 @@ namespace Model
|
|
|
|
|
partial void InsertTraining_PlanItem(Training_PlanItem instance);
|
|
|
|
|
partial void UpdateTraining_PlanItem(Training_PlanItem instance);
|
|
|
|
|
partial void DeleteTraining_PlanItem(Training_PlanItem instance);
|
|
|
|
|
partial void InsertTraining_StudyZone(Training_StudyZone instance);
|
|
|
|
|
partial void UpdateTraining_StudyZone(Training_StudyZone instance);
|
|
|
|
|
partial void DeleteTraining_StudyZone(Training_StudyZone instance);
|
|
|
|
|
partial void InsertTraining_StudyZoneItem(Training_StudyZoneItem instance);
|
|
|
|
|
partial void UpdateTraining_StudyZoneItem(Training_StudyZoneItem instance);
|
|
|
|
|
partial void DeleteTraining_StudyZoneItem(Training_StudyZoneItem instance);
|
|
|
|
|
partial void InsertTraining_Task(Training_Task instance);
|
|
|
|
|
partial void UpdateTraining_Task(Training_Task instance);
|
|
|
|
|
partial void DeleteTraining_Task(Training_Task instance);
|
|
|
|
@@ -9425,6 +9431,22 @@ namespace Model
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public System.Data.Linq.Table<Training_StudyZone> Training_StudyZone
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetTable<Training_StudyZone>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public System.Data.Linq.Table<Training_StudyZoneItem> Training_StudyZoneItem
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this.GetTable<Training_StudyZoneItem>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public System.Data.Linq.Table<Training_Task> Training_Task
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
@@ -403639,6 +403661,583 @@ namespace Model
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Training_StudyZone")]
|
|
|
|
|
public partial class Training_StudyZone : INotifyPropertyChanging, INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneId;
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneCode;
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneName;
|
|
|
|
|
|
|
|
|
|
private string _SupStudyZoneId;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<bool> _IsEndLever;
|
|
|
|
|
|
|
|
|
|
private EntitySet<Training_StudyZoneItem> _Training_StudyZoneItem;
|
|
|
|
|
|
|
|
|
|
#region 可扩展性方法定义
|
|
|
|
|
partial void OnLoaded();
|
|
|
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
|
|
|
partial void OnCreated();
|
|
|
|
|
partial void OnStudyZoneIdChanging(string value);
|
|
|
|
|
partial void OnStudyZoneIdChanged();
|
|
|
|
|
partial void OnStudyZoneCodeChanging(string value);
|
|
|
|
|
partial void OnStudyZoneCodeChanged();
|
|
|
|
|
partial void OnStudyZoneNameChanging(string value);
|
|
|
|
|
partial void OnStudyZoneNameChanged();
|
|
|
|
|
partial void OnSupStudyZoneIdChanging(string value);
|
|
|
|
|
partial void OnSupStudyZoneIdChanged();
|
|
|
|
|
partial void OnIsEndLeverChanging(System.Nullable<bool> value);
|
|
|
|
|
partial void OnIsEndLeverChanged();
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Training_StudyZone()
|
|
|
|
|
{
|
|
|
|
|
this._Training_StudyZoneItem = new EntitySet<Training_StudyZoneItem>(new Action<Training_StudyZoneItem>(this.attach_Training_StudyZoneItem), new Action<Training_StudyZoneItem>(this.detach_Training_StudyZoneItem));
|
|
|
|
|
OnCreated();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
|
|
|
public string StudyZoneId
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneId;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneId != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneIdChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneId = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneId");
|
|
|
|
|
this.OnStudyZoneIdChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneCode", DbType="NVarChar(50)")]
|
|
|
|
|
public string StudyZoneCode
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneCode;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneCode != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneCodeChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneCode = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneCode");
|
|
|
|
|
this.OnStudyZoneCodeChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneName", DbType="NVarChar(100)")]
|
|
|
|
|
public string StudyZoneName
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneName;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneName != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneNameChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneName = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneName");
|
|
|
|
|
this.OnStudyZoneNameChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupStudyZoneId", DbType="NVarChar(50)")]
|
|
|
|
|
public string SupStudyZoneId
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._SupStudyZoneId;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._SupStudyZoneId != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnSupStudyZoneIdChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._SupStudyZoneId = value;
|
|
|
|
|
this.SendPropertyChanged("SupStudyZoneId");
|
|
|
|
|
this.OnSupStudyZoneIdChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEndLever", DbType="Bit")]
|
|
|
|
|
public System.Nullable<bool> IsEndLever
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._IsEndLever;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._IsEndLever != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnIsEndLeverChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._IsEndLever = value;
|
|
|
|
|
this.SendPropertyChanged("IsEndLever");
|
|
|
|
|
this.OnIsEndLeverChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_StudyZoneItem_Training_StudyZone", Storage="_Training_StudyZoneItem", ThisKey="StudyZoneId", OtherKey="StudyZoneId", DeleteRule="NO ACTION")]
|
|
|
|
|
public EntitySet<Training_StudyZoneItem> Training_StudyZoneItem
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._Training_StudyZoneItem;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
this._Training_StudyZoneItem.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_Training_StudyZoneItem(Training_StudyZoneItem entity)
|
|
|
|
|
{
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
entity.Training_StudyZone = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void detach_Training_StudyZoneItem(Training_StudyZoneItem entity)
|
|
|
|
|
{
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
entity.Training_StudyZone = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Training_StudyZoneItem")]
|
|
|
|
|
public partial class Training_StudyZoneItem : INotifyPropertyChanging, INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneItemId;
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneId;
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneItemCode;
|
|
|
|
|
|
|
|
|
|
private string _StudyZoneItemName;
|
|
|
|
|
|
|
|
|
|
private string _AttachUrl;
|
|
|
|
|
|
|
|
|
|
private string _CompileMan;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<System.DateTime> _CompileDate;
|
|
|
|
|
|
|
|
|
|
private string _WorkPostIds;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> _LearningTime;
|
|
|
|
|
|
|
|
|
|
private string _TestTrainingIds;
|
|
|
|
|
|
|
|
|
|
private string _WorkPostNames;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> _Outcome;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<double> _Durations;
|
|
|
|
|
|
|
|
|
|
private EntityRef<Training_StudyZone> _Training_StudyZone;
|
|
|
|
|
|
|
|
|
|
#region 可扩展性方法定义
|
|
|
|
|
partial void OnLoaded();
|
|
|
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
|
|
|
partial void OnCreated();
|
|
|
|
|
partial void OnStudyZoneItemIdChanging(string value);
|
|
|
|
|
partial void OnStudyZoneItemIdChanged();
|
|
|
|
|
partial void OnStudyZoneIdChanging(string value);
|
|
|
|
|
partial void OnStudyZoneIdChanged();
|
|
|
|
|
partial void OnStudyZoneItemCodeChanging(string value);
|
|
|
|
|
partial void OnStudyZoneItemCodeChanged();
|
|
|
|
|
partial void OnStudyZoneItemNameChanging(string value);
|
|
|
|
|
partial void OnStudyZoneItemNameChanged();
|
|
|
|
|
partial void OnAttachUrlChanging(string value);
|
|
|
|
|
partial void OnAttachUrlChanged();
|
|
|
|
|
partial void OnCompileManChanging(string value);
|
|
|
|
|
partial void OnCompileManChanged();
|
|
|
|
|
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
|
|
|
|
partial void OnCompileDateChanged();
|
|
|
|
|
partial void OnWorkPostIdsChanging(string value);
|
|
|
|
|
partial void OnWorkPostIdsChanged();
|
|
|
|
|
partial void OnLearningTimeChanging(System.Nullable<int> value);
|
|
|
|
|
partial void OnLearningTimeChanged();
|
|
|
|
|
partial void OnTestTrainingIdsChanging(string value);
|
|
|
|
|
partial void OnTestTrainingIdsChanged();
|
|
|
|
|
partial void OnWorkPostNamesChanging(string value);
|
|
|
|
|
partial void OnWorkPostNamesChanged();
|
|
|
|
|
partial void OnOutcomeChanging(System.Nullable<int> value);
|
|
|
|
|
partial void OnOutcomeChanged();
|
|
|
|
|
partial void OnDurationsChanging(System.Nullable<double> value);
|
|
|
|
|
partial void OnDurationsChanged();
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Training_StudyZoneItem()
|
|
|
|
|
{
|
|
|
|
|
this._Training_StudyZone = default(EntityRef<Training_StudyZone>);
|
|
|
|
|
OnCreated();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
|
|
|
public string StudyZoneItemId
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneItemId;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneItemId != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneItemIdChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneItemId = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneItemId");
|
|
|
|
|
this.OnStudyZoneItemIdChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneId", DbType="NVarChar(50)")]
|
|
|
|
|
public string StudyZoneId
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneId;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneId != value))
|
|
|
|
|
{
|
|
|
|
|
if (this._Training_StudyZone.HasLoadedOrAssignedValue)
|
|
|
|
|
{
|
|
|
|
|
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
|
|
|
|
}
|
|
|
|
|
this.OnStudyZoneIdChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneId = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneId");
|
|
|
|
|
this.OnStudyZoneIdChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneItemCode", DbType="NVarChar(50)")]
|
|
|
|
|
public string StudyZoneItemCode
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneItemCode;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneItemCode != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneItemCodeChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneItemCode = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneItemCode");
|
|
|
|
|
this.OnStudyZoneItemCodeChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StudyZoneItemName", DbType="NVarChar(100)")]
|
|
|
|
|
public string StudyZoneItemName
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._StudyZoneItemName;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._StudyZoneItemName != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnStudyZoneItemNameChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._StudyZoneItemName = value;
|
|
|
|
|
this.SendPropertyChanged("StudyZoneItemName");
|
|
|
|
|
this.OnStudyZoneItemNameChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")]
|
|
|
|
|
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.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="_WorkPostIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
|
|
|
|
public string WorkPostIds
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._WorkPostIds;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._WorkPostIds != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnWorkPostIdsChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._WorkPostIds = value;
|
|
|
|
|
this.SendPropertyChanged("WorkPostIds");
|
|
|
|
|
this.OnWorkPostIdsChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LearningTime", DbType="Int")]
|
|
|
|
|
public System.Nullable<int> LearningTime
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._LearningTime;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._LearningTime != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnLearningTimeChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._LearningTime = value;
|
|
|
|
|
this.SendPropertyChanged("LearningTime");
|
|
|
|
|
this.OnLearningTimeChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestTrainingIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
|
|
|
|
public string TestTrainingIds
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._TestTrainingIds;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._TestTrainingIds != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnTestTrainingIdsChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._TestTrainingIds = value;
|
|
|
|
|
this.SendPropertyChanged("TestTrainingIds");
|
|
|
|
|
this.OnTestTrainingIdsChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostNames", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
|
|
|
|
public string WorkPostNames
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._WorkPostNames;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._WorkPostNames != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnWorkPostNamesChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._WorkPostNames = value;
|
|
|
|
|
this.SendPropertyChanged("WorkPostNames");
|
|
|
|
|
this.OnWorkPostNamesChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Outcome", DbType="Int")]
|
|
|
|
|
public System.Nullable<int> Outcome
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._Outcome;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._Outcome != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnOutcomeChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._Outcome = value;
|
|
|
|
|
this.SendPropertyChanged("Outcome");
|
|
|
|
|
this.OnOutcomeChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Durations", DbType="Float")]
|
|
|
|
|
public System.Nullable<double> Durations
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._Durations;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
if ((this._Durations != value))
|
|
|
|
|
{
|
|
|
|
|
this.OnDurationsChanging(value);
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
this._Durations = value;
|
|
|
|
|
this.SendPropertyChanged("Durations");
|
|
|
|
|
this.OnDurationsChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_StudyZoneItem_Training_StudyZone", Storage="_Training_StudyZone", ThisKey="StudyZoneId", OtherKey="StudyZoneId", IsForeignKey=true)]
|
|
|
|
|
public Training_StudyZone Training_StudyZone
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return this._Training_StudyZone.Entity;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
Training_StudyZone previousValue = this._Training_StudyZone.Entity;
|
|
|
|
|
if (((previousValue != value)
|
|
|
|
|
|| (this._Training_StudyZone.HasLoadedOrAssignedValue == false)))
|
|
|
|
|
{
|
|
|
|
|
this.SendPropertyChanging();
|
|
|
|
|
if ((previousValue != null))
|
|
|
|
|
{
|
|
|
|
|
this._Training_StudyZone.Entity = null;
|
|
|
|
|
previousValue.Training_StudyZoneItem.Remove(this);
|
|
|
|
|
}
|
|
|
|
|
this._Training_StudyZone.Entity = value;
|
|
|
|
|
if ((value != null))
|
|
|
|
|
{
|
|
|
|
|
value.Training_StudyZoneItem.Add(this);
|
|
|
|
|
this._StudyZoneId = value.StudyZoneId;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
this._StudyZoneId = default(string);
|
|
|
|
|
}
|
|
|
|
|
this.SendPropertyChanged("Training_StudyZone");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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.Training_Task")]
|
|
|
|
|
public partial class Training_Task : INotifyPropertyChanging, INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|