推送数据

This commit is contained in:
2023-01-30 14:14:20 +08:00
parent 354f0ef6fe
commit 5c4b481651
49 changed files with 3905 additions and 289 deletions
@@ -0,0 +1,69 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_AccidentCauseReport
{
public string AccidentCauseReportCode{get;set;}
public string AccidentCauseReportId{get;set;}
public string AuditPerson{get;set;}
public System.Nullable<int> AverageManHours{get;set;}
public System.Nullable<decimal> AverageTotalHours{get;set;}
public System.Nullable<int> DeathAccident{get;set;}
public System.Nullable<int> DeathToll{get;set;}
public System.Nullable<int> DirectLoss{get;set;}
public string FillCompanyPersonCharge{get;set;}
public System.Nullable<System.DateTime> FillingDate{get;set;}
public System.Nullable<int> IndirectLosses{get;set;}
public System.Nullable<int> InjuredAccident{get;set;}
public System.Nullable<int> InjuredToll{get;set;}
public System.Nullable<int> KnockOffTotal{get;set;}
public System.Nullable<int> LastMonthLossHoursTotal{get;set;}
public System.Nullable<int> MinorWoundAccident{get;set;}
public System.Nullable<int> MinorWoundToll{get;set;}
public System.Nullable<int> Month{get;set;}
public string TabPeople{get;set;}
public System.Nullable<int> TotalLoss{get;set;}
public System.Nullable<int> TotalLossMan{get;set;}
public System.Nullable<int> TotalLossTime{get;set;}
public string UnitId{get;set;}
public System.Nullable<int> Year{get;set;}
}
}
@@ -0,0 +1,98 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_AccidentCauseReportItem
{
public string AccidentCauseReportId { get; set; }
public string AccidentCauseReportItemId { get; set; }
public string AccidentType { get; set; }
public System.Nullable<int> Death1 { get; set; }
public System.Nullable<int> Death10 { get; set; }
public System.Nullable<int> Death11 { get; set; }
public System.Nullable<int> Death2 { get; set; }
public System.Nullable<int> Death3 { get; set; }
public System.Nullable<int> Death4 { get; set; }
public System.Nullable<int> Death5 { get; set; }
public System.Nullable<int> Death6 { get; set; }
public System.Nullable<int> Death7 { get; set; }
public System.Nullable<int> Death8 { get; set; }
public System.Nullable<int> Death9 { get; set; }
public System.Nullable<int> Injuries1 { get; set; }
public System.Nullable<int> Injuries10 { get; set; }
public System.Nullable<int> Injuries11 { get; set; }
public System.Nullable<int> Injuries2 { get; set; }
public System.Nullable<int> Injuries3 { get; set; }
public System.Nullable<int> Injuries4 { get; set; }
public System.Nullable<int> Injuries5 { get; set; }
public System.Nullable<int> Injuries6 { get; set; }
public System.Nullable<int> Injuries7 { get; set; }
public System.Nullable<int> Injuries8 { get; set; }
public System.Nullable<int> Injuries9 { get; set; }
public System.Nullable<int> MinorInjuries1 { get; set; }
public System.Nullable<int> MinorInjuries10 { get; set; }
public System.Nullable<int> MinorInjuries11 { get; set; }
public System.Nullable<int> MinorInjuries2 { get; set; }
public System.Nullable<int> MinorInjuries3 { get; set; }
public System.Nullable<int> MinorInjuries4 { get; set; }
public System.Nullable<int> MinorInjuries5 { get; set; }
public System.Nullable<int> MinorInjuries6 { get; set; }
public System.Nullable<int> MinorInjuries7 { get; set; }
public System.Nullable<int> MinorInjuries8 { get; set; }
public System.Nullable<int> MinorInjuries9 { get; set; }
public System.Nullable<int> TotalDeath { get; set; }
public System.Nullable<int> TotalInjuries { get; set; }
public System.Nullable<int> TotalMinorInjuries { get; set; }
}
}
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_DrillConductedQuarterlyReport
{
public string CompileMan { get; set; }
public string DrillConductedQuarterlyReportId { get; set; }
public System.Nullable<int> Quarter { get; set; }
public System.Nullable<System.DateTime> ReportDate { get; set; }
public string UnitId { get; set; }
public System.Nullable<int> YearId { get; set; }
}
}
@@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_DrillConductedQuarterlyReportItem
{
public System.Nullable<int> BasicConductCount{get;set;}
public System.Nullable<decimal> BasicInvestment{get;set;}
public System.Nullable<int> BasicPeopleCount{get;set;}
public System.Nullable<int> CPDesktop{get;set;}
public System.Nullable<int> CPScene{get;set;}
public System.Nullable<int> ComprehensivePractice{get;set;}
public string DrillConductedQuarterlyReportId{get;set;}
public string DrillConductedQuarterlyReportItemId{get;set;}
public System.Nullable<int> HQConductCount{get;set;}
public System.Nullable<decimal> HQInvestment{get;set;}
public System.Nullable<int> HQPeopleCount{get;set;}
public string IndustryType{get;set;}
public System.Nullable<int> SDDesktop{get;set;}
public System.Nullable<int> SDScene{get;set;}
public System.Nullable<int> SortIndex{get;set;}
public System.Nullable<int> SpecialDrill{get;set;}
public System.Nullable<int> TotalConductCount{get;set;}
public System.Nullable<decimal> TotalInvestment{get;set;}
public System.Nullable<int> TotalPeopleCount{get;set;}
}
}
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_DrillPlanHalfYearReport
{
public System.Nullable<System.DateTime> CompileDate{get;set;}
public string CompileMan{get;set;}
public string DrillPlanHalfYearReportId{get;set;}
public System.Nullable<int> HalfYearId{get;set;}
public string Telephone{get;set;}
public string UnitId{get;set;}
public System.Nullable<int> YearId{get;set;}
}
}
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_DrillPlanHalfYearReportItem
{
public string AccidentScene{get;set;}
public string DrillPlanDate{get;set;}
public string DrillPlanHalfYearReportId{get;set;}
public string DrillPlanHalfYearReportItemId{get;set;}
public string DrillPlanName{get;set;}
public string ExerciseWay{get;set;}
public string OrganizationUnit{get;set;}
public System.Nullable<int> SortIndex{get;set;}
}
}
@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_MillionsMonthlyReport
{
public System.Nullable<decimal> AccidentMortality { get; set; }
public System.Nullable<decimal> DeathAccidentFrequency { get; set; }
public string DutyPerson { get; set; }
public System.Nullable<System.DateTime> FillingDate{ get; set; }
public string FillingMan{ get; set; }
public System.Nullable<decimal> LostTimeInjuryRate{ get; set; }
public System.Nullable<decimal> LostTimeRate{ get; set; }
public string MillionsMonthlyReportId{ get; set; }
public System.Nullable<int> Month{ get; set; }
public System.Nullable<decimal> RecordableIncidentRate{ get; set; }
public string UnitId{ get; set; }
public System.Nullable<int> Year{ get; set; }
}
}
@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_MillionsMonthlyReportItem
{
public string Affiliation{get;set;}
public System.Nullable<int> AttemptedEventNum{get;set;}
public System.Nullable<int> ContractorNum{get;set;}
public System.Nullable<int> EquipmentNum{get;set;}
public System.Nullable<int> ExplosionNum{get;set;}
public System.Nullable<int> FireNum{get;set;}
public System.Nullable<int> FirstAidDressingsNum{get;set;}
public System.Nullable<int> LossDayNum{get;set;}
public System.Nullable<int> MedicalTreatmentLossHour{get;set;}
public System.Nullable<int> MedicalTreatmentPersonNum{get;set;}
public string MillionsMonthlyReportId{get;set;}
public string MillionsMonthlyReportItemId{get;set;}
public System.Nullable<int> MinorAccidentLossHour{get;set;}
public System.Nullable<int> MinorAccidentNum{get;set;}
public System.Nullable<int> MinorAccidentPersonNum{get;set;}
public string Name{get;set;}
public System.Nullable<int> OtherAccidentLossHour{get;set;}
public System.Nullable<int> OtherAccidentNum{get;set;}
public System.Nullable<int> OtherAccidentPersonNum{get;set;}
public System.Nullable<int> OtherNum{get;set;}
public System.Nullable<int> PostPersonNum{get;set;}
public System.Nullable<int> QualityNum{get;set;}
public System.Nullable<int> RestrictedWorkLossHour{get;set;}
public System.Nullable<int> RestrictedWorkPersonNum{get;set;}
public System.Nullable<int> SeriousInjuriesLossHour{get;set;}
public System.Nullable<int> SeriousInjuriesNum{get;set;}
public System.Nullable<int> SeriousInjuriesPersonNum{get;set;}
public System.Nullable<int> SnapPersonNum{get;set;}
public System.Nullable<int> SortIndex{get;set;}
public System.Nullable<int> SumPersonNum{get;set;}
public System.Nullable<decimal> TotalWorkNum{get;set;}
public System.Nullable<int> TrafficNum{get;set;}
}
}
@@ -0,0 +1,208 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.HSSE
{
public class Information_SafetyQuarterlyReport
{
public System.Nullable<decimal> AccidentFrequency{get;set;}
public string AccidentFrequencyRemark{get;set;}
public System.Nullable<decimal> BillionsOutputMortality{get;set;}
public string BillionsOutputMortalityRemark{get;set;}
public System.Nullable<int> ChemicalAreaProjectCount{get;set;}
public string ChemicalAreaProjectCountRemark{get;set;}
public string CompileMan{get;set;}
public System.Nullable<decimal> ConstructionRevenue{get;set;}
public string ConstructionRevenueRemark{get;set;}
public System.Nullable<int> CorporateDirectorEdu{get;set;}
public string CorporateDirectorEduRemark{get;set;}
public System.Nullable<decimal> EducationTrainIn{get;set;}
public string EducationTrainInRemark{get;set;}
public System.Nullable<int> EquipmentAccident{get;set;}
public string EquipmentAccidentRemark{get;set;}
public System.Nullable<System.DateTime> FillingDate{get;set;}
public System.Nullable<int> FireAccident{get;set;}
public string FireAccidentRemark{get;set;}
public System.Nullable<int> FullTimeEdu{get;set;}
public string FullTimeEduRemark{get;set;}
public System.Nullable<int> FullTimeMan{get;set;}
public string FullTimeManAttachUrl{get;set;}
public System.Collections.Generic.List<byte[]> FullTimeManAttachUrlFileContext{get;set;}
public string FullTimeManRemark{get;set;}
public System.Nullable<int> HarmfulMediumCoverCount{get;set;}
public string HarmfulMediumCoverCountRemark{get;set;}
public System.Nullable<decimal> HarmfulMediumCoverRate{get;set;}
public string HarmfulMediumCoverRateRemark{get;set;}
public System.Nullable<int> KeyEquipmentReportCount{get;set;}
public string KeyEquipmentReportCountRemark{get;set;}
public System.Nullable<int> KeyEquipmentTotal{get;set;}
public string KeyEquipmentTotalRemark{get;set;}
public System.Nullable<decimal> LaboAndHealthIn{get;set;}
public string LaborAndHealthInRemark{get;set;}
public System.Nullable<decimal> MainBusinessIncome{get;set;}
public string MainBusinessIncomeRemark{get;set;}
public System.Nullable<int> MajorEquipAccident{get;set;}
public string MajorEquipAccidentRemark{get;set;}
public System.Nullable<int> MajorFireAccident{get;set;}
public string MajorFireAccidentRemark{get;set;}
public System.Nullable<int> PMMan{get;set;}
public string PMManAttachUrl{get;set;}
public System.Collections.Generic.List<byte[]> PMManAttachUrlFileContext{get;set;}
public string PMManRemark{get;set;}
public System.Nullable<int> PoisoningAndInjuries{get;set;}
public string PoisoningAndInjuriesRemark{get;set;}
public System.Nullable<decimal> ProductionInput{get;set;}
public string ProductionInputRemark{get;set;}
public System.Nullable<int> ProductionSafetyInTotal{get;set;}
public string ProductionSafetyInTotalRemark{get;set;}
public System.Nullable<decimal> ProjectCostRate{get;set;}
public string ProjectCostRateRemark{get;set;}
public System.Nullable<int> ProjectLeaderEdu{get;set;}
public string ProjectLeaderEduRemark{get;set;}
public System.Nullable<decimal> ProtectionInput{get;set;}
public string ProtectionInputRemark{get;set;}
public System.Nullable<int> Quarters{get;set;}
public string Remarks{get;set;}
public System.Nullable<decimal> Revenue{get;set;}
public string RevenueRemark{get;set;}
public string SafetyQuarterlyReportId{get;set;}
public System.Nullable<int> SeriousInjuryAccident{get;set;}
public string SeriousInjuryAccidentRemark{get;set;}
public System.Nullable<decimal> TechnologyProgressIn{get;set;}
public string TechnologyProgressInRemark{get;set;}
public System.Nullable<decimal> ThreeKidsEduRate{get;set;}
public string ThreeKidsEduRateRemark{get;set;}
public System.Nullable<int> TotalInWorkHours{get;set;}
public string TotalInWorkHoursRemark{get;set;}
public System.Nullable<int> TotalOutWorkHours{get;set;}
public string TotalOutWorkHoursRemark{get;set;}
public string UnitId{get;set;}
public System.Nullable<decimal> UnitTimeIncome{get;set;}
public string UnitTimeIncomeRemark{get;set;}
public System.Nullable<decimal> UplinReportRate{get;set;}
public string UplinReportRateRemark{get;set;}
public System.Nullable<decimal> WorkHoursAccuracy{get;set;}
public string WorkHoursAccuracyRemark{get;set;}
public System.Nullable<decimal> WorkHoursLossRate{get;set;}
public string WorkHoursLossRateRemark{get;set;}
public System.Nullable<int> YearId{get;set;}
}
}
+358
View File
@@ -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
{
+9
View File
@@ -181,6 +181,15 @@
<Compile Include="HJGL\SpRpNDTWeekReport.cs" />
<Compile Include="HJGL\SpWeldingDailyItem.cs" />
<Compile Include="HJGL\WelderEntrance.cs" />
<Compile Include="HSSE\Information_AccidentCauseReport.cs" />
<Compile Include="HSSE\Information_AccidentCauseReportItem.cs" />
<Compile Include="HSSE\Information_DrillConductedQuarterlyReport.cs" />
<Compile Include="HSSE\Information_DrillConductedQuarterlyReportItem.cs" />
<Compile Include="HSSE\Information_DrillPlanHalfYearReport.cs" />
<Compile Include="HSSE\Information_DrillPlanHalfYearReportItem.cs" />
<Compile Include="HSSE\Information_MillionsMonthlyReport.cs" />
<Compile Include="HSSE\Information_MillionsMonthlyReportItem.cs" />
<Compile Include="HSSE\Information_SafetyQuarterlyReport.cs" />
<Compile Include="HSSE\MonthReportCHSEDay.cs" />
<Compile Include="HSSE\PageDataPersonInOutItem.cs" />
<Compile Include="HSSE\SpResourceCollection.cs" />