提交代码

This commit is contained in:
2024-03-11 09:46:11 +08:00
parent 7772c5b682
commit 9dcce0f81c
30 changed files with 5368 additions and 417 deletions
+265
View File
@@ -221,6 +221,9 @@ namespace Model
partial void InsertBase_TestRunLicenseType(Base_TestRunLicenseType instance);
partial void UpdateBase_TestRunLicenseType(Base_TestRunLicenseType instance);
partial void DeleteBase_TestRunLicenseType(Base_TestRunLicenseType instance);
partial void InsertBase_TestRunPerformanceStandard(Base_TestRunPerformanceStandard instance);
partial void UpdateBase_TestRunPerformanceStandard(Base_TestRunPerformanceStandard instance);
partial void DeleteBase_TestRunPerformanceStandard(Base_TestRunPerformanceStandard instance);
partial void InsertBase_TrainLevel(Base_TrainLevel instance);
partial void UpdateBase_TrainLevel(Base_TrainLevel instance);
partial void DeleteBase_TrainLevel(Base_TrainLevel instance);
@@ -3087,6 +3090,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_TestRunPerformanceStandard> Base_TestRunPerformanceStandard
{
get
{
return this.GetTable<Base_TestRunPerformanceStandard>();
}
}
public System.Data.Linq.Table<Base_TrainLevel> Base_TrainLevel
{
get
@@ -37457,6 +37468,260 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_TestRunPerformanceStandard")]
public partial class Base_TestRunPerformanceStandard : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _TestRunPerformanceStandardId;
private string _Code;
private System.Nullable<int> _Code1;
private System.Nullable<int> _Code2;
private System.Nullable<int> _Code3;
private string _Type;
private string _Item;
private string _Unit;
private System.Nullable<int> _Days;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnTestRunPerformanceStandardIdChanging(string value);
partial void OnTestRunPerformanceStandardIdChanged();
partial void OnCodeChanging(string value);
partial void OnCodeChanged();
partial void OnCode1Changing(System.Nullable<int> value);
partial void OnCode1Changed();
partial void OnCode2Changing(System.Nullable<int> value);
partial void OnCode2Changed();
partial void OnCode3Changing(System.Nullable<int> value);
partial void OnCode3Changed();
partial void OnTypeChanging(string value);
partial void OnTypeChanged();
partial void OnItemChanging(string value);
partial void OnItemChanged();
partial void OnUnitChanging(string value);
partial void OnUnitChanged();
partial void OnDaysChanging(System.Nullable<int> value);
partial void OnDaysChanged();
#endregion
public Base_TestRunPerformanceStandard()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRunPerformanceStandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string TestRunPerformanceStandardId
{
get
{
return this._TestRunPerformanceStandardId;
}
set
{
if ((this._TestRunPerformanceStandardId != value))
{
this.OnTestRunPerformanceStandardIdChanging(value);
this.SendPropertyChanging();
this._TestRunPerformanceStandardId = value;
this.SendPropertyChanged("TestRunPerformanceStandardId");
this.OnTestRunPerformanceStandardIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(10)")]
public string Code
{
get
{
return this._Code;
}
set
{
if ((this._Code != value))
{
this.OnCodeChanging(value);
this.SendPropertyChanging();
this._Code = value;
this.SendPropertyChanged("Code");
this.OnCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code1", DbType="Int")]
public System.Nullable<int> Code1
{
get
{
return this._Code1;
}
set
{
if ((this._Code1 != value))
{
this.OnCode1Changing(value);
this.SendPropertyChanging();
this._Code1 = value;
this.SendPropertyChanged("Code1");
this.OnCode1Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code2", DbType="Int")]
public System.Nullable<int> Code2
{
get
{
return this._Code2;
}
set
{
if ((this._Code2 != value))
{
this.OnCode2Changing(value);
this.SendPropertyChanging();
this._Code2 = value;
this.SendPropertyChanged("Code2");
this.OnCode2Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code3", DbType="Int")]
public System.Nullable<int> Code3
{
get
{
return this._Code3;
}
set
{
if ((this._Code3 != value))
{
this.OnCode3Changing(value);
this.SendPropertyChanging();
this._Code3 = value;
this.SendPropertyChanged("Code3");
this.OnCode3Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")]
public string Type
{
get
{
return this._Type;
}
set
{
if ((this._Type != value))
{
this.OnTypeChanging(value);
this.SendPropertyChanging();
this._Type = value;
this.SendPropertyChanged("Type");
this.OnTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Item", DbType="NVarChar(50)")]
public string Item
{
get
{
return this._Item;
}
set
{
if ((this._Item != value))
{
this.OnItemChanging(value);
this.SendPropertyChanging();
this._Item = value;
this.SendPropertyChanged("Item");
this.OnItemChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
public string Unit
{
get
{
return this._Unit;
}
set
{
if ((this._Unit != value))
{
this.OnUnitChanging(value);
this.SendPropertyChanging();
this._Unit = value;
this.SendPropertyChanged("Unit");
this.OnUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Days", DbType="Int")]
public System.Nullable<int> Days
{
get
{
return this._Days;
}
set
{
if ((this._Days != value))
{
this.OnDaysChanging(value);
this.SendPropertyChanging();
this._Days = value;
this.SendPropertyChanged("Days");
this.OnDaysChanged();
}
}
}
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.Base_TrainLevel")]
public partial class Base_TrainLevel : INotifyPropertyChanging, INotifyPropertyChanged
{