提交代码

This commit is contained in:
2024-01-29 16:57:52 +08:00
parent bf1ede67fd
commit 38a0dc2263
19 changed files with 1320 additions and 4 deletions
+169
View File
@@ -227,6 +227,9 @@ namespace Model
partial void InsertBase_TrainTypeItem(Base_TrainTypeItem instance);
partial void UpdateBase_TrainTypeItem(Base_TrainTypeItem instance);
partial void DeleteBase_TrainTypeItem(Base_TrainTypeItem instance);
partial void InsertBase_TransferMajor(Base_TransferMajor instance);
partial void UpdateBase_TransferMajor(Base_TransferMajor instance);
partial void DeleteBase_TransferMajor(Base_TransferMajor instance);
partial void InsertBase_Unit(Base_Unit instance);
partial void UpdateBase_Unit(Base_Unit instance);
partial void DeleteBase_Unit(Base_Unit instance);
@@ -3079,6 +3082,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_TransferMajor> Base_TransferMajor
{
get
{
return this.GetTable<Base_TransferMajor>();
}
}
public System.Data.Linq.Table<Base_Unit> Base_Unit
{
get
@@ -37855,6 +37866,164 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_TransferMajor")]
public partial class Base_TransferMajor : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _TransferMajorId;
private string _Discipline;
private string _Major;
private string _DisciplineCode;
private string _Remark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnTransferMajorIdChanging(string value);
partial void OnTransferMajorIdChanged();
partial void OnDisciplineChanging(string value);
partial void OnDisciplineChanged();
partial void OnMajorChanging(string value);
partial void OnMajorChanged();
partial void OnDisciplineCodeChanging(string value);
partial void OnDisciplineCodeChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Base_TransferMajor()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferMajorId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string TransferMajorId
{
get
{
return this._TransferMajorId;
}
set
{
if ((this._TransferMajorId != value))
{
this.OnTransferMajorIdChanging(value);
this.SendPropertyChanging();
this._TransferMajorId = value;
this.SendPropertyChanged("TransferMajorId");
this.OnTransferMajorIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")]
public string Discipline
{
get
{
return this._Discipline;
}
set
{
if ((this._Discipline != value))
{
this.OnDisciplineChanging(value);
this.SendPropertyChanging();
this._Discipline = value;
this.SendPropertyChanged("Discipline");
this.OnDisciplineChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Major", DbType="NVarChar(50)")]
public string Major
{
get
{
return this._Major;
}
set
{
if ((this._Major != value))
{
this.OnMajorChanging(value);
this.SendPropertyChanging();
this._Major = value;
this.SendPropertyChanged("Major");
this.OnMajorChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineCode", DbType="NVarChar(50)")]
public string DisciplineCode
{
get
{
return this._DisciplineCode;
}
set
{
if ((this._DisciplineCode != value))
{
this.OnDisciplineCodeChanging(value);
this.SendPropertyChanging();
this._DisciplineCode = value;
this.SendPropertyChanged("DisciplineCode");
this.OnDisciplineCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
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_Unit")]
public partial class Base_Unit : INotifyPropertyChanging, INotifyPropertyChanged
{