20240417 质量月报
This commit is contained in:
@@ -614,6 +614,9 @@ namespace Model
|
||||
partial void InsertComprehensive_SpecialEquipmentApprove(Comprehensive_SpecialEquipmentApprove instance);
|
||||
partial void UpdateComprehensive_SpecialEquipmentApprove(Comprehensive_SpecialEquipmentApprove instance);
|
||||
partial void DeleteComprehensive_SpecialEquipmentApprove(Comprehensive_SpecialEquipmentApprove instance);
|
||||
partial void InsertComprehensive_TrainingRecords(Comprehensive_TrainingRecords instance);
|
||||
partial void UpdateComprehensive_TrainingRecords(Comprehensive_TrainingRecords instance);
|
||||
partial void DeleteComprehensive_TrainingRecords(Comprehensive_TrainingRecords instance);
|
||||
partial void InsertCostGoods_CostManage(CostGoods_CostManage instance);
|
||||
partial void UpdateCostGoods_CostManage(CostGoods_CostManage instance);
|
||||
partial void DeleteCostGoods_CostManage(CostGoods_CostManage instance);
|
||||
@@ -4240,6 +4243,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Comprehensive_TrainingRecords> Comprehensive_TrainingRecords
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Comprehensive_TrainingRecords>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<CostGoods_CostManage> CostGoods_CostManage
|
||||
{
|
||||
get
|
||||
@@ -18719,6 +18730,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Comprehensive_SiteVisaManagement> _Comprehensive_SiteVisaManagement;
|
||||
|
||||
private EntitySet<Comprehensive_TrainingRecords> _Comprehensive_TrainingRecords;
|
||||
|
||||
private EntitySet<CQMS_DataBase_InspectionLot> _CQMS_DataBase_InspectionLot;
|
||||
|
||||
private EntitySet<DataBase_StartWorkReport> _DataBase_StartWorkReport;
|
||||
@@ -18757,6 +18770,7 @@ namespace Model
|
||||
this._Comprehensive_MajorPlanApproval = new EntitySet<Comprehensive_MajorPlanApproval>(new Action<Comprehensive_MajorPlanApproval>(this.attach_Comprehensive_MajorPlanApproval), new Action<Comprehensive_MajorPlanApproval>(this.detach_Comprehensive_MajorPlanApproval));
|
||||
this._Comprehensive_NCRManagement = new EntitySet<Comprehensive_NCRManagement>(new Action<Comprehensive_NCRManagement>(this.attach_Comprehensive_NCRManagement), new Action<Comprehensive_NCRManagement>(this.detach_Comprehensive_NCRManagement));
|
||||
this._Comprehensive_SiteVisaManagement = new EntitySet<Comprehensive_SiteVisaManagement>(new Action<Comprehensive_SiteVisaManagement>(this.attach_Comprehensive_SiteVisaManagement), new Action<Comprehensive_SiteVisaManagement>(this.detach_Comprehensive_SiteVisaManagement));
|
||||
this._Comprehensive_TrainingRecords = new EntitySet<Comprehensive_TrainingRecords>(new Action<Comprehensive_TrainingRecords>(this.attach_Comprehensive_TrainingRecords), new Action<Comprehensive_TrainingRecords>(this.detach_Comprehensive_TrainingRecords));
|
||||
this._CQMS_DataBase_InspectionLot = new EntitySet<CQMS_DataBase_InspectionLot>(new Action<CQMS_DataBase_InspectionLot>(this.attach_CQMS_DataBase_InspectionLot), new Action<CQMS_DataBase_InspectionLot>(this.detach_CQMS_DataBase_InspectionLot));
|
||||
this._DataBase_StartWorkReport = new EntitySet<DataBase_StartWorkReport>(new Action<DataBase_StartWorkReport>(this.attach_DataBase_StartWorkReport), new Action<DataBase_StartWorkReport>(this.detach_DataBase_StartWorkReport));
|
||||
this._Doc_DocManage = new EntitySet<Doc_DocManage>(new Action<Doc_DocManage>(this.attach_Doc_DocManage), new Action<Doc_DocManage>(this.detach_Doc_DocManage));
|
||||
@@ -18976,6 +18990,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_TrainingRecords_Base_CNProfessional", Storage="_Comprehensive_TrainingRecords", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_TrainingRecords> Comprehensive_TrainingRecords
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Comprehensive_TrainingRecords;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Comprehensive_TrainingRecords.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_CQMS_DataBase_InspectionLot_Base_CNProfessional", Storage="_CQMS_DataBase_InspectionLot", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<CQMS_DataBase_InspectionLot> CQMS_DataBase_InspectionLot
|
||||
{
|
||||
@@ -19194,6 +19221,18 @@ namespace Model
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_TrainingRecords(Comprehensive_TrainingRecords entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = this;
|
||||
}
|
||||
|
||||
private void detach_Comprehensive_TrainingRecords(Comprehensive_TrainingRecords entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_CNProfessional = null;
|
||||
}
|
||||
|
||||
private void attach_CQMS_DataBase_InspectionLot(CQMS_DataBase_InspectionLot entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -26048,6 +26087,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Comprehensive_SpecialEquipment> _Comprehensive_SpecialEquipment;
|
||||
|
||||
private EntitySet<Comprehensive_TrainingRecords> _Comprehensive_TrainingRecords;
|
||||
|
||||
private EntitySet<CostGoods_CostManage> _CostGoods_CostManage;
|
||||
|
||||
private EntitySet<CostGoods_CostSmallDetail> _CostGoods_CostSmallDetail;
|
||||
@@ -26671,6 +26712,7 @@ namespace Model
|
||||
this._Comprehensive_QualityAccident = new EntitySet<Comprehensive_QualityAccident>(new Action<Comprehensive_QualityAccident>(this.attach_Comprehensive_QualityAccident), new Action<Comprehensive_QualityAccident>(this.detach_Comprehensive_QualityAccident));
|
||||
this._Comprehensive_SiteVisaManagement = new EntitySet<Comprehensive_SiteVisaManagement>(new Action<Comprehensive_SiteVisaManagement>(this.attach_Comprehensive_SiteVisaManagement), new Action<Comprehensive_SiteVisaManagement>(this.detach_Comprehensive_SiteVisaManagement));
|
||||
this._Comprehensive_SpecialEquipment = new EntitySet<Comprehensive_SpecialEquipment>(new Action<Comprehensive_SpecialEquipment>(this.attach_Comprehensive_SpecialEquipment), new Action<Comprehensive_SpecialEquipment>(this.detach_Comprehensive_SpecialEquipment));
|
||||
this._Comprehensive_TrainingRecords = new EntitySet<Comprehensive_TrainingRecords>(new Action<Comprehensive_TrainingRecords>(this.attach_Comprehensive_TrainingRecords), new Action<Comprehensive_TrainingRecords>(this.detach_Comprehensive_TrainingRecords));
|
||||
this._CostGoods_CostManage = new EntitySet<CostGoods_CostManage>(new Action<CostGoods_CostManage>(this.attach_CostGoods_CostManage), new Action<CostGoods_CostManage>(this.detach_CostGoods_CostManage));
|
||||
this._CostGoods_CostSmallDetail = new EntitySet<CostGoods_CostSmallDetail>(new Action<CostGoods_CostSmallDetail>(this.attach_CostGoods_CostSmallDetail), new Action<CostGoods_CostSmallDetail>(this.detach_CostGoods_CostSmallDetail));
|
||||
this._CostGoods_Expense = new EntitySet<CostGoods_Expense>(new Action<CostGoods_Expense>(this.attach_CostGoods_Expense), new Action<CostGoods_Expense>(this.detach_CostGoods_Expense));
|
||||
@@ -28579,6 +28621,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_TrainingRecords_Base_Project", Storage="_Comprehensive_TrainingRecords", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Comprehensive_TrainingRecords> Comprehensive_TrainingRecords
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Comprehensive_TrainingRecords;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Comprehensive_TrainingRecords.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_CostGoods_CostManage_Base_Project", Storage="_CostGoods_CostManage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<CostGoods_CostManage> CostGoods_CostManage
|
||||
{
|
||||
@@ -32399,6 +32454,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Comprehensive_TrainingRecords(Comprehensive_TrainingRecords entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_Comprehensive_TrainingRecords(Comprehensive_TrainingRecords entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_CostGoods_CostManage(CostGoods_CostManage entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -101743,6 +101810,342 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Comprehensive_TrainingRecords")]
|
||||
public partial class Comprehensive_TrainingRecords : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TrainingRecordsId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _TrainingContents;
|
||||
|
||||
private string _CNProfessionalId;
|
||||
|
||||
private string _TrainingObject;
|
||||
|
||||
private string _TrainingAddress;
|
||||
|
||||
private System.Nullable<decimal> _Hours;
|
||||
|
||||
private string _KeynoteSpeaker;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private EntityRef<Base_CNProfessional> _Base_CNProfessional;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnTrainingRecordsIdChanging(string value);
|
||||
partial void OnTrainingRecordsIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnTrainingContentsChanging(string value);
|
||||
partial void OnTrainingContentsChanged();
|
||||
partial void OnCNProfessionalIdChanging(string value);
|
||||
partial void OnCNProfessionalIdChanged();
|
||||
partial void OnTrainingObjectChanging(string value);
|
||||
partial void OnTrainingObjectChanged();
|
||||
partial void OnTrainingAddressChanging(string value);
|
||||
partial void OnTrainingAddressChanged();
|
||||
partial void OnHoursChanging(System.Nullable<decimal> value);
|
||||
partial void OnHoursChanged();
|
||||
partial void OnKeynoteSpeakerChanging(string value);
|
||||
partial void OnKeynoteSpeakerChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
#endregion
|
||||
|
||||
public Comprehensive_TrainingRecords()
|
||||
{
|
||||
this._Base_CNProfessional = default(EntityRef<Base_CNProfessional>);
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingRecordsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TrainingRecordsId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingRecordsId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingRecordsId != value))
|
||||
{
|
||||
this.OnTrainingRecordsIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingRecordsId = value;
|
||||
this.SendPropertyChanged("TrainingRecordsId");
|
||||
this.OnTrainingRecordsIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
if (this._Base_Project.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingContents", DbType="NVarChar(100)")]
|
||||
public string TrainingContents
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingContents;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingContents != value))
|
||||
{
|
||||
this.OnTrainingContentsChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingContents = value;
|
||||
this.SendPropertyChanged("TrainingContents");
|
||||
this.OnTrainingContentsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")]
|
||||
public string CNProfessionalId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CNProfessionalId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CNProfessionalId != value))
|
||||
{
|
||||
if (this._Base_CNProfessional.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnCNProfessionalIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CNProfessionalId = value;
|
||||
this.SendPropertyChanged("CNProfessionalId");
|
||||
this.OnCNProfessionalIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingObject", DbType="NVarChar(50)")]
|
||||
public string TrainingObject
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TrainingObject;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TrainingObject != value))
|
||||
{
|
||||
this.OnTrainingObjectChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TrainingObject = value;
|
||||
this.SendPropertyChanged("TrainingObject");
|
||||
this.OnTrainingObjectChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_Hours", DbType="Decimal(18,1)")]
|
||||
public System.Nullable<decimal> Hours
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Hours;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Hours != value))
|
||||
{
|
||||
this.OnHoursChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Hours = value;
|
||||
this.SendPropertyChanged("Hours");
|
||||
this.OnHoursChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeynoteSpeaker", DbType="NVarChar(50)")]
|
||||
public string KeynoteSpeaker
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._KeynoteSpeaker;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._KeynoteSpeaker != value))
|
||||
{
|
||||
this.OnKeynoteSpeakerChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._KeynoteSpeaker = value;
|
||||
this.SendPropertyChanged("KeynoteSpeaker");
|
||||
this.OnKeynoteSpeakerChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")]
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_TrainingRecords_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
|
||||
public Base_CNProfessional Base_CNProfessional
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_CNProfessional.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_CNProfessional previousValue = this._Base_CNProfessional.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_CNProfessional.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_CNProfessional.Entity = null;
|
||||
previousValue.Comprehensive_TrainingRecords.Remove(this);
|
||||
}
|
||||
this._Base_CNProfessional.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Comprehensive_TrainingRecords.Add(this);
|
||||
this._CNProfessionalId = value.CNProfessionalId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._CNProfessionalId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_CNProfessional");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_TrainingRecords_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Project.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Project previousValue = this._Base_Project.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Project.Entity = null;
|
||||
previousValue.Comprehensive_TrainingRecords.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Comprehensive_TrainingRecords.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.CostGoods_CostManage")]
|
||||
public partial class CostGoods_CostManage : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user