推送数据
This commit is contained in:
@@ -1127,6 +1127,9 @@ namespace Model
|
||||
partial void InsertInformation_SafetyQuarterlyReport(Information_SafetyQuarterlyReport instance);
|
||||
partial void UpdateInformation_SafetyQuarterlyReport(Information_SafetyQuarterlyReport instance);
|
||||
partial void DeleteInformation_SafetyQuarterlyReport(Information_SafetyQuarterlyReport instance);
|
||||
partial void InsertInformation_UrgeReport(Information_UrgeReport instance);
|
||||
partial void UpdateInformation_UrgeReport(Information_UrgeReport instance);
|
||||
partial void DeleteInformation_UrgeReport(Information_UrgeReport instance);
|
||||
partial void InsertInformationProject_AccidentCauseReport(InformationProject_AccidentCauseReport instance);
|
||||
partial void UpdateInformationProject_AccidentCauseReport(InformationProject_AccidentCauseReport instance);
|
||||
partial void DeleteInformationProject_AccidentCauseReport(InformationProject_AccidentCauseReport instance);
|
||||
@@ -5251,6 +5254,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Information_UrgeReport> Information_UrgeReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Information_UrgeReport>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<InformationProject_AccidentCauseReport> InformationProject_AccidentCauseReport
|
||||
{
|
||||
get
|
||||
@@ -36108,6 +36119,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Information_SafetyQuarterlyReport> _Information_SafetyQuarterlyReport;
|
||||
|
||||
private EntitySet<Information_UrgeReport> _Information_UrgeReport;
|
||||
|
||||
private EntitySet<InformationProject_AccidentCauseReport> _InformationProject_AccidentCauseReport;
|
||||
|
||||
private EntitySet<InformationProject_DrillConductedQuarterlyReport> _InformationProject_DrillConductedQuarterlyReport;
|
||||
@@ -36406,6 +36419,7 @@ namespace Model
|
||||
this._Information_DrillPlanHalfYearReport = new EntitySet<Information_DrillPlanHalfYearReport>(new Action<Information_DrillPlanHalfYearReport>(this.attach_Information_DrillPlanHalfYearReport), new Action<Information_DrillPlanHalfYearReport>(this.detach_Information_DrillPlanHalfYearReport));
|
||||
this._Information_MillionsMonthlyReport = new EntitySet<Information_MillionsMonthlyReport>(new Action<Information_MillionsMonthlyReport>(this.attach_Information_MillionsMonthlyReport), new Action<Information_MillionsMonthlyReport>(this.detach_Information_MillionsMonthlyReport));
|
||||
this._Information_SafetyQuarterlyReport = new EntitySet<Information_SafetyQuarterlyReport>(new Action<Information_SafetyQuarterlyReport>(this.attach_Information_SafetyQuarterlyReport), new Action<Information_SafetyQuarterlyReport>(this.detach_Information_SafetyQuarterlyReport));
|
||||
this._Information_UrgeReport = new EntitySet<Information_UrgeReport>(new Action<Information_UrgeReport>(this.attach_Information_UrgeReport), new Action<Information_UrgeReport>(this.detach_Information_UrgeReport));
|
||||
this._InformationProject_AccidentCauseReport = new EntitySet<InformationProject_AccidentCauseReport>(new Action<InformationProject_AccidentCauseReport>(this.attach_InformationProject_AccidentCauseReport), new Action<InformationProject_AccidentCauseReport>(this.detach_InformationProject_AccidentCauseReport));
|
||||
this._InformationProject_DrillConductedQuarterlyReport = new EntitySet<InformationProject_DrillConductedQuarterlyReport>(new Action<InformationProject_DrillConductedQuarterlyReport>(this.attach_InformationProject_DrillConductedQuarterlyReport), new Action<InformationProject_DrillConductedQuarterlyReport>(this.detach_InformationProject_DrillConductedQuarterlyReport));
|
||||
this._InformationProject_DrillPlanHalfYearReport = new EntitySet<InformationProject_DrillPlanHalfYearReport>(new Action<InformationProject_DrillPlanHalfYearReport>(this.attach_InformationProject_DrillPlanHalfYearReport), new Action<InformationProject_DrillPlanHalfYearReport>(this.detach_InformationProject_DrillPlanHalfYearReport));
|
||||
@@ -38179,6 +38193,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Information_UrgeReport_Base_Unit", Storage="_Information_UrgeReport", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Information_UrgeReport> Information_UrgeReport
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Information_UrgeReport;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Information_UrgeReport.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_InformationProject_AccidentCauseReport_Base_Unit", Storage="_InformationProject_AccidentCauseReport", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<InformationProject_AccidentCauseReport> InformationProject_AccidentCauseReport
|
||||
{
|
||||
@@ -40265,6 +40292,18 @@ namespace Model
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_Information_UrgeReport(Information_UrgeReport entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = this;
|
||||
}
|
||||
|
||||
private void detach_Information_UrgeReport(Information_UrgeReport entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Unit = null;
|
||||
}
|
||||
|
||||
private void attach_InformationProject_AccidentCauseReport(InformationProject_AccidentCauseReport entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -180971,6 +181010,325 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Information_UrgeReport")]
|
||||
public partial class Information_UrgeReport : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _UrgeReportId;
|
||||
|
||||
private string _UnitId;
|
||||
|
||||
private string _ReprotType;
|
||||
|
||||
private string _YearId;
|
||||
|
||||
private string _MonthId;
|
||||
|
||||
private string _QuarterId;
|
||||
|
||||
private string _HalfYearId;
|
||||
|
||||
private System.Nullable<System.DateTime> _UrgeDate;
|
||||
|
||||
private System.Nullable<bool> _IsComplete;
|
||||
|
||||
private System.Nullable<bool> _IsCancel;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnUrgeReportIdChanging(string value);
|
||||
partial void OnUrgeReportIdChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnReprotTypeChanging(string value);
|
||||
partial void OnReprotTypeChanged();
|
||||
partial void OnYearIdChanging(string value);
|
||||
partial void OnYearIdChanged();
|
||||
partial void OnMonthIdChanging(string value);
|
||||
partial void OnMonthIdChanged();
|
||||
partial void OnQuarterIdChanging(string value);
|
||||
partial void OnQuarterIdChanged();
|
||||
partial void OnHalfYearIdChanging(string value);
|
||||
partial void OnHalfYearIdChanged();
|
||||
partial void OnUrgeDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnUrgeDateChanged();
|
||||
partial void OnIsCompleteChanging(System.Nullable<bool> value);
|
||||
partial void OnIsCompleteChanged();
|
||||
partial void OnIsCancelChanging(System.Nullable<bool> value);
|
||||
partial void OnIsCancelChanged();
|
||||
#endregion
|
||||
|
||||
public Information_UrgeReport()
|
||||
{
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UrgeReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string UrgeReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UrgeReportId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UrgeReportId != value))
|
||||
{
|
||||
this.OnUrgeReportIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UrgeReportId = value;
|
||||
this.SendPropertyChanged("UrgeReportId");
|
||||
this.OnUrgeReportIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
|
||||
public string UnitId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitId != value))
|
||||
{
|
||||
if (this._Base_Unit.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUnitIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitId = value;
|
||||
this.SendPropertyChanged("UnitId");
|
||||
this.OnUnitIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReprotType", DbType="NVarChar(50)")]
|
||||
public string ReprotType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ReprotType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ReprotType != value))
|
||||
{
|
||||
this.OnReprotTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ReprotType = value;
|
||||
this.SendPropertyChanged("ReprotType");
|
||||
this.OnReprotTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YearId", DbType="NVarChar(50)")]
|
||||
public string YearId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._YearId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._YearId != value))
|
||||
{
|
||||
this.OnYearIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._YearId = value;
|
||||
this.SendPropertyChanged("YearId");
|
||||
this.OnYearIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthId", DbType="NVarChar(50)")]
|
||||
public string MonthId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MonthId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MonthId != value))
|
||||
{
|
||||
this.OnMonthIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MonthId = value;
|
||||
this.SendPropertyChanged("MonthId");
|
||||
this.OnMonthIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuarterId", DbType="NVarChar(50)")]
|
||||
public string QuarterId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._QuarterId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._QuarterId != value))
|
||||
{
|
||||
this.OnQuarterIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._QuarterId = value;
|
||||
this.SendPropertyChanged("QuarterId");
|
||||
this.OnQuarterIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HalfYearId", DbType="NVarChar(50)")]
|
||||
public string HalfYearId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HalfYearId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._HalfYearId != value))
|
||||
{
|
||||
this.OnHalfYearIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._HalfYearId = value;
|
||||
this.SendPropertyChanged("HalfYearId");
|
||||
this.OnHalfYearIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UrgeDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> UrgeDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UrgeDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UrgeDate != value))
|
||||
{
|
||||
this.OnUrgeDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UrgeDate = value;
|
||||
this.SendPropertyChanged("UrgeDate");
|
||||
this.OnUrgeDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsComplete", DbType="Bit")]
|
||||
public System.Nullable<bool> IsComplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsComplete;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsComplete != value))
|
||||
{
|
||||
this.OnIsCompleteChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsComplete = value;
|
||||
this.SendPropertyChanged("IsComplete");
|
||||
this.OnIsCompleteChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCancel", DbType="Bit")]
|
||||
public System.Nullable<bool> IsCancel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IsCancel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IsCancel != value))
|
||||
{
|
||||
this.OnIsCancelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._IsCancel = value;
|
||||
this.SendPropertyChanged("IsCancel");
|
||||
this.OnIsCancelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Information_UrgeReport_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)]
|
||||
public Base_Unit Base_Unit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Unit.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Unit previousValue = this._Base_Unit.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Unit.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Unit.Entity = null;
|
||||
previousValue.Information_UrgeReport.Remove(this);
|
||||
}
|
||||
this._Base_Unit.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Information_UrgeReport.Add(this);
|
||||
this._UnitId = value.UnitId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UnitId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Unit");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.InformationProject_AccidentCauseReport")]
|
||||
public partial class InformationProject_AccidentCauseReport : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user