This commit is contained in:
2024-05-10 14:45:54 +08:00
parent ba518ac354
commit 98c1cad987
12 changed files with 581 additions and 44 deletions
+218 -1
View File
@@ -22,7 +22,7 @@ namespace Model
using System;
public partial class SGGLDB : System.Data.Linq.DataContext
public partial class SGGLDB: System.Data.Linq.DataContext
{
private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
@@ -1115,6 +1115,9 @@ namespace Model
partial void InsertHSSE_MonthReportItem(HSSE_MonthReportItem instance);
partial void UpdateHSSE_MonthReportItem(HSSE_MonthReportItem instance);
partial void DeleteHSSE_MonthReportItem(HSSE_MonthReportItem instance);
partial void InsertHSSE_PerfomanceContent(HSSE_PerfomanceContent instance);
partial void UpdateHSSE_PerfomanceContent(HSSE_PerfomanceContent instance);
partial void DeleteHSSE_PerfomanceContent(HSSE_PerfomanceContent instance);
partial void InsertHSSE_Weather(HSSE_Weather instance);
partial void UpdateHSSE_Weather(HSSE_Weather instance);
partial void DeleteHSSE_Weather(HSSE_Weather instance);
@@ -5366,6 +5369,14 @@ namespace Model
}
}
public System.Data.Linq.Table<HSSE_PerfomanceContent> HSSE_PerfomanceContent
{
get
{
return this.GetTable<HSSE_PerfomanceContent>();
}
}
public System.Data.Linq.Table<HSSE_Weather> HSSE_Weather
{
get
@@ -176981,6 +176992,212 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_PerfomanceContent")]
public partial class HSSE_PerfomanceContent : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _PerfomanceId;
private string _PerfomanceContent;
private string _PerfomanceValue;
private System.Nullable<int> _PerfomanceType;
private string _ProjectId;
private System.Nullable<int> _ShowIndex;
private string _ReMark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnPerfomanceIdChanging(string value);
partial void OnPerfomanceIdChanged();
partial void OnPerfomanceContentChanging(string value);
partial void OnPerfomanceContentChanged();
partial void OnPerfomanceValueChanging(string value);
partial void OnPerfomanceValueChanged();
partial void OnPerfomanceTypeChanging(System.Nullable<int> value);
partial void OnPerfomanceTypeChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnShowIndexChanging(System.Nullable<int> value);
partial void OnShowIndexChanged();
partial void OnReMarkChanging(string value);
partial void OnReMarkChanged();
#endregion
public HSSE_PerfomanceContent()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PerfomanceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string PerfomanceId
{
get
{
return this._PerfomanceId;
}
set
{
if ((this._PerfomanceId != value))
{
this.OnPerfomanceIdChanging(value);
this.SendPropertyChanging();
this._PerfomanceId = value;
this.SendPropertyChanged("PerfomanceId");
this.OnPerfomanceIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PerfomanceContent", DbType="NVarChar(50)")]
public string PerfomanceContent
{
get
{
return this._PerfomanceContent;
}
set
{
if ((this._PerfomanceContent != value))
{
this.OnPerfomanceContentChanging(value);
this.SendPropertyChanging();
this._PerfomanceContent = value;
this.SendPropertyChanged("PerfomanceContent");
this.OnPerfomanceContentChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PerfomanceValue", DbType="NVarChar(50)")]
public string PerfomanceValue
{
get
{
return this._PerfomanceValue;
}
set
{
if ((this._PerfomanceValue != value))
{
this.OnPerfomanceValueChanging(value);
this.SendPropertyChanging();
this._PerfomanceValue = value;
this.SendPropertyChanged("PerfomanceValue");
this.OnPerfomanceValueChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PerfomanceType", DbType="Int")]
public System.Nullable<int> PerfomanceType
{
get
{
return this._PerfomanceType;
}
set
{
if ((this._PerfomanceType != value))
{
this.OnPerfomanceTypeChanging(value);
this.SendPropertyChanging();
this._PerfomanceType = value;
this.SendPropertyChanged("PerfomanceType");
this.OnPerfomanceTypeChanged();
}
}
}
[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="_ShowIndex", DbType="Int")]
public System.Nullable<int> ShowIndex
{
get
{
return this._ShowIndex;
}
set
{
if ((this._ShowIndex != value))
{
this.OnShowIndexChanging(value);
this.SendPropertyChanging();
this._ShowIndex = value;
this.SendPropertyChanged("ShowIndex");
this.OnShowIndexChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReMark", DbType="NVarChar(500)")]
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();
}
}
}
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.HSSE_Weather")]
public partial class HSSE_Weather : INotifyPropertyChanging, INotifyPropertyChanged
{