0905-材料管理接口增加MTO明细信息一览表
This commit is contained in:
+601
-69
@@ -437,6 +437,9 @@ namespace Model
|
||||
partial void InsertCLGL_Material(CLGL_Material instance);
|
||||
partial void UpdateCLGL_Material(CLGL_Material instance);
|
||||
partial void DeleteCLGL_Material(CLGL_Material instance);
|
||||
partial void InsertCLGL_MTODetail(CLGL_MTODetail instance);
|
||||
partial void UpdateCLGL_MTODetail(CLGL_MTODetail instance);
|
||||
partial void DeleteCLGL_MTODetail(CLGL_MTODetail instance);
|
||||
partial void InsertCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance);
|
||||
partial void UpdateCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance);
|
||||
partial void DeleteCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance);
|
||||
@@ -3198,6 +3201,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<CLGL_MTODetail> CLGL_MTODetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<CLGL_MTODetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<CLGL_PickMaterialRecord> CLGL_PickMaterialRecord
|
||||
{
|
||||
get
|
||||
@@ -72254,6 +72265,596 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_MTODetail")]
|
||||
public partial class CLGL_MTODetail : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _DeviceNo;
|
||||
|
||||
private string _IsoNo;
|
||||
|
||||
private string _IsoClass;
|
||||
|
||||
private string _MaterialCode;
|
||||
|
||||
private string _TagNo;
|
||||
|
||||
private string _MaterialName;
|
||||
|
||||
private string _SIZE1;
|
||||
|
||||
private string _SIZE2;
|
||||
|
||||
private string _SCH1;
|
||||
|
||||
private string _SCH2;
|
||||
|
||||
private string _PressClass;
|
||||
|
||||
private string _EndFace;
|
||||
|
||||
private string _BoltLength;
|
||||
|
||||
private string _Standard;
|
||||
|
||||
private string _Material;
|
||||
|
||||
private string _PrefabricationStatus;
|
||||
|
||||
private string _DesignNum;
|
||||
|
||||
private string _PlanCheckOutNum;
|
||||
|
||||
private string _CheckOutNum;
|
||||
|
||||
private string _StockNumByDeviceNo;
|
||||
|
||||
private string _StockNumWholePlant;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnIdChanging(string value);
|
||||
partial void OnIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnDeviceNoChanging(string value);
|
||||
partial void OnDeviceNoChanged();
|
||||
partial void OnIsoNoChanging(string value);
|
||||
partial void OnIsoNoChanged();
|
||||
partial void OnIsoClassChanging(string value);
|
||||
partial void OnIsoClassChanged();
|
||||
partial void OnMaterialCodeChanging(string value);
|
||||
partial void OnMaterialCodeChanged();
|
||||
partial void OnTagNoChanging(string value);
|
||||
partial void OnTagNoChanged();
|
||||
partial void OnMaterialNameChanging(string value);
|
||||
partial void OnMaterialNameChanged();
|
||||
partial void OnSIZE1Changing(string value);
|
||||
partial void OnSIZE1Changed();
|
||||
partial void OnSIZE2Changing(string value);
|
||||
partial void OnSIZE2Changed();
|
||||
partial void OnSCH1Changing(string value);
|
||||
partial void OnSCH1Changed();
|
||||
partial void OnSCH2Changing(string value);
|
||||
partial void OnSCH2Changed();
|
||||
partial void OnPressClassChanging(string value);
|
||||
partial void OnPressClassChanged();
|
||||
partial void OnEndFaceChanging(string value);
|
||||
partial void OnEndFaceChanged();
|
||||
partial void OnBoltLengthChanging(string value);
|
||||
partial void OnBoltLengthChanged();
|
||||
partial void OnStandardChanging(string value);
|
||||
partial void OnStandardChanged();
|
||||
partial void OnMaterialChanging(string value);
|
||||
partial void OnMaterialChanged();
|
||||
partial void OnPrefabricationStatusChanging(string value);
|
||||
partial void OnPrefabricationStatusChanged();
|
||||
partial void OnDesignNumChanging(string value);
|
||||
partial void OnDesignNumChanged();
|
||||
partial void OnPlanCheckOutNumChanging(string value);
|
||||
partial void OnPlanCheckOutNumChanged();
|
||||
partial void OnCheckOutNumChanging(string value);
|
||||
partial void OnCheckOutNumChanged();
|
||||
partial void OnStockNumByDeviceNoChanging(string value);
|
||||
partial void OnStockNumByDeviceNoChanged();
|
||||
partial void OnStockNumWholePlantChanging(string value);
|
||||
partial void OnStockNumWholePlantChanged();
|
||||
#endregion
|
||||
|
||||
public CLGL_MTODetail()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Id != value))
|
||||
{
|
||||
this.OnIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Id = value;
|
||||
this.SendPropertyChanged("Id");
|
||||
this.OnIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(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="_DeviceNo", DbType="NVarChar(50)")]
|
||||
public string DeviceNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DeviceNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DeviceNo != value))
|
||||
{
|
||||
this.OnDeviceNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DeviceNo = value;
|
||||
this.SendPropertyChanged("DeviceNo");
|
||||
this.OnDeviceNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsoNo", DbType="NVarChar(50)")]
|
||||
public string IsoNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsoNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsoNo != value))
|
||||
{
|
||||
this.OnIsoNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsoNo = value;
|
||||
this.SendPropertyChanged("IsoNo");
|
||||
this.OnIsoNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsoClass", DbType="NVarChar(50)")]
|
||||
public string IsoClass
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsoClass;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsoClass != value))
|
||||
{
|
||||
this.OnIsoClassChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsoClass = value;
|
||||
this.SendPropertyChanged("IsoClass");
|
||||
this.OnIsoClassChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
|
||||
public string MaterialCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialCode != value))
|
||||
{
|
||||
this.OnMaterialCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialCode = value;
|
||||
this.SendPropertyChanged("MaterialCode");
|
||||
this.OnMaterialCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TagNo", DbType="NVarChar(50)")]
|
||||
public string TagNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TagNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TagNo != value))
|
||||
{
|
||||
this.OnTagNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TagNo = value;
|
||||
this.SendPropertyChanged("TagNo");
|
||||
this.OnTagNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(50)")]
|
||||
public string MaterialName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialName != value))
|
||||
{
|
||||
this.OnMaterialNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialName = value;
|
||||
this.SendPropertyChanged("MaterialName");
|
||||
this.OnMaterialNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SIZE1", DbType="NVarChar(50)")]
|
||||
public string SIZE1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SIZE1;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SIZE1 != value))
|
||||
{
|
||||
this.OnSIZE1Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SIZE1 = value;
|
||||
this.SendPropertyChanged("SIZE1");
|
||||
this.OnSIZE1Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SIZE2", DbType="NVarChar(50)")]
|
||||
public string SIZE2
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SIZE2;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SIZE2 != value))
|
||||
{
|
||||
this.OnSIZE2Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SIZE2 = value;
|
||||
this.SendPropertyChanged("SIZE2");
|
||||
this.OnSIZE2Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SCH1", DbType="NVarChar(50)")]
|
||||
public string SCH1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SCH1;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SCH1 != value))
|
||||
{
|
||||
this.OnSCH1Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SCH1 = value;
|
||||
this.SendPropertyChanged("SCH1");
|
||||
this.OnSCH1Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SCH2", DbType="NVarChar(50)")]
|
||||
public string SCH2
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SCH2;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SCH2 != value))
|
||||
{
|
||||
this.OnSCH2Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SCH2 = value;
|
||||
this.SendPropertyChanged("SCH2");
|
||||
this.OnSCH2Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressClass", DbType="NVarChar(50)")]
|
||||
public string PressClass
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PressClass;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PressClass != value))
|
||||
{
|
||||
this.OnPressClassChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PressClass = value;
|
||||
this.SendPropertyChanged("PressClass");
|
||||
this.OnPressClassChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndFace", DbType="NVarChar(50)")]
|
||||
public string EndFace
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EndFace;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EndFace != value))
|
||||
{
|
||||
this.OnEndFaceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EndFace = value;
|
||||
this.SendPropertyChanged("EndFace");
|
||||
this.OnEndFaceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BoltLength", DbType="NVarChar(50)")]
|
||||
public string BoltLength
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BoltLength;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BoltLength != value))
|
||||
{
|
||||
this.OnBoltLengthChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BoltLength = value;
|
||||
this.SendPropertyChanged("BoltLength");
|
||||
this.OnBoltLengthChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Standard", DbType="NVarChar(50)")]
|
||||
public string Standard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Standard;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Standard != value))
|
||||
{
|
||||
this.OnStandardChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Standard = value;
|
||||
this.SendPropertyChanged("Standard");
|
||||
this.OnStandardChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
|
||||
public string Material
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Material;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Material != value))
|
||||
{
|
||||
this.OnMaterialChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Material = value;
|
||||
this.SendPropertyChanged("Material");
|
||||
this.OnMaterialChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrefabricationStatus", DbType="NVarChar(50)")]
|
||||
public string PrefabricationStatus
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PrefabricationStatus;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PrefabricationStatus != value))
|
||||
{
|
||||
this.OnPrefabricationStatusChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PrefabricationStatus = value;
|
||||
this.SendPropertyChanged("PrefabricationStatus");
|
||||
this.OnPrefabricationStatusChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignNum", DbType="NVarChar(50)")]
|
||||
public string DesignNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._DesignNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._DesignNum != value))
|
||||
{
|
||||
this.OnDesignNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._DesignNum = value;
|
||||
this.SendPropertyChanged("DesignNum");
|
||||
this.OnDesignNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanCheckOutNum", DbType="NVarChar(50)")]
|
||||
public string PlanCheckOutNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanCheckOutNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanCheckOutNum != value))
|
||||
{
|
||||
this.OnPlanCheckOutNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanCheckOutNum = value;
|
||||
this.SendPropertyChanged("PlanCheckOutNum");
|
||||
this.OnPlanCheckOutNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckOutNum", DbType="NVarChar(50)")]
|
||||
public string CheckOutNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CheckOutNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CheckOutNum != value))
|
||||
{
|
||||
this.OnCheckOutNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CheckOutNum = value;
|
||||
this.SendPropertyChanged("CheckOutNum");
|
||||
this.OnCheckOutNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockNumByDeviceNo", DbType="NVarChar(50)")]
|
||||
public string StockNumByDeviceNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StockNumByDeviceNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StockNumByDeviceNo != value))
|
||||
{
|
||||
this.OnStockNumByDeviceNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StockNumByDeviceNo = value;
|
||||
this.SendPropertyChanged("StockNumByDeviceNo");
|
||||
this.OnStockNumByDeviceNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockNumWholePlant", DbType="NVarChar(50)")]
|
||||
public string StockNumWholePlant
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StockNumWholePlant;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StockNumWholePlant != value))
|
||||
{
|
||||
this.OnStockNumWholePlantChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._StockNumWholePlant = value;
|
||||
this.SendPropertyChanged("StockNumWholePlant");
|
||||
this.OnStockNumWholePlantChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.CLGL_PickMaterialRecord")]
|
||||
public partial class CLGL_PickMaterialRecord : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -110677,8 +111278,6 @@ namespace Model
|
||||
|
||||
private EntityRef<Base_TrainType> _Base_TrainType;
|
||||
|
||||
private EntityRef<Training_Plan> _Training_Plan;
|
||||
|
||||
private EntitySet<EduTrain_TrainTest> _EduTrain_TrainTest;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -110739,7 +111338,6 @@ namespace Model
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_TrainLevel = default(EntityRef<Base_TrainLevel>);
|
||||
this._Base_TrainType = default(EntityRef<Base_TrainType>);
|
||||
this._Training_Plan = default(EntityRef<Training_Plan>);
|
||||
this._EduTrain_TrainTest = new EntitySet<EduTrain_TrainTest>(new Action<EduTrain_TrainTest>(this.attach_EduTrain_TrainTest), new Action<EduTrain_TrainTest>(this.detach_EduTrain_TrainTest));
|
||||
OnCreated();
|
||||
}
|
||||
@@ -111167,10 +111765,6 @@ namespace Model
|
||||
{
|
||||
if ((this._PlanId != value))
|
||||
{
|
||||
if (this._Training_Plan.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnPlanIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanId = value;
|
||||
@@ -111335,40 +111929,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EduTrain_TrainRecord_Training_Plan", Storage="_Training_Plan", ThisKey="PlanId", OtherKey="PlanId", IsForeignKey=true)]
|
||||
public Training_Plan Training_Plan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Training_Plan.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Training_Plan previousValue = this._Training_Plan.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Training_Plan.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Training_Plan.Entity = null;
|
||||
previousValue.EduTrain_TrainRecord.Remove(this);
|
||||
}
|
||||
this._Training_Plan.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.EduTrain_TrainRecord.Add(this);
|
||||
this._PlanId = value.PlanId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._PlanId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Training_Plan");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EduTrain_TrainTest_EduTrain_TrainRecord", Storage="_EduTrain_TrainTest", ThisKey="TrainingId", OtherKey="TrainingId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<EduTrain_TrainTest> EduTrain_TrainTest
|
||||
{
|
||||
@@ -296731,8 +297291,6 @@ namespace Model
|
||||
|
||||
private string _QRCodeUrl;
|
||||
|
||||
private EntitySet<EduTrain_TrainRecord> _EduTrain_TrainRecord;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Base_TrainLevel> _Base_TrainLevel;
|
||||
@@ -296795,7 +297353,6 @@ namespace Model
|
||||
|
||||
public Training_Plan()
|
||||
{
|
||||
this._EduTrain_TrainRecord = new EntitySet<EduTrain_TrainRecord>(new Action<EduTrain_TrainRecord>(this.attach_EduTrain_TrainRecord), new Action<EduTrain_TrainRecord>(this.detach_EduTrain_TrainRecord));
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Base_TrainLevel = default(EntityRef<Base_TrainLevel>);
|
||||
this._Base_TrainType = default(EntityRef<Base_TrainType>);
|
||||
@@ -297203,19 +297760,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EduTrain_TrainRecord_Training_Plan", Storage="_EduTrain_TrainRecord", ThisKey="PlanId", OtherKey="PlanId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<EduTrain_TrainRecord> EduTrain_TrainRecord
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EduTrain_TrainRecord;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._EduTrain_TrainRecord.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -297424,18 +297968,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_EduTrain_TrainRecord(EduTrain_TrainRecord entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Training_Plan = this;
|
||||
}
|
||||
|
||||
private void detach_EduTrain_TrainRecord(EduTrain_TrainRecord entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Training_Plan = null;
|
||||
}
|
||||
|
||||
private void attach_Training_PlanItem(Training_PlanItem entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user