2024-02-19 试车分包管理修改
This commit is contained in:
@@ -1952,6 +1952,9 @@ namespace Model
|
||||
partial void InsertResources_SignManage(Resources_SignManage instance);
|
||||
partial void UpdateResources_SignManage(Resources_SignManage instance);
|
||||
partial void DeleteResources_SignManage(Resources_SignManage instance);
|
||||
partial void InsertRun_ScheduleSetUp(Run_ScheduleSetUp instance);
|
||||
partial void UpdateRun_ScheduleSetUp(Run_ScheduleSetUp instance);
|
||||
partial void DeleteRun_ScheduleSetUp(Run_ScheduleSetUp instance);
|
||||
partial void InsertSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
partial void UpdateSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
partial void DeleteSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
@@ -7690,6 +7693,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Run_ScheduleSetUp> Run_ScheduleSetUp
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Run_ScheduleSetUp>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<SafetyData_SafetyData> SafetyData_SafetyData
|
||||
{
|
||||
get
|
||||
@@ -304044,6 +304055,308 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Run_ScheduleSetUp")]
|
||||
public partial class Run_ScheduleSetUp : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _ScheduleId;
|
||||
|
||||
private string _WorkPackId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<int> _States;
|
||||
|
||||
private System.Nullable<int> _AllNum;
|
||||
|
||||
private System.Nullable<int> _ProgressNum;
|
||||
|
||||
private System.Nullable<int> _CompleteNum;
|
||||
|
||||
private System.Nullable<decimal> _CompleteRate;
|
||||
|
||||
private string _AddUser;
|
||||
|
||||
private System.Nullable<System.DateTime> _AddTime;
|
||||
|
||||
private System.Nullable<int> _Sort;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnScheduleIdChanging(string value);
|
||||
partial void OnScheduleIdChanged();
|
||||
partial void OnWorkPackIdChanging(string value);
|
||||
partial void OnWorkPackIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnStatesChanging(System.Nullable<int> value);
|
||||
partial void OnStatesChanged();
|
||||
partial void OnAllNumChanging(System.Nullable<int> value);
|
||||
partial void OnAllNumChanged();
|
||||
partial void OnProgressNumChanging(System.Nullable<int> value);
|
||||
partial void OnProgressNumChanged();
|
||||
partial void OnCompleteNumChanging(System.Nullable<int> value);
|
||||
partial void OnCompleteNumChanged();
|
||||
partial void OnCompleteRateChanging(System.Nullable<decimal> value);
|
||||
partial void OnCompleteRateChanged();
|
||||
partial void OnAddUserChanging(string value);
|
||||
partial void OnAddUserChanged();
|
||||
partial void OnAddTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnAddTimeChanged();
|
||||
partial void OnSortChanging(System.Nullable<int> value);
|
||||
partial void OnSortChanged();
|
||||
#endregion
|
||||
|
||||
public Run_ScheduleSetUp()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ScheduleId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string ScheduleId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ScheduleId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ScheduleId != value))
|
||||
{
|
||||
this.OnScheduleIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ScheduleId = value;
|
||||
this.SendPropertyChanged("ScheduleId");
|
||||
this.OnScheduleIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackId", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string WorkPackId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkPackId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkPackId != value))
|
||||
{
|
||||
this.OnWorkPackIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._WorkPackId = value;
|
||||
this.SendPropertyChanged("WorkPackId");
|
||||
this.OnWorkPackIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(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="_States", DbType="Int")]
|
||||
public System.Nullable<int> States
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._States;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._States != value))
|
||||
{
|
||||
this.OnStatesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._States = value;
|
||||
this.SendPropertyChanged("States");
|
||||
this.OnStatesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AllNum", DbType="Int")]
|
||||
public System.Nullable<int> AllNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AllNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AllNum != value))
|
||||
{
|
||||
this.OnAllNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AllNum = value;
|
||||
this.SendPropertyChanged("AllNum");
|
||||
this.OnAllNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProgressNum", DbType="Int")]
|
||||
public System.Nullable<int> ProgressNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProgressNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProgressNum != value))
|
||||
{
|
||||
this.OnProgressNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProgressNum = value;
|
||||
this.SendPropertyChanged("ProgressNum");
|
||||
this.OnProgressNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteNum", DbType="Int")]
|
||||
public System.Nullable<int> CompleteNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompleteNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompleteNum != value))
|
||||
{
|
||||
this.OnCompleteNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompleteNum = value;
|
||||
this.SendPropertyChanged("CompleteNum");
|
||||
this.OnCompleteNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteRate", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> CompleteRate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CompleteRate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CompleteRate != value))
|
||||
{
|
||||
this.OnCompleteRateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CompleteRate = value;
|
||||
this.SendPropertyChanged("CompleteRate");
|
||||
this.OnCompleteRateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")]
|
||||
public string AddUser
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AddUser;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AddUser != value))
|
||||
{
|
||||
this.OnAddUserChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AddUser = value;
|
||||
this.SendPropertyChanged("AddUser");
|
||||
this.OnAddUserChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> AddTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AddTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AddTime != value))
|
||||
{
|
||||
this.OnAddTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AddTime = value;
|
||||
this.SendPropertyChanged("AddTime");
|
||||
this.OnAddTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="Int")]
|
||||
public System.Nullable<int> Sort
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Sort;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Sort != value))
|
||||
{
|
||||
this.OnSortChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Sort = value;
|
||||
this.SendPropertyChanged("Sort");
|
||||
this.OnSortChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.SafetyData_SafetyData")]
|
||||
public partial class SafetyData_SafetyData : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -359842,6 +360155,18 @@ namespace Model
|
||||
|
||||
private string _AttachUrl;
|
||||
|
||||
private System.Nullable<decimal> _ClassHours;
|
||||
|
||||
private System.Nullable<System.DateTime> _TrainingTime;
|
||||
|
||||
private string _TrainingAddress;
|
||||
|
||||
private string _TrainingLevel;
|
||||
|
||||
private string _Speaker;
|
||||
|
||||
private string _States;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -359868,6 +360193,18 @@ namespace Model
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnAttachUrlChanging(string value);
|
||||
partial void OnAttachUrlChanged();
|
||||
partial void OnClassHoursChanging(System.Nullable<decimal> value);
|
||||
partial void OnClassHoursChanged();
|
||||
partial void OnTrainingTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnTrainingTimeChanged();
|
||||
partial void OnTrainingAddressChanging(string value);
|
||||
partial void OnTrainingAddressChanged();
|
||||
partial void OnTrainingLevelChanging(string value);
|
||||
partial void OnTrainingLevelChanged();
|
||||
partial void OnSpeakerChanging(string value);
|
||||
partial void OnSpeakerChanged();
|
||||
partial void OnStatesChanging(string value);
|
||||
partial void OnStatesChanged();
|
||||
#endregion
|
||||
|
||||
public TestRun_TrainRecords()
|
||||
@@ -360065,6 +360402,126 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassHours", DbType="Decimal(18,1)")]
|
||||
public System.Nullable<decimal> ClassHours
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ClassHours;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ClassHours != value))
|
||||
{
|
||||
this.OnClassHoursChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ClassHours = value;
|
||||
this.SendPropertyChanged("ClassHours");
|
||||
this.OnClassHoursChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> TrainingTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingTime != value))
|
||||
{
|
||||
this.OnTrainingTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingTime = value;
|
||||
this.SendPropertyChanged("TrainingTime");
|
||||
this.OnTrainingTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingAddress", DbType="NVarChar(50)")]
|
||||
public string TrainingAddress
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingAddress;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingAddress != value))
|
||||
{
|
||||
this.OnTrainingAddressChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingAddress = value;
|
||||
this.SendPropertyChanged("TrainingAddress");
|
||||
this.OnTrainingAddressChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingLevel", DbType="NVarChar(50)")]
|
||||
public string TrainingLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingLevel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingLevel != value))
|
||||
{
|
||||
this.OnTrainingLevelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingLevel = value;
|
||||
this.SendPropertyChanged("TrainingLevel");
|
||||
this.OnTrainingLevelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speaker", DbType="NVarChar(50)")]
|
||||
public string Speaker
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Speaker;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Speaker != value))
|
||||
{
|
||||
this.OnSpeakerChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Speaker = value;
|
||||
this.SendPropertyChanged("Speaker");
|
||||
this.OnSpeakerChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="Char(1)")]
|
||||
public string States
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._States;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._States != value))
|
||||
{
|
||||
this.OnStatesChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._States = value;
|
||||
this.SendPropertyChanged("States");
|
||||
this.OnStatesChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_TrainRecords_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user