PMI委托

This commit is contained in:
jackchenyang
2024-05-11 15:22:08 +08:00
parent 81f51e38be
commit 18b11605e1
17 changed files with 1540 additions and 312 deletions
+333 -243
View File
@@ -173,12 +173,12 @@ namespace Model
partial void InsertPipeline_WeldJoint(Pipeline_WeldJoint instance);
partial void UpdatePipeline_WeldJoint(Pipeline_WeldJoint instance);
partial void DeletePipeline_WeldJoint(Pipeline_WeldJoint instance);
partial void InsertPMI_DetectionDetails(PMI_DetectionDetails instance);
partial void UpdatePMI_DetectionDetails(PMI_DetectionDetails instance);
partial void DeletePMI_DetectionDetails(PMI_DetectionDetails instance);
partial void InsertPMI_Detections(PMI_Detections instance);
partial void UpdatePMI_Detections(PMI_Detections instance);
partial void DeletePMI_Detections(PMI_Detections instance);
partial void InsertPMI_Delegation(PMI_Delegation instance);
partial void UpdatePMI_Delegation(PMI_Delegation instance);
partial void DeletePMI_Delegation(PMI_Delegation instance);
partial void InsertPMI_DelegationDetails(PMI_DelegationDetails instance);
partial void UpdatePMI_DelegationDetails(PMI_DelegationDetails instance);
partial void DeletePMI_DelegationDetails(PMI_DelegationDetails instance);
partial void InsertProject_Installation(Project_Installation instance);
partial void UpdateProject_Installation(Project_Installation instance);
partial void DeleteProject_Installation(Project_Installation instance);
@@ -670,19 +670,19 @@ namespace Model
}
}
public System.Data.Linq.Table<PMI_DetectionDetails> PMI_DetectionDetails
public System.Data.Linq.Table<PMI_Delegation> PMI_Delegation
{
get
{
return this.GetTable<PMI_DetectionDetails>();
return this.GetTable<PMI_Delegation>();
}
}
public System.Data.Linq.Table<PMI_Detections> PMI_Detections
public System.Data.Linq.Table<PMI_DelegationDetails> PMI_DelegationDetails
{
get
{
return this.GetTable<PMI_Detections>();
return this.GetTable<PMI_DelegationDetails>();
}
}
@@ -19375,6 +19375,8 @@ namespace Model
private string _ANSISCH;
private System.Nullable<bool> _IsPMI;
private EntitySet<Batch_BatchTrustItem> _Batch_BatchTrustItem;
private EntitySet<Batch_PointBatchItem> _Batch_PointBatchItem;
@@ -19513,6 +19515,8 @@ namespace Model
partial void OnPageNumChanged();
partial void OnANSISCHChanging(string value);
partial void OnANSISCHChanged();
partial void OnIsPMIChanging(System.Nullable<bool> value);
partial void OnIsPMIChanged();
#endregion
public Pipeline_WeldJoint()
@@ -20547,6 +20551,26 @@ 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.OnIsPMIChanging(value);
this.SendPropertyChanging();
this._IsPMI = value;
this.SendPropertyChanged("IsPMI");
this.OnIsPMIChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Batch_BatchTrustItem_Pipeline_WeldJoint", Storage="_Batch_BatchTrustItem", ThisKey="WeldJointId", OtherKey="WeldJointId", DeleteRule="NO ACTION")]
public EntitySet<Batch_BatchTrustItem> Batch_BatchTrustItem
{
@@ -21151,8 +21175,286 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PMI_DetectionDetails")]
public partial class PMI_DetectionDetails : INotifyPropertyChanging, INotifyPropertyChanged
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PMI_Delegation")]
public partial class PMI_Delegation : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _DelegationNo;
private System.Nullable<System.DateTime> _DelegationDate;
private string _ProjectId;
private string _InstallationId;
private string _UnitId;
private string _DetectionStandard;
private string _Remark;
private System.Nullable<System.DateTime> _CreatedTime;
private string _Tabler;
#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 OnDelegationNoChanging(string value);
partial void OnDelegationNoChanged();
partial void OnDelegationDateChanging(System.Nullable<System.DateTime> value);
partial void OnDelegationDateChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnInstallationIdChanging(string value);
partial void OnInstallationIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnDetectionStandardChanging(string value);
partial void OnDetectionStandardChanged();
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()
{
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="_DelegationNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string DelegationNo
{
get
{
return this._DelegationNo;
}
set
{
if ((this._DelegationNo != value))
{
this.OnDelegationNoChanging(value);
this.SendPropertyChanging();
this._DelegationNo = value;
this.SendPropertyChanged("DelegationNo");
this.OnDelegationNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DelegationDate", DbType="DateTime")]
public System.Nullable<System.DateTime> DelegationDate
{
get
{
return this._DelegationDate;
}
set
{
if ((this._DelegationDate != value))
{
this.OnDelegationDateChanging(value);
this.SendPropertyChanging();
this._DelegationDate = value;
this.SendPropertyChanged("DelegationDate");
this.OnDelegationDateChanged();
}
}
}
[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="_InstallationId", DbType="NVarChar(50)")]
public string InstallationId
{
get
{
return this._InstallationId;
}
set
{
if ((this._InstallationId != value))
{
this.OnInstallationIdChanging(value);
this.SendPropertyChanging();
this._InstallationId = value;
this.SendPropertyChanged("InstallationId");
this.OnInstallationIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
this.SendPropertyChanged("UnitId");
this.OnUnitIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionStandard", DbType="NVarChar(50)")]
public string DetectionStandard
{
get
{
return this._DetectionStandard;
}
set
{
if ((this._DetectionStandard != value))
{
this.OnDetectionStandardChanging(value);
this.SendPropertyChanging();
this._DetectionStandard = value;
this.SendPropertyChanged("DetectionStandard");
this.OnDetectionStandardChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(255)")]
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();
}
}
}
[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;
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.PMI_DelegationDetails")]
public partial class PMI_DelegationDetails : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
@@ -21187,7 +21489,7 @@ namespace Model
partial void OnCreatedTimeChanged();
#endregion
public PMI_DetectionDetails()
public PMI_DelegationDetails()
{
OnCreated();
}
@@ -21333,236 +21635,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PMI_Detections")]
public partial class PMI_Detections : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _DelegationNo;
private System.Nullable<System.DateTime> _DelegationDate;
private string _InstallationId;
private string _UnitId;
private string _DetectionStandard;
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 OnDelegationNoChanging(string value);
partial void OnDelegationNoChanged();
partial void OnDelegationDateChanging(System.Nullable<System.DateTime> value);
partial void OnDelegationDateChanged();
partial void OnInstallationIdChanging(string value);
partial void OnInstallationIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnDetectionStandardChanging(string value);
partial void OnDetectionStandardChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged();
#endregion
public PMI_Detections()
{
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="_DelegationNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string DelegationNo
{
get
{
return this._DelegationNo;
}
set
{
if ((this._DelegationNo != value))
{
this.OnDelegationNoChanging(value);
this.SendPropertyChanging();
this._DelegationNo = value;
this.SendPropertyChanged("DelegationNo");
this.OnDelegationNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DelegationDate", DbType="DateTime")]
public System.Nullable<System.DateTime> DelegationDate
{
get
{
return this._DelegationDate;
}
set
{
if ((this._DelegationDate != value))
{
this.OnDelegationDateChanging(value);
this.SendPropertyChanging();
this._DelegationDate = value;
this.SendPropertyChanged("DelegationDate");
this.OnDelegationDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")]
public string InstallationId
{
get
{
return this._InstallationId;
}
set
{
if ((this._InstallationId != value))
{
this.OnInstallationIdChanging(value);
this.SendPropertyChanging();
this._InstallationId = value;
this.SendPropertyChanged("InstallationId");
this.OnInstallationIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
this.SendPropertyChanged("UnitId");
this.OnUnitIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionStandard", DbType="NVarChar(50)")]
public string DetectionStandard
{
get
{
return this._DetectionStandard;
}
set
{
if ((this._DetectionStandard != value))
{
this.OnDetectionStandardChanging(value);
this.SendPropertyChanging();
this._DetectionStandard = value;
this.SendPropertyChanged("DetectionStandard");
this.OnDetectionStandardChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(255)")]
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.Project_Installation")]
public partial class Project_Installation : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -39304,6 +39376,8 @@ namespace Model
private System.Nullable<bool> _IsCancel;
private System.Nullable<bool> _IsPMI;
private System.Nullable<bool> _IsGoldJoint;
private string _WPQId;
@@ -40438,6 +40512,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(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="_IsGoldJoint", DbType="Bit")]
public System.Nullable<bool> IsGoldJoint
{