This commit is contained in:
jackchenyang
2024-05-25 16:25:27 +08:00
parent 9831d335da
commit 1bd3a4ed2c
7 changed files with 652 additions and 149 deletions
+496 -69
View File
@@ -263,6 +263,9 @@ namespace Model
partial void InsertTemplate_Files(Template_Files instance);
partial void UpdateTemplate_Files(Template_Files instance);
partial void DeleteTemplate_Files(Template_Files instance);
partial void InsertTrustBatchImportErrorLog(TrustBatchImportErrorLog instance);
partial void UpdateTrustBatchImportErrorLog(TrustBatchImportErrorLog instance);
partial void DeleteTrustBatchImportErrorLog(TrustBatchImportErrorLog instance);
partial void InsertWelder_ProjectWelder(Welder_ProjectWelder instance);
partial void UpdateWelder_ProjectWelder(Welder_ProjectWelder instance);
partial void DeleteWelder_ProjectWelder(Welder_ProjectWelder instance);
@@ -928,6 +931,14 @@ namespace Model
}
}
public System.Data.Linq.Table<TrustBatchImportErrorLog> TrustBatchImportErrorLog
{
get
{
return this.GetTable<TrustBatchImportErrorLog>();
}
}
public System.Data.Linq.Table<View_Base_PipingClassDetail> View_Base_PipingClassDetail
{
get
@@ -22499,12 +22510,12 @@ namespace Model
private string _DetectionStandard;
private string _Tabler;
private string _Remark;
private System.Nullable<System.DateTime> _CreatedTime;
private string _Tabler;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -22523,12 +22534,12 @@ namespace Model
partial void OnUnitIdChanged();
partial void OnDetectionStandardChanging(string value);
partial void OnDetectionStandardChanged();
partial void OnTablerChanging(string value);
partial void OnTablerChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged();
partial void OnTablerChanging(string value);
partial void OnTablerChanged();
#endregion
public PMI_Delegation()
@@ -22596,7 +22607,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
@@ -22676,26 +22687,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")]
public string Tabler
{
get
{
return this._Tabler;
}
set
{
if ((this._Tabler != value))
{
this.OnTablerChanging(value);
this.SendPropertyChanging();
this._Tabler = value;
this.SendPropertyChanged("Tabler");
this.OnTablerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(255)")]
public string Remark
{
@@ -22736,6 +22727,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")]
public string Tabler
{
get
{
return this._Tabler;
}
set
{
if ((this._Tabler != value))
{
this.OnTablerChanging(value);
this.SendPropertyChanging();
this._Tabler = value;
this.SendPropertyChanged("Tabler");
this.OnTablerChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -22775,10 +22786,10 @@ namespace Model
private int _Status;
private System.Nullable<System.DateTime> _CheckTime;
private string _ReportNo;
private System.Nullable<System.DateTime> _CheckTime;
private System.Nullable<System.DateTime> _ReportTime;
#region
@@ -22797,10 +22808,10 @@ namespace Model
partial void OnAcceptanceChanged();
partial void OnStatusChanging(int value);
partial void OnStatusChanged();
partial void OnCheckTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCheckTimeChanged();
partial void OnReportNoChanging(string value);
partial void OnReportNoChanged();
partial void OnCheckTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCheckTimeChanged();
partial void OnReportTimeChanging(System.Nullable<System.DateTime> value);
partial void OnReportTimeChanged();
#endregion
@@ -22910,7 +22921,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")]
public int Status
{
get
@@ -22930,26 +22941,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CheckTime
{
get
{
return this._CheckTime;
}
set
{
if ((this._CheckTime != value))
{
this.OnCheckTimeChanging(value);
this.SendPropertyChanging();
this._CheckTime = value;
this.SendPropertyChanged("CheckTime");
this.OnCheckTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportNo", Storage="_ReportNo", DbType="NVarChar(50)")]
public string ReportNo
{
@@ -22970,6 +22961,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CheckTime
{
get
{
return this._CheckTime;
}
set
{
if ((this._CheckTime != value))
{
this.OnCheckTimeChanging(value);
this.SendPropertyChanging();
this._CheckTime = value;
this.SendPropertyChanged("CheckTime");
this.OnCheckTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")]
public System.Nullable<System.DateTime> ReportTime
{
@@ -32261,6 +32272,404 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.TrustBatchImportErrorLog")]
public partial class TrustBatchImportErrorLog : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _BatchNo;
private System.Nullable<int> _RowID;
private string _TrustBatchCode;
private string _InstallCode;
private string _AreaCode;
private string _PipelineCode;
private string _WeldJointCode;
private string _DetectionType;
private string _TrustDate;
private string _UnitCode;
private string _SurfaceState;
private string _Opportunity;
private string _Remark;
private System.Nullable<System.DateTime> _CreatedTime;
#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 OnBatchNoChanging(string value);
partial void OnBatchNoChanged();
partial void OnRowIDChanging(System.Nullable<int> value);
partial void OnRowIDChanged();
partial void OnTrustBatchCodeChanging(string value);
partial void OnTrustBatchCodeChanged();
partial void OnInstallCodeChanging(string value);
partial void OnInstallCodeChanged();
partial void OnAreaCodeChanging(string value);
partial void OnAreaCodeChanged();
partial void OnPipelineCodeChanging(string value);
partial void OnPipelineCodeChanged();
partial void OnWeldJointCodeChanging(string value);
partial void OnWeldJointCodeChanged();
partial void OnDetectionTypeChanging(string value);
partial void OnDetectionTypeChanged();
partial void OnTrustDateChanging(string value);
partial void OnTrustDateChanged();
partial void OnUnitCodeChanging(string value);
partial void OnUnitCodeChanged();
partial void OnSurfaceStateChanging(string value);
partial void OnSurfaceStateChanged();
partial void OnOpportunityChanging(string value);
partial void OnOpportunityChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged();
#endregion
public TrustBatchImportErrorLog()
{
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="_BatchNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string BatchNo
{
get
{
return this._BatchNo;
}
set
{
if ((this._BatchNo != value))
{
this.OnBatchNoChanging(value);
this.SendPropertyChanging();
this._BatchNo = value;
this.SendPropertyChanged("BatchNo");
this.OnBatchNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RowID", DbType="Int")]
public System.Nullable<int> RowID
{
get
{
return this._RowID;
}
set
{
if ((this._RowID != value))
{
this.OnRowIDChanging(value);
this.SendPropertyChanging();
this._RowID = value;
this.SendPropertyChanged("RowID");
this.OnRowIDChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustBatchCode", DbType="NVarChar(50)")]
public string TrustBatchCode
{
get
{
return this._TrustBatchCode;
}
set
{
if ((this._TrustBatchCode != value))
{
this.OnTrustBatchCodeChanging(value);
this.SendPropertyChanging();
this._TrustBatchCode = value;
this.SendPropertyChanged("TrustBatchCode");
this.OnTrustBatchCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallCode", DbType="NVarChar(50)")]
public string InstallCode
{
get
{
return this._InstallCode;
}
set
{
if ((this._InstallCode != value))
{
this.OnInstallCodeChanging(value);
this.SendPropertyChanging();
this._InstallCode = value;
this.SendPropertyChanged("InstallCode");
this.OnInstallCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AreaCode", DbType="NVarChar(50)")]
public string AreaCode
{
get
{
return this._AreaCode;
}
set
{
if ((this._AreaCode != value))
{
this.OnAreaCodeChanging(value);
this.SendPropertyChanging();
this._AreaCode = value;
this.SendPropertyChanged("AreaCode");
this.OnAreaCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(50)")]
public string PipelineCode
{
get
{
return this._PipelineCode;
}
set
{
if ((this._PipelineCode != value))
{
this.OnPipelineCodeChanging(value);
this.SendPropertyChanging();
this._PipelineCode = value;
this.SendPropertyChanged("PipelineCode");
this.OnPipelineCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointCode", DbType="NVarChar(50)")]
public string WeldJointCode
{
get
{
return this._WeldJointCode;
}
set
{
if ((this._WeldJointCode != value))
{
this.OnWeldJointCodeChanging(value);
this.SendPropertyChanging();
this._WeldJointCode = value;
this.SendPropertyChanged("WeldJointCode");
this.OnWeldJointCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionType", DbType="NVarChar(50)")]
public string DetectionType
{
get
{
return this._DetectionType;
}
set
{
if ((this._DetectionType != value))
{
this.OnDetectionTypeChanging(value);
this.SendPropertyChanging();
this._DetectionType = value;
this.SendPropertyChanged("DetectionType");
this.OnDetectionTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="NVarChar(50)")]
public string TrustDate
{
get
{
return this._TrustDate;
}
set
{
if ((this._TrustDate != value))
{
this.OnTrustDateChanging(value);
this.SendPropertyChanging();
this._TrustDate = value;
this.SendPropertyChanged("TrustDate");
this.OnTrustDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(50)")]
public string UnitCode
{
get
{
return this._UnitCode;
}
set
{
if ((this._UnitCode != value))
{
this.OnUnitCodeChanging(value);
this.SendPropertyChanging();
this._UnitCode = value;
this.SendPropertyChanged("UnitCode");
this.OnUnitCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SurfaceState", DbType="NVarChar(50)")]
public string SurfaceState
{
get
{
return this._SurfaceState;
}
set
{
if ((this._SurfaceState != value))
{
this.OnSurfaceStateChanging(value);
this.SendPropertyChanging();
this._SurfaceState = value;
this.SendPropertyChanged("SurfaceState");
this.OnSurfaceStateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Opportunity", DbType="NVarChar(50)")]
public string Opportunity
{
get
{
return this._Opportunity;
}
set
{
if ((this._Opportunity != value))
{
this.OnOpportunityChanging(value);
this.SendPropertyChanging();
this._Opportunity = value;
this.SendPropertyChanged("Opportunity");
this.OnOpportunityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
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.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CreatedTime
{
get
{
return this._CreatedTime;
}
set
{
if ((this._CreatedTime != value))
{
this.OnCreatedTimeChanging(value);
this.SendPropertyChanging();
this._CreatedTime = value;
this.SendPropertyChanged("CreatedTime");
this.OnCreatedTimeChanged();
}
}
}
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.View_Base_PipingClassDetail")]
public partial class View_Base_PipingClassDetail
{
@@ -39146,6 +39555,8 @@ namespace Model
private string _ProjectId;
private System.Nullable<bool> _IsPMI;
private string _PipelineCode;
private string _PipelineId;
@@ -39276,6 +39687,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")]
public System.Nullable<bool> IsPMI
{
get
{
return this._IsPMI;
}
set
{
if ((this._IsPMI != value))
{
this._IsPMI = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
public string PipelineCode
{
@@ -41284,8 +41711,6 @@ namespace Model
private string _PipingClassCode;
private string _PIPClassCode;
private string _WeldingDate;
private System.Nullable<bool> _IsCancel;
@@ -41300,6 +41725,8 @@ namespace Model
private string _DetectionType;
private string _PIPClassCode;
private string _PageNum;
public View_Pipeline_WeldJoint()
@@ -42394,22 +42821,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
public string PIPClassCode
{
get
{
return this._PIPClassCode;
}
set
{
if ((this._PIPClassCode != value))
{
this._PIPClassCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")]
public string WeldingDate
{
@@ -42522,6 +42933,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
public string PIPClassCode
{
get
{
return this._PIPClassCode;
}
set
{
if ((this._PIPClassCode != value))
{
this._PIPClassCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageNum", DbType="NVarChar(10)")]
public string PageNum
{
@@ -47085,7 +47512,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="VarChar(1000)")]
public string WelderIds
{
get