安全环境预算
This commit is contained in:
@@ -2081,6 +2081,9 @@ namespace Model
|
||||
partial void InsertResources_SignManage(Resources_SignManage instance);
|
||||
partial void UpdateResources_SignManage(Resources_SignManage instance);
|
||||
partial void DeleteResources_SignManage(Resources_SignManage instance);
|
||||
partial void InsertSafeEnvBudget(SafeEnvBudget instance);
|
||||
partial void UpdateSafeEnvBudget(SafeEnvBudget instance);
|
||||
partial void DeleteSafeEnvBudget(SafeEnvBudget instance);
|
||||
partial void InsertSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
partial void UpdateSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
partial void DeleteSafetyData_SafetyData(SafetyData_SafetyData instance);
|
||||
@@ -8233,6 +8236,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<SafeEnvBudget> SafeEnvBudget
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<SafeEnvBudget>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<SafetyData_SafetyData> SafetyData_SafetyData
|
||||
{
|
||||
get
|
||||
@@ -330754,6 +330765,380 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SafeEnvBudget")]
|
||||
public partial class SafeEnvBudget : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _BudgetId;
|
||||
|
||||
private string _UnitId;
|
||||
|
||||
private string _Subject1;
|
||||
|
||||
private string _Subject2;
|
||||
|
||||
private string _Subject3;
|
||||
|
||||
private string _Subject4;
|
||||
|
||||
private string _Subject5;
|
||||
|
||||
private string _Year;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<decimal> _BudgetAmount;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreateDate;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _State;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnBudgetIdChanging(string value);
|
||||
partial void OnBudgetIdChanged();
|
||||
partial void OnUnitIdChanging(string value);
|
||||
partial void OnUnitIdChanged();
|
||||
partial void OnSubject1Changing(string value);
|
||||
partial void OnSubject1Changed();
|
||||
partial void OnSubject2Changing(string value);
|
||||
partial void OnSubject2Changed();
|
||||
partial void OnSubject3Changing(string value);
|
||||
partial void OnSubject3Changed();
|
||||
partial void OnSubject4Changing(string value);
|
||||
partial void OnSubject4Changed();
|
||||
partial void OnSubject5Changing(string value);
|
||||
partial void OnSubject5Changed();
|
||||
partial void OnYearChanging(string value);
|
||||
partial void OnYearChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnBudgetAmountChanging(System.Nullable<decimal> value);
|
||||
partial void OnBudgetAmountChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreateDateChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnStateChanging(string value);
|
||||
partial void OnStateChanged();
|
||||
#endregion
|
||||
|
||||
public SafeEnvBudget()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BudgetId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string BudgetId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BudgetId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BudgetId != value))
|
||||
{
|
||||
this.OnBudgetIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BudgetId = value;
|
||||
this.SendPropertyChanged("BudgetId");
|
||||
this.OnBudgetIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_Subject1", DbType="NVarChar(50)")]
|
||||
public string Subject1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Subject1;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Subject1 != value))
|
||||
{
|
||||
this.OnSubject1Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Subject1 = value;
|
||||
this.SendPropertyChanged("Subject1");
|
||||
this.OnSubject1Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subject2", DbType="NVarChar(50)")]
|
||||
public string Subject2
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Subject2;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Subject2 != value))
|
||||
{
|
||||
this.OnSubject2Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Subject2 = value;
|
||||
this.SendPropertyChanged("Subject2");
|
||||
this.OnSubject2Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subject3", DbType="NVarChar(50)")]
|
||||
public string Subject3
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Subject3;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Subject3 != value))
|
||||
{
|
||||
this.OnSubject3Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Subject3 = value;
|
||||
this.SendPropertyChanged("Subject3");
|
||||
this.OnSubject3Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subject4", DbType="NVarChar(50)")]
|
||||
public string Subject4
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Subject4;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Subject4 != value))
|
||||
{
|
||||
this.OnSubject4Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Subject4 = value;
|
||||
this.SendPropertyChanged("Subject4");
|
||||
this.OnSubject4Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subject5", DbType="NVarChar(50)")]
|
||||
public string Subject5
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Subject5;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Subject5 != value))
|
||||
{
|
||||
this.OnSubject5Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Subject5 = value;
|
||||
this.SendPropertyChanged("Subject5");
|
||||
this.OnSubject5Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="NVarChar(5)")]
|
||||
public string Year
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Year;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Year != value))
|
||||
{
|
||||
this.OnYearChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Year = value;
|
||||
this.SendPropertyChanged("Year");
|
||||
this.OnYearChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_BudgetAmount", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> BudgetAmount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._BudgetAmount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._BudgetAmount != value))
|
||||
{
|
||||
this.OnBudgetAmountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._BudgetAmount = value;
|
||||
this.SendPropertyChanged("BudgetAmount");
|
||||
this.OnBudgetAmountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
|
||||
public string UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UserId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UserId != value))
|
||||
{
|
||||
this.OnUserIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UserId = value;
|
||||
this.SendPropertyChanged("UserId");
|
||||
this.OnUserIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> CreateDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CreateDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CreateDate != value))
|
||||
{
|
||||
this.OnCreateDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CreateDate = value;
|
||||
this.SendPropertyChanged("CreateDate");
|
||||
this.OnCreateDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NVarChar(1)")]
|
||||
public string State
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._State;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._State != value))
|
||||
{
|
||||
this.OnStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._State = value;
|
||||
this.SendPropertyChanged("State");
|
||||
this.OnStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.SafetyData_SafetyData")]
|
||||
public partial class SafetyData_SafetyData : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user