培训
This commit is contained in:
+112
-229
@@ -288987,7 +288987,7 @@ namespace Model
|
||||
|
||||
private string _UnitIds;
|
||||
|
||||
private string _RoleIds;
|
||||
private string _WorkPostIds;
|
||||
|
||||
private int _PersonNum;
|
||||
|
||||
@@ -289041,8 +289041,8 @@ namespace Model
|
||||
partial void OnLecturerChanged();
|
||||
partial void OnUnitIdsChanging(string value);
|
||||
partial void OnUnitIdsChanged();
|
||||
partial void OnRoleIdsChanging(string value);
|
||||
partial void OnRoleIdsChanged();
|
||||
partial void OnWorkPostIdsChanging(string value);
|
||||
partial void OnWorkPostIdsChanged();
|
||||
partial void OnPersonNumChanging(int value);
|
||||
partial void OnPersonNumChanged();
|
||||
partial void OnTrainingTimeChanging(System.DateTime value);
|
||||
@@ -289339,22 +289339,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string RoleIds
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkPostIds
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RoleIds;
|
||||
return this._WorkPostIds;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RoleIds != value))
|
||||
if ((this._WorkPostIds != value))
|
||||
{
|
||||
this.OnRoleIdsChanging(value);
|
||||
this.OnWorkPostIdsChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RoleIds = value;
|
||||
this.SendPropertyChanged("RoleIds");
|
||||
this.OnRoleIdsChanged();
|
||||
this._WorkPostIds = value;
|
||||
this.SendPropertyChanged("WorkPostIds");
|
||||
this.OnWorkPostIdsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -289836,8 +289836,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
private EntitySet<PostTraining_Standard> _PostTraining_Standard;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -289859,7 +289857,6 @@ namespace Model
|
||||
public PostTraining_Role()
|
||||
{
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
this._PostTraining_Standard = new EntitySet<PostTraining_Standard>(new Action<PostTraining_Standard>(this.attach_PostTraining_Standard), new Action<PostTraining_Standard>(this.detach_PostTraining_Standard));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -290021,19 +290018,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Role", Storage="_PostTraining_Standard", ThisKey="Id", OtherKey="RoleId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<PostTraining_Standard> PostTraining_Standard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTraining_Standard;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._PostTraining_Standard.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -290053,18 +290037,6 @@ namespace Model
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_PostTraining_Standard(PostTraining_Standard entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.PostTraining_Role = this;
|
||||
}
|
||||
|
||||
private void detach_PostTraining_Standard(PostTraining_Standard entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.PostTraining_Role = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PostTraining_Standard")]
|
||||
@@ -290077,7 +290049,7 @@ namespace Model
|
||||
|
||||
private string _Code;
|
||||
|
||||
private string _RoleId;
|
||||
private string _WorkPostId;
|
||||
|
||||
private string _CourseId;
|
||||
|
||||
@@ -290099,8 +290071,6 @@ namespace Model
|
||||
|
||||
private EntityRef<PostTraining_Course> _PostTraining_Course;
|
||||
|
||||
private EntityRef<PostTraining_Role> _PostTraining_Role;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -290111,8 +290081,8 @@ namespace Model
|
||||
partial void OnIdChanged();
|
||||
partial void OnCodeChanging(string value);
|
||||
partial void OnCodeChanged();
|
||||
partial void OnRoleIdChanging(string value);
|
||||
partial void OnRoleIdChanged();
|
||||
partial void OnWorkPostIdChanging(string value);
|
||||
partial void OnWorkPostIdChanged();
|
||||
partial void OnCourseIdChanging(string value);
|
||||
partial void OnCourseIdChanged();
|
||||
partial void OnClassHourChanging(decimal value);
|
||||
@@ -290136,7 +290106,6 @@ namespace Model
|
||||
public PostTraining_Standard()
|
||||
{
|
||||
this._PostTraining_Course = default(EntityRef<PostTraining_Course>);
|
||||
this._PostTraining_Role = default(EntityRef<PostTraining_Role>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
@@ -290181,26 +290150,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string RoleId
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string WorkPostId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RoleId;
|
||||
return this._WorkPostId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RoleId != value))
|
||||
if ((this._WorkPostId != value))
|
||||
{
|
||||
if (this._PostTraining_Role.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnRoleIdChanging(value);
|
||||
this.OnWorkPostIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RoleId = value;
|
||||
this.SendPropertyChanged("RoleId");
|
||||
this.OnRoleIdChanged();
|
||||
this._WorkPostId = value;
|
||||
this.SendPropertyChanged("WorkPostId");
|
||||
this.OnWorkPostIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -290427,40 +290392,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_PostTraining_Role", Storage="_PostTraining_Role", ThisKey="RoleId", OtherKey="Id", IsForeignKey=true)]
|
||||
public PostTraining_Role PostTraining_Role
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTraining_Role.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
PostTraining_Role previousValue = this._PostTraining_Role.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._PostTraining_Role.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._PostTraining_Role.Entity = null;
|
||||
previousValue.PostTraining_Standard.Remove(this);
|
||||
}
|
||||
this._PostTraining_Role.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.PostTraining_Standard.Add(this);
|
||||
this._RoleId = value.Id;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._RoleId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("PostTraining_Role");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Standard_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
|
||||
public Sys_User Sys_User
|
||||
{
|
||||
@@ -344940,8 +344871,6 @@ namespace Model
|
||||
|
||||
private string _States;
|
||||
|
||||
private string _PostTrainingRoleId;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
|
||||
private EntitySet<Accident_AccidentReportOtherItem> _Accident_AccidentReportOtherItem;
|
||||
@@ -345128,8 +345057,6 @@ namespace Model
|
||||
partial void OnBlackReasonChanged();
|
||||
partial void OnStatesChanging(string value);
|
||||
partial void OnStatesChanged();
|
||||
partial void OnPostTrainingRoleIdChanging(string value);
|
||||
partial void OnPostTrainingRoleIdChanged();
|
||||
#endregion
|
||||
|
||||
public SitePerson_Person()
|
||||
@@ -346495,26 +346422,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")]
|
||||
public string PostTrainingRoleId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTrainingRoleId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PostTrainingRoleId != value))
|
||||
{
|
||||
this.OnPostTrainingRoleIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PostTrainingRoleId = value;
|
||||
this.SendPropertyChanged("PostTrainingRoleId");
|
||||
this.OnPostTrainingRoleIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_SitePerson_Person", Storage="_Accident_AccidentPersonRecord", ThisKey="PersonId", OtherKey="PersonId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
|
||||
{
|
||||
@@ -401163,6 +401070,10 @@ namespace Model
|
||||
|
||||
private string _TestTrainingIds;
|
||||
|
||||
private System.Nullable<double> _Durations;
|
||||
|
||||
private string _WorkPostNames;
|
||||
|
||||
private EntitySet<Person_TrainingTask> _Person_TrainingTask;
|
||||
|
||||
private EntityRef<Training_CompanyTraining> _Training_CompanyTraining;
|
||||
@@ -401191,6 +401102,10 @@ namespace Model
|
||||
partial void OnLearningTimeChanged();
|
||||
partial void OnTestTrainingIdsChanging(string value);
|
||||
partial void OnTestTrainingIdsChanged();
|
||||
partial void OnDurationsChanging(System.Nullable<double> value);
|
||||
partial void OnDurationsChanged();
|
||||
partial void OnWorkPostNamesChanging(string value);
|
||||
partial void OnWorkPostNamesChanged();
|
||||
#endregion
|
||||
|
||||
public Training_CompanyTrainingItem()
|
||||
@@ -401404,6 +401319,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[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.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.AssociationAttribute(Name="FK_Person_TrainingTask_Training_CompanyTrainingItem", Storage="_Person_TrainingTask", ThisKey="CompanyTrainingItemId", OtherKey="CompanyTrainingItemId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Person_TrainingTask> Person_TrainingTask
|
||||
{
|
||||
@@ -453008,7 +452963,7 @@ namespace Model
|
||||
|
||||
private string _PersonName;
|
||||
|
||||
private string _RoleName;
|
||||
private string _WorkPostName;
|
||||
|
||||
public View_PostTraining_RecordDetail()
|
||||
{
|
||||
@@ -453110,18 +453065,18 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(200)")]
|
||||
public string RoleName
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostName", DbType="NVarChar(100)")]
|
||||
public string WorkPostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RoleName;
|
||||
return this._WorkPostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RoleName != value))
|
||||
if ((this._WorkPostName != value))
|
||||
{
|
||||
this._RoleName = value;
|
||||
this._WorkPostName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -457036,6 +456991,8 @@ namespace Model
|
||||
|
||||
private string _WorkPostId;
|
||||
|
||||
private string _WorkPostName;
|
||||
|
||||
private System.Nullable<System.DateTime> _InTime;
|
||||
|
||||
private System.Nullable<System.DateTime> _OutTime;
|
||||
@@ -457074,8 +457031,6 @@ namespace Model
|
||||
|
||||
private string _WorkAreaName;
|
||||
|
||||
private string _WorkPostName;
|
||||
|
||||
private string _PositionName;
|
||||
|
||||
private string _PostTitleName;
|
||||
@@ -457162,10 +457117,6 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _LevelValue;
|
||||
|
||||
private string _PostTrainingRoleId;
|
||||
|
||||
private string _PostTrainingRoleName;
|
||||
|
||||
public View_SitePerson_Person()
|
||||
{
|
||||
}
|
||||
@@ -457378,6 +457329,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostName", DbType="NVarChar(100)")]
|
||||
public string WorkPostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPostName != value))
|
||||
{
|
||||
this._WorkPostName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> InTime
|
||||
{
|
||||
@@ -457682,22 +457649,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostName", DbType="NVarChar(100)")]
|
||||
public string WorkPostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPostName != value))
|
||||
{
|
||||
this._WorkPostName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PositionName", DbType="NVarChar(50)")]
|
||||
public string PositionName
|
||||
{
|
||||
@@ -458385,38 +458336,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")]
|
||||
public string PostTrainingRoleId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTrainingRoleId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PostTrainingRoleId != value))
|
||||
{
|
||||
this._PostTrainingRoleId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleName", DbType="NVarChar(200)")]
|
||||
public string PostTrainingRoleName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTrainingRoleName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PostTrainingRoleName != value))
|
||||
{
|
||||
this._PostTrainingRoleName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_SitePerson_PersonList")]
|
||||
@@ -458443,8 +458362,6 @@ namespace Model
|
||||
|
||||
private string _UnitName;
|
||||
|
||||
private string _WorkPostName;
|
||||
|
||||
private string _WorkAreaName;
|
||||
|
||||
private string _TeamGroupName;
|
||||
@@ -458461,6 +458378,8 @@ namespace Model
|
||||
|
||||
private string _WorkPostId;
|
||||
|
||||
private string _WorkPostName;
|
||||
|
||||
private string _IdcardType;
|
||||
|
||||
private string _PhotoUrl;
|
||||
@@ -458469,10 +458388,6 @@ namespace Model
|
||||
|
||||
private string _PoliticsStatusName;
|
||||
|
||||
private string _PostTrainingRoleId;
|
||||
|
||||
private string _PostTrainingRoleName;
|
||||
|
||||
public View_SitePerson_PersonList()
|
||||
{
|
||||
}
|
||||
@@ -458637,22 +458552,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostName", DbType="NVarChar(100)")]
|
||||
public string WorkPostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPostName != value))
|
||||
{
|
||||
this._WorkPostName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
public string WorkAreaName
|
||||
{
|
||||
@@ -458781,6 +458680,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostName", DbType="NVarChar(100)")]
|
||||
public string WorkPostName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPostName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPostName != value))
|
||||
{
|
||||
this._WorkPostName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdcardType", DbType="NVarChar(50)")]
|
||||
public string IdcardType
|
||||
{
|
||||
@@ -458844,38 +458759,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleId", DbType="NVarChar(50)")]
|
||||
public string PostTrainingRoleId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTrainingRoleId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PostTrainingRoleId != value))
|
||||
{
|
||||
this._PostTrainingRoleId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostTrainingRoleName", DbType="NVarChar(200)")]
|
||||
public string PostTrainingRoleName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PostTrainingRoleName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PostTrainingRoleName != value))
|
||||
{
|
||||
this._PostTrainingRoleName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Solution_LargerHazardListItem")]
|
||||
|
||||
Reference in New Issue
Block a user