fix:补充企业大检查等web
This commit is contained in:
@@ -2564,6 +2564,9 @@ namespace Model
|
||||
partial void InsertSys_Const(Sys_Const instance);
|
||||
partial void UpdateSys_Const(Sys_Const instance);
|
||||
partial void DeleteSys_Const(Sys_Const instance);
|
||||
partial void InsertSys_CQMS_DataInTemp(Sys_CQMS_DataInTemp instance);
|
||||
partial void UpdateSys_CQMS_DataInTemp(Sys_CQMS_DataInTemp instance);
|
||||
partial void DeleteSys_CQMS_DataInTemp(Sys_CQMS_DataInTemp instance);
|
||||
partial void InsertSys_DataInTemp(Sys_DataInTemp instance);
|
||||
partial void UpdateSys_DataInTemp(Sys_DataInTemp instance);
|
||||
partial void DeleteSys_DataInTemp(Sys_DataInTemp instance);
|
||||
@@ -9780,6 +9783,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Sys_CQMS_DataInTemp> Sys_CQMS_DataInTemp
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Sys_CQMS_DataInTemp>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Sys_DataInTemp> Sys_DataInTemp
|
||||
{
|
||||
get
|
||||
@@ -28333,6 +28344,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Sys_CodeRecords> _Sys_CodeRecords;
|
||||
|
||||
private EntitySet<Sys_CQMS_DataInTemp> _Sys_CQMS_DataInTemp;
|
||||
|
||||
private EntitySet<Sys_DataInTemp> _Sys_DataInTemp;
|
||||
|
||||
private EntitySet<Sys_FlowOperate> _Sys_FlowOperate;
|
||||
@@ -28779,6 +28792,7 @@ namespace Model
|
||||
this._SY_Hazard_HazardList = new EntitySet<SY_Hazard_HazardList>(new Action<SY_Hazard_HazardList>(this.attach_SY_Hazard_HazardList), new Action<SY_Hazard_HazardList>(this.detach_SY_Hazard_HazardList));
|
||||
this._SY_SitePerson_DayReport = new EntitySet<SY_SitePerson_DayReport>(new Action<SY_SitePerson_DayReport>(this.attach_SY_SitePerson_DayReport), new Action<SY_SitePerson_DayReport>(this.detach_SY_SitePerson_DayReport));
|
||||
this._Sys_CodeRecords = new EntitySet<Sys_CodeRecords>(new Action<Sys_CodeRecords>(this.attach_Sys_CodeRecords), new Action<Sys_CodeRecords>(this.detach_Sys_CodeRecords));
|
||||
this._Sys_CQMS_DataInTemp = new EntitySet<Sys_CQMS_DataInTemp>(new Action<Sys_CQMS_DataInTemp>(this.attach_Sys_CQMS_DataInTemp), new Action<Sys_CQMS_DataInTemp>(this.detach_Sys_CQMS_DataInTemp));
|
||||
this._Sys_DataInTemp = new EntitySet<Sys_DataInTemp>(new Action<Sys_DataInTemp>(this.attach_Sys_DataInTemp), new Action<Sys_DataInTemp>(this.detach_Sys_DataInTemp));
|
||||
this._Sys_FlowOperate = new EntitySet<Sys_FlowOperate>(new Action<Sys_FlowOperate>(this.attach_Sys_FlowOperate), new Action<Sys_FlowOperate>(this.detach_Sys_FlowOperate));
|
||||
this._Sys_RoleItem = new EntitySet<Sys_RoleItem>(new Action<Sys_RoleItem>(this.attach_Sys_RoleItem), new Action<Sys_RoleItem>(this.detach_Sys_RoleItem));
|
||||
@@ -33573,6 +33587,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_CQMS_DataInTemp_Base_Project", Storage="_Sys_CQMS_DataInTemp", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Sys_CQMS_DataInTemp> Sys_CQMS_DataInTemp
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Sys_CQMS_DataInTemp;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Sys_CQMS_DataInTemp.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_DataInTemp_Base_Project", Storage="_Sys_DataInTemp", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Sys_DataInTemp> Sys_DataInTemp
|
||||
{
|
||||
@@ -37594,6 +37621,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Sys_CQMS_DataInTemp(Sys_CQMS_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_Sys_CQMS_DataInTemp(Sys_CQMS_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Sys_DataInTemp(Sys_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -403496,6 +403535,774 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_CQMS_DataInTemp")]
|
||||
public partial class Sys_CQMS_DataInTemp : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _TempId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _UserId;
|
||||
|
||||
private System.Nullable<System.DateTime> _Time;
|
||||
|
||||
private System.Nullable<int> _RowNo;
|
||||
|
||||
private string _Value1;
|
||||
|
||||
private string _Value2;
|
||||
|
||||
private string _Value3;
|
||||
|
||||
private string _Value4;
|
||||
|
||||
private string _Value5;
|
||||
|
||||
private string _Value6;
|
||||
|
||||
private string _Value7;
|
||||
|
||||
private string _Value8;
|
||||
|
||||
private string _Value9;
|
||||
|
||||
private string _Value10;
|
||||
|
||||
private string _Value11;
|
||||
|
||||
private string _Value12;
|
||||
|
||||
private string _Value13;
|
||||
|
||||
private string _Value14;
|
||||
|
||||
private string _Value15;
|
||||
|
||||
private string _Value16;
|
||||
|
||||
private string _Value17;
|
||||
|
||||
private string _Value18;
|
||||
|
||||
private string _Value19;
|
||||
|
||||
private string _Value20;
|
||||
|
||||
private string _ToopValue;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnTempIdChanging(string value);
|
||||
partial void OnTempIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnUserIdChanging(string value);
|
||||
partial void OnUserIdChanged();
|
||||
partial void OnTimeChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnTimeChanged();
|
||||
partial void OnRowNoChanging(System.Nullable<int> value);
|
||||
partial void OnRowNoChanged();
|
||||
partial void OnValue1Changing(string value);
|
||||
partial void OnValue1Changed();
|
||||
partial void OnValue2Changing(string value);
|
||||
partial void OnValue2Changed();
|
||||
partial void OnValue3Changing(string value);
|
||||
partial void OnValue3Changed();
|
||||
partial void OnValue4Changing(string value);
|
||||
partial void OnValue4Changed();
|
||||
partial void OnValue5Changing(string value);
|
||||
partial void OnValue5Changed();
|
||||
partial void OnValue6Changing(string value);
|
||||
partial void OnValue6Changed();
|
||||
partial void OnValue7Changing(string value);
|
||||
partial void OnValue7Changed();
|
||||
partial void OnValue8Changing(string value);
|
||||
partial void OnValue8Changed();
|
||||
partial void OnValue9Changing(string value);
|
||||
partial void OnValue9Changed();
|
||||
partial void OnValue10Changing(string value);
|
||||
partial void OnValue10Changed();
|
||||
partial void OnValue11Changing(string value);
|
||||
partial void OnValue11Changed();
|
||||
partial void OnValue12Changing(string value);
|
||||
partial void OnValue12Changed();
|
||||
partial void OnValue13Changing(string value);
|
||||
partial void OnValue13Changed();
|
||||
partial void OnValue14Changing(string value);
|
||||
partial void OnValue14Changed();
|
||||
partial void OnValue15Changing(string value);
|
||||
partial void OnValue15Changed();
|
||||
partial void OnValue16Changing(string value);
|
||||
partial void OnValue16Changed();
|
||||
partial void OnValue17Changing(string value);
|
||||
partial void OnValue17Changed();
|
||||
partial void OnValue18Changing(string value);
|
||||
partial void OnValue18Changed();
|
||||
partial void OnValue19Changing(string value);
|
||||
partial void OnValue19Changed();
|
||||
partial void OnValue20Changing(string value);
|
||||
partial void OnValue20Changed();
|
||||
partial void OnToopValueChanging(string value);
|
||||
partial void OnToopValueChanged();
|
||||
partial void OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
#endregion
|
||||
|
||||
public Sys_CQMS_DataInTemp()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Sys_User = default(EntityRef<Sys_User>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TempId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string TempId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TempId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TempId != value))
|
||||
{
|
||||
this.OnTempIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TempId = value;
|
||||
this.SendPropertyChanged("TempId");
|
||||
this.OnTempIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_UserId", DbType="NVarChar(50)")]
|
||||
public string UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UserId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UserId != value))
|
||||
{
|
||||
if (this._Sys_User.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnUserIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UserId = value;
|
||||
this.SendPropertyChanged("UserId");
|
||||
this.OnUserIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> Time
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Time;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Time != value))
|
||||
{
|
||||
this.OnTimeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Time = value;
|
||||
this.SendPropertyChanged("Time");
|
||||
this.OnTimeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RowNo", DbType="Int")]
|
||||
public System.Nullable<int> RowNo
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RowNo;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RowNo != value))
|
||||
{
|
||||
this.OnRowNoChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RowNo = value;
|
||||
this.SendPropertyChanged("RowNo");
|
||||
this.OnRowNoChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value1", DbType="NVarChar(100)")]
|
||||
public string Value1
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value1;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value1 != value))
|
||||
{
|
||||
this.OnValue1Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value1 = value;
|
||||
this.SendPropertyChanged("Value1");
|
||||
this.OnValue1Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value2", DbType="NVarChar(100)")]
|
||||
public string Value2
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value2;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value2 != value))
|
||||
{
|
||||
this.OnValue2Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value2 = value;
|
||||
this.SendPropertyChanged("Value2");
|
||||
this.OnValue2Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value3", DbType="NVarChar(100)")]
|
||||
public string Value3
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value3;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value3 != value))
|
||||
{
|
||||
this.OnValue3Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value3 = value;
|
||||
this.SendPropertyChanged("Value3");
|
||||
this.OnValue3Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value4", DbType="NVarChar(100)")]
|
||||
public string Value4
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value4;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value4 != value))
|
||||
{
|
||||
this.OnValue4Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value4 = value;
|
||||
this.SendPropertyChanged("Value4");
|
||||
this.OnValue4Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value5", DbType="NVarChar(100)")]
|
||||
public string Value5
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value5;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value5 != value))
|
||||
{
|
||||
this.OnValue5Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value5 = value;
|
||||
this.SendPropertyChanged("Value5");
|
||||
this.OnValue5Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value6", DbType="NVarChar(100)")]
|
||||
public string Value6
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value6;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value6 != value))
|
||||
{
|
||||
this.OnValue6Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value6 = value;
|
||||
this.SendPropertyChanged("Value6");
|
||||
this.OnValue6Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value7", DbType="NVarChar(100)")]
|
||||
public string Value7
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value7;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value7 != value))
|
||||
{
|
||||
this.OnValue7Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value7 = value;
|
||||
this.SendPropertyChanged("Value7");
|
||||
this.OnValue7Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value8", DbType="NVarChar(100)")]
|
||||
public string Value8
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value8;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value8 != value))
|
||||
{
|
||||
this.OnValue8Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value8 = value;
|
||||
this.SendPropertyChanged("Value8");
|
||||
this.OnValue8Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value9", DbType="NVarChar(100)")]
|
||||
public string Value9
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value9;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value9 != value))
|
||||
{
|
||||
this.OnValue9Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value9 = value;
|
||||
this.SendPropertyChanged("Value9");
|
||||
this.OnValue9Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value10", DbType="NVarChar(100)")]
|
||||
public string Value10
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value10;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value10 != value))
|
||||
{
|
||||
this.OnValue10Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value10 = value;
|
||||
this.SendPropertyChanged("Value10");
|
||||
this.OnValue10Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value11", DbType="NVarChar(100)")]
|
||||
public string Value11
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value11;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value11 != value))
|
||||
{
|
||||
this.OnValue11Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value11 = value;
|
||||
this.SendPropertyChanged("Value11");
|
||||
this.OnValue11Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value12", DbType="NVarChar(100)")]
|
||||
public string Value12
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value12;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value12 != value))
|
||||
{
|
||||
this.OnValue12Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value12 = value;
|
||||
this.SendPropertyChanged("Value12");
|
||||
this.OnValue12Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value13", DbType="NVarChar(100)")]
|
||||
public string Value13
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value13;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value13 != value))
|
||||
{
|
||||
this.OnValue13Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value13 = value;
|
||||
this.SendPropertyChanged("Value13");
|
||||
this.OnValue13Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value14", DbType="NVarChar(100)")]
|
||||
public string Value14
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value14;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value14 != value))
|
||||
{
|
||||
this.OnValue14Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value14 = value;
|
||||
this.SendPropertyChanged("Value14");
|
||||
this.OnValue14Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value15", DbType="NVarChar(100)")]
|
||||
public string Value15
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value15;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value15 != value))
|
||||
{
|
||||
this.OnValue15Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value15 = value;
|
||||
this.SendPropertyChanged("Value15");
|
||||
this.OnValue15Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value16", DbType="NVarChar(100)")]
|
||||
public string Value16
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value16;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value16 != value))
|
||||
{
|
||||
this.OnValue16Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value16 = value;
|
||||
this.SendPropertyChanged("Value16");
|
||||
this.OnValue16Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value17", DbType="NVarChar(100)")]
|
||||
public string Value17
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value17;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value17 != value))
|
||||
{
|
||||
this.OnValue17Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value17 = value;
|
||||
this.SendPropertyChanged("Value17");
|
||||
this.OnValue17Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value18", DbType="NVarChar(100)")]
|
||||
public string Value18
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value18;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value18 != value))
|
||||
{
|
||||
this.OnValue18Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value18 = value;
|
||||
this.SendPropertyChanged("Value18");
|
||||
this.OnValue18Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value19", DbType="NVarChar(100)")]
|
||||
public string Value19
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value19;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value19 != value))
|
||||
{
|
||||
this.OnValue19Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value19 = value;
|
||||
this.SendPropertyChanged("Value19");
|
||||
this.OnValue19Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value20", DbType="NVarChar(100)")]
|
||||
public string Value20
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Value20;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Value20 != value))
|
||||
{
|
||||
this.OnValue20Changing(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Value20 = value;
|
||||
this.SendPropertyChanged("Value20");
|
||||
this.OnValue20Changed();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToopValue", DbType="NVarChar(4000)")]
|
||||
public string ToopValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ToopValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ToopValue != value))
|
||||
{
|
||||
this.OnToopValueChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ToopValue = value;
|
||||
this.SendPropertyChanged("ToopValue");
|
||||
this.OnToopValueChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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.AssociationAttribute(Name="FK_Sys_CQMS_DataInTemp_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.Sys_CQMS_DataInTemp.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Sys_CQMS_DataInTemp.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_CQMS_DataInTemp_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
|
||||
public Sys_User Sys_User
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Sys_User.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Sys_User previousValue = this._Sys_User.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Sys_User.Entity = null;
|
||||
previousValue.Sys_CQMS_DataInTemp.Remove(this);
|
||||
}
|
||||
this._Sys_User.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Sys_CQMS_DataInTemp.Add(this);
|
||||
this._UserId = value.UserId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._UserId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Sys_User");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Sys_DataInTemp")]
|
||||
public partial class Sys_DataInTemp : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -409834,6 +410641,8 @@ namespace Model
|
||||
|
||||
private EntitySet<SY_Technique_HazardList> _SY_Technique_HazardList;
|
||||
|
||||
private EntitySet<Sys_CQMS_DataInTemp> _Sys_CQMS_DataInTemp;
|
||||
|
||||
private EntitySet<Sys_DataInTemp> _Sys_DataInTemp;
|
||||
|
||||
private EntitySet<Sys_FlowOperate> _Sys_FlowOperate;
|
||||
@@ -410358,6 +411167,7 @@ namespace Model
|
||||
this._SY_Hazard_HazardList_Sys_User1 = new EntitySet<SY_Hazard_HazardList>(new Action<SY_Hazard_HazardList>(this.attach_SY_Hazard_HazardList_Sys_User1), new Action<SY_Hazard_HazardList>(this.detach_SY_Hazard_HazardList_Sys_User1));
|
||||
this._SY_SitePerson_DayReport = new EntitySet<SY_SitePerson_DayReport>(new Action<SY_SitePerson_DayReport>(this.attach_SY_SitePerson_DayReport), new Action<SY_SitePerson_DayReport>(this.detach_SY_SitePerson_DayReport));
|
||||
this._SY_Technique_HazardList = new EntitySet<SY_Technique_HazardList>(new Action<SY_Technique_HazardList>(this.attach_SY_Technique_HazardList), new Action<SY_Technique_HazardList>(this.detach_SY_Technique_HazardList));
|
||||
this._Sys_CQMS_DataInTemp = new EntitySet<Sys_CQMS_DataInTemp>(new Action<Sys_CQMS_DataInTemp>(this.attach_Sys_CQMS_DataInTemp), new Action<Sys_CQMS_DataInTemp>(this.detach_Sys_CQMS_DataInTemp));
|
||||
this._Sys_DataInTemp = new EntitySet<Sys_DataInTemp>(new Action<Sys_DataInTemp>(this.attach_Sys_DataInTemp), new Action<Sys_DataInTemp>(this.detach_Sys_DataInTemp));
|
||||
this._Sys_FlowOperate = new EntitySet<Sys_FlowOperate>(new Action<Sys_FlowOperate>(this.attach_Sys_FlowOperate), new Action<Sys_FlowOperate>(this.detach_Sys_FlowOperate));
|
||||
this._Sys_Log = new EntitySet<Sys_Log>(new Action<Sys_Log>(this.attach_Sys_Log), new Action<Sys_Log>(this.detach_Sys_Log));
|
||||
@@ -415811,6 +416621,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_CQMS_DataInTemp_Sys_User", Storage="_Sys_CQMS_DataInTemp", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Sys_CQMS_DataInTemp> Sys_CQMS_DataInTemp
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Sys_CQMS_DataInTemp;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Sys_CQMS_DataInTemp.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_DataInTemp_Sys_User", Storage="_Sys_DataInTemp", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Sys_DataInTemp> Sys_DataInTemp
|
||||
{
|
||||
@@ -420393,6 +421216,18 @@ namespace Model
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Sys_CQMS_DataInTemp(Sys_CQMS_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = this;
|
||||
}
|
||||
|
||||
private void detach_Sys_CQMS_DataInTemp(Sys_CQMS_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Sys_User = null;
|
||||
}
|
||||
|
||||
private void attach_Sys_DataInTemp(Sys_DataInTemp entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
|
||||
Reference in New Issue
Block a user