1102-gaofei
This commit is contained in:
+360
-2
@@ -731,6 +731,9 @@ namespace Model
|
||||
partial void InsertHJGL_Batch_PointBatchItem(HJGL_Batch_PointBatchItem instance);
|
||||
partial void UpdateHJGL_Batch_PointBatchItem(HJGL_Batch_PointBatchItem instance);
|
||||
partial void DeleteHJGL_Batch_PointBatchItem(HJGL_Batch_PointBatchItem instance);
|
||||
partial void InsertHJGL_FinishRate(HJGL_FinishRate instance);
|
||||
partial void UpdateHJGL_FinishRate(HJGL_FinishRate instance);
|
||||
partial void DeleteHJGL_FinishRate(HJGL_FinishRate instance);
|
||||
partial void InsertHJGL_Hard_Report(HJGL_Hard_Report instance);
|
||||
partial void UpdateHJGL_Hard_Report(HJGL_Hard_Report instance);
|
||||
partial void DeleteHJGL_Hard_Report(HJGL_Hard_Report instance);
|
||||
@@ -3910,6 +3913,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HJGL_FinishRate> HJGL_FinishRate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<HJGL_FinishRate>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<HJGL_Hard_Report> HJGL_Hard_Report
|
||||
{
|
||||
get
|
||||
@@ -22375,6 +22386,10 @@ namespace Model
|
||||
|
||||
private string _JTProjectCode;
|
||||
|
||||
private string _HJProjectCode;
|
||||
|
||||
private string _KZProjectCode;
|
||||
|
||||
private EntitySet<Accident_AccidentHandle> _Accident_AccidentHandle;
|
||||
|
||||
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
|
||||
@@ -22601,6 +22616,8 @@ namespace Model
|
||||
|
||||
private EntitySet<HJGL_Batch_BatchTrust> _HJGL_Batch_BatchTrust;
|
||||
|
||||
private EntitySet<HJGL_FinishRate> _HJGL_FinishRate;
|
||||
|
||||
private EntitySet<HJGL_LV_LeakVacuum> _HJGL_LV_LeakVacuum;
|
||||
|
||||
private EntitySet<HJGL_PC_PurgingCleaning> _HJGL_PC_PurgingCleaning;
|
||||
@@ -22977,6 +22994,10 @@ namespace Model
|
||||
partial void OnProgressChanged();
|
||||
partial void OnJTProjectCodeChanging(string value);
|
||||
partial void OnJTProjectCodeChanged();
|
||||
partial void OnHJProjectCodeChanging(string value);
|
||||
partial void OnHJProjectCodeChanged();
|
||||
partial void OnKZProjectCodeChanging(string value);
|
||||
partial void OnKZProjectCodeChanged();
|
||||
#endregion
|
||||
|
||||
public Base_Project()
|
||||
@@ -23094,6 +23115,7 @@ namespace Model
|
||||
this._Hazard_EnvironmentalRiskList = new EntitySet<Hazard_EnvironmentalRiskList>(new Action<Hazard_EnvironmentalRiskList>(this.attach_Hazard_EnvironmentalRiskList), new Action<Hazard_EnvironmentalRiskList>(this.detach_Hazard_EnvironmentalRiskList));
|
||||
this._Hazard_HazardList = new EntitySet<Hazard_HazardList>(new Action<Hazard_HazardList>(this.attach_Hazard_HazardList), new Action<Hazard_HazardList>(this.detach_Hazard_HazardList));
|
||||
this._HJGL_Batch_BatchTrust = new EntitySet<HJGL_Batch_BatchTrust>(new Action<HJGL_Batch_BatchTrust>(this.attach_HJGL_Batch_BatchTrust), new Action<HJGL_Batch_BatchTrust>(this.detach_HJGL_Batch_BatchTrust));
|
||||
this._HJGL_FinishRate = new EntitySet<HJGL_FinishRate>(new Action<HJGL_FinishRate>(this.attach_HJGL_FinishRate), new Action<HJGL_FinishRate>(this.detach_HJGL_FinishRate));
|
||||
this._HJGL_LV_LeakVacuum = new EntitySet<HJGL_LV_LeakVacuum>(new Action<HJGL_LV_LeakVacuum>(this.attach_HJGL_LV_LeakVacuum), new Action<HJGL_LV_LeakVacuum>(this.detach_HJGL_LV_LeakVacuum));
|
||||
this._HJGL_PC_PurgingCleaning = new EntitySet<HJGL_PC_PurgingCleaning>(new Action<HJGL_PC_PurgingCleaning>(this.attach_HJGL_PC_PurgingCleaning), new Action<HJGL_PC_PurgingCleaning>(this.detach_HJGL_PC_PurgingCleaning));
|
||||
this._HJGL_Pipeline = new EntitySet<HJGL_Pipeline>(new Action<HJGL_Pipeline>(this.attach_HJGL_Pipeline), new Action<HJGL_Pipeline>(this.detach_HJGL_Pipeline));
|
||||
@@ -23899,6 +23921,46 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HJProjectCode", DbType="NVarChar(50)")]
|
||||
public string HJProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HJProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._HJProjectCode != value))
|
||||
{
|
||||
this.OnHJProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._HJProjectCode = value;
|
||||
this.SendPropertyChanged("HJProjectCode");
|
||||
this.OnHJProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KZProjectCode", DbType="NVarChar(50)")]
|
||||
public string KZProjectCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._KZProjectCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._KZProjectCode != value))
|
||||
{
|
||||
this.OnKZProjectCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._KZProjectCode = value;
|
||||
this.SendPropertyChanged("KZProjectCode");
|
||||
this.OnKZProjectCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentHandle_Base_Project", Storage="_Accident_AccidentHandle", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Accident_AccidentHandle> Accident_AccidentHandle
|
||||
{
|
||||
@@ -25410,6 +25472,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FinishRate_Base_Project", Storage="_HJGL_FinishRate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_FinishRate> HJGL_FinishRate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HJGL_FinishRate;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._HJGL_FinishRate.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_LV_LeakVacuum_Base_Project", Storage="_HJGL_LV_LeakVacuum", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HJGL_LV_LeakVacuum> HJGL_LV_LeakVacuum
|
||||
{
|
||||
@@ -28764,6 +28839,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_FinishRate(HJGL_FinishRate entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_HJGL_FinishRate(HJGL_FinishRate entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_HJGL_LV_LeakVacuum(HJGL_LV_LeakVacuum entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -71078,7 +71165,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(500)")]
|
||||
public string QualifiedProjectCode
|
||||
{
|
||||
get
|
||||
@@ -116551,6 +116638,277 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FinishRate")]
|
||||
public partial class HJGL_FinishRate : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _Id;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private string _Code;
|
||||
|
||||
private string _Name;
|
||||
|
||||
private System.Nullable<int> _TotalNum;
|
||||
|
||||
private System.Nullable<int> _FinishNum;
|
||||
|
||||
private string _Rate;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#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 OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
partial void OnCodeChanging(string value);
|
||||
partial void OnCodeChanged();
|
||||
partial void OnNameChanging(string value);
|
||||
partial void OnNameChanged();
|
||||
partial void OnTotalNumChanging(System.Nullable<int> value);
|
||||
partial void OnTotalNumChanged();
|
||||
partial void OnFinishNumChanging(System.Nullable<int> value);
|
||||
partial void OnFinishNumChanged();
|
||||
partial void OnRateChanging(string value);
|
||||
partial void OnRateChanged();
|
||||
#endregion
|
||||
|
||||
public HJGL_FinishRate()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
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))
|
||||
{
|
||||
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="_Type", DbType="NVarChar(50)")]
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Type;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Type != value))
|
||||
{
|
||||
this.OnTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Type = value;
|
||||
this.SendPropertyChanged("Type");
|
||||
this.OnTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
|
||||
public string Code
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Code;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Code != value))
|
||||
{
|
||||
this.OnCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Code = value;
|
||||
this.SendPropertyChanged("Code");
|
||||
this.OnCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Name != value))
|
||||
{
|
||||
this.OnNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Name = value;
|
||||
this.SendPropertyChanged("Name");
|
||||
this.OnNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNum", DbType="Int")]
|
||||
public System.Nullable<int> TotalNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalNum != value))
|
||||
{
|
||||
this.OnTotalNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalNum = value;
|
||||
this.SendPropertyChanged("TotalNum");
|
||||
this.OnTotalNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FinishNum", DbType="Int")]
|
||||
public System.Nullable<int> FinishNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FinishNum;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FinishNum != value))
|
||||
{
|
||||
this.OnFinishNumChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FinishNum = value;
|
||||
this.SendPropertyChanged("FinishNum");
|
||||
this.OnFinishNumChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rate", DbType="NVarChar(20)")]
|
||||
public string Rate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Rate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Rate != value))
|
||||
{
|
||||
this.OnRateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Rate = value;
|
||||
this.SendPropertyChanged("Rate");
|
||||
this.OnRateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FinishRate_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.HJGL_FinishRate.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.HJGL_FinishRate.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.HJGL_Hard_Report")]
|
||||
public partial class HJGL_Hard_Report : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -333924,7 +334282,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(102)")]
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user