202306181、新增设备管理(门禁、监控、环境监测)页面2、新增设备软件管理(门禁、监控、环境监测)页面3、优化费用管理模块。
This commit is contained in:
@@ -1394,6 +1394,12 @@ namespace Model
|
||||
partial void InsertSitePerson_PersonItem(SitePerson_PersonItem instance);
|
||||
partial void UpdateSitePerson_PersonItem(SitePerson_PersonItem instance);
|
||||
partial void DeleteSitePerson_PersonItem(SitePerson_PersonItem instance);
|
||||
partial void InsertSmartSite_Equipment(SmartSite_Equipment instance);
|
||||
partial void UpdateSmartSite_Equipment(SmartSite_Equipment instance);
|
||||
partial void DeleteSmartSite_Equipment(SmartSite_Equipment instance);
|
||||
partial void InsertSmartSite_EquipmentSoft(SmartSite_EquipmentSoft instance);
|
||||
partial void UpdateSmartSite_EquipmentSoft(SmartSite_EquipmentSoft instance);
|
||||
partial void DeleteSmartSite_EquipmentSoft(SmartSite_EquipmentSoft instance);
|
||||
partial void InsertSolution_ConstructSolution(Solution_ConstructSolution instance);
|
||||
partial void UpdateSolution_ConstructSolution(Solution_ConstructSolution instance);
|
||||
partial void DeleteSolution_ConstructSolution(Solution_ConstructSolution instance);
|
||||
@@ -5370,6 +5376,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<SmartSite_Equipment> SmartSite_Equipment
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<SmartSite_Equipment>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<SmartSite_EquipmentSoft> SmartSite_EquipmentSoft
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<SmartSite_EquipmentSoft>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Solution_ConstructSolution> Solution_ConstructSolution
|
||||
{
|
||||
get
|
||||
@@ -23754,6 +23776,10 @@ namespace Model
|
||||
|
||||
private EntitySet<SitePerson_PersonItem> _SitePerson_PersonItem;
|
||||
|
||||
private EntitySet<SmartSite_Equipment> _SmartSite_Equipment;
|
||||
|
||||
private EntitySet<SmartSite_EquipmentSoft> _SmartSite_EquipmentSoft;
|
||||
|
||||
private EntitySet<Solution_ConstructSolution> _Solution_ConstructSolution;
|
||||
|
||||
private EntitySet<Solution_CQMSConstructSolution> _Solution_CQMSConstructSolution;
|
||||
@@ -24021,6 +24047,8 @@ namespace Model
|
||||
this._SitePerson_PersonInOut = new EntitySet<SitePerson_PersonInOut>(new Action<SitePerson_PersonInOut>(this.attach_SitePerson_PersonInOut), new Action<SitePerson_PersonInOut>(this.detach_SitePerson_PersonInOut));
|
||||
this._SitePerson_PersonInOutNumber = new EntitySet<SitePerson_PersonInOutNumber>(new Action<SitePerson_PersonInOutNumber>(this.attach_SitePerson_PersonInOutNumber), new Action<SitePerson_PersonInOutNumber>(this.detach_SitePerson_PersonInOutNumber));
|
||||
this._SitePerson_PersonItem = new EntitySet<SitePerson_PersonItem>(new Action<SitePerson_PersonItem>(this.attach_SitePerson_PersonItem), new Action<SitePerson_PersonItem>(this.detach_SitePerson_PersonItem));
|
||||
this._SmartSite_Equipment = new EntitySet<SmartSite_Equipment>(new Action<SmartSite_Equipment>(this.attach_SmartSite_Equipment), new Action<SmartSite_Equipment>(this.detach_SmartSite_Equipment));
|
||||
this._SmartSite_EquipmentSoft = new EntitySet<SmartSite_EquipmentSoft>(new Action<SmartSite_EquipmentSoft>(this.attach_SmartSite_EquipmentSoft), new Action<SmartSite_EquipmentSoft>(this.detach_SmartSite_EquipmentSoft));
|
||||
this._Solution_ConstructSolution = new EntitySet<Solution_ConstructSolution>(new Action<Solution_ConstructSolution>(this.attach_Solution_ConstructSolution), new Action<Solution_ConstructSolution>(this.detach_Solution_ConstructSolution));
|
||||
this._Solution_CQMSConstructSolution = new EntitySet<Solution_CQMSConstructSolution>(new Action<Solution_CQMSConstructSolution>(this.attach_Solution_CQMSConstructSolution), new Action<Solution_CQMSConstructSolution>(this.detach_Solution_CQMSConstructSolution));
|
||||
this._Solution_ExpertArgument = new EntitySet<Solution_ExpertArgument>(new Action<Solution_ExpertArgument>(this.attach_Solution_ExpertArgument), new Action<Solution_ExpertArgument>(this.detach_Solution_ExpertArgument));
|
||||
@@ -26523,6 +26551,32 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_Equipment_Base_Project", Storage="_SmartSite_Equipment", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SmartSite_Equipment> SmartSite_Equipment
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SmartSite_Equipment;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._SmartSite_Equipment.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_EquipmentSoft_Base_Project", Storage="_SmartSite_EquipmentSoft", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SmartSite_EquipmentSoft> SmartSite_EquipmentSoft
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SmartSite_EquipmentSoft;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._SmartSite_EquipmentSoft.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Solution_ConstructSolution_Base_Project", Storage="_Solution_ConstructSolution", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Solution_ConstructSolution> Solution_ConstructSolution
|
||||
{
|
||||
@@ -28625,6 +28679,30 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_SmartSite_Equipment(SmartSite_Equipment entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_SmartSite_Equipment(SmartSite_Equipment entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_SmartSite_EquipmentSoft(SmartSite_EquipmentSoft entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_SmartSite_EquipmentSoft(SmartSite_EquipmentSoft entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Solution_ConstructSolution(Solution_ConstructSolution entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -223472,6 +223550,737 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SmartSite_Equipment")]
|
||||
public partial class SmartSite_Equipment : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _EquipmentId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private string _EquipmentName;
|
||||
|
||||
private string _EquipmentModel;
|
||||
|
||||
private System.Nullable<int> _Number;
|
||||
|
||||
private string _RunningState;
|
||||
|
||||
private string _Supplier;
|
||||
|
||||
private string _SupplierMan;
|
||||
|
||||
private string _SupplierTel;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntitySet<SmartSite_EquipmentSoft> _SmartSite_EquipmentSoft;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnEquipmentIdChanging(string value);
|
||||
partial void OnEquipmentIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
partial void OnEquipmentNameChanging(string value);
|
||||
partial void OnEquipmentNameChanged();
|
||||
partial void OnEquipmentModelChanging(string value);
|
||||
partial void OnEquipmentModelChanged();
|
||||
partial void OnNumberChanging(System.Nullable<int> value);
|
||||
partial void OnNumberChanged();
|
||||
partial void OnRunningStateChanging(string value);
|
||||
partial void OnRunningStateChanged();
|
||||
partial void OnSupplierChanging(string value);
|
||||
partial void OnSupplierChanged();
|
||||
partial void OnSupplierManChanging(string value);
|
||||
partial void OnSupplierManChanged();
|
||||
partial void OnSupplierTelChanging(string value);
|
||||
partial void OnSupplierTelChanged();
|
||||
#endregion
|
||||
|
||||
public SmartSite_Equipment()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._SmartSite_EquipmentSoft = new EntitySet<SmartSite_EquipmentSoft>(new Action<SmartSite_EquipmentSoft>(this.attach_SmartSite_EquipmentSoft), new Action<SmartSite_EquipmentSoft>(this.detach_SmartSite_EquipmentSoft));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string EquipmentId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentId != value))
|
||||
{
|
||||
this.OnEquipmentIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentId = value;
|
||||
this.SendPropertyChanged("EquipmentId");
|
||||
this.OnEquipmentIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_Type", DbType="VarChar(2)")]
|
||||
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.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(200)")]
|
||||
public string EquipmentName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentName != value))
|
||||
{
|
||||
this.OnEquipmentNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentName = value;
|
||||
this.SendPropertyChanged("EquipmentName");
|
||||
this.OnEquipmentNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentModel", DbType="NVarChar(200)")]
|
||||
public string EquipmentModel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentModel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentModel != value))
|
||||
{
|
||||
this.OnEquipmentModelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentModel = value;
|
||||
this.SendPropertyChanged("EquipmentModel");
|
||||
this.OnEquipmentModelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="Int")]
|
||||
public System.Nullable<int> Number
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Number;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Number != value))
|
||||
{
|
||||
this.OnNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Number = value;
|
||||
this.SendPropertyChanged("Number");
|
||||
this.OnNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunningState", DbType="NVarChar(50)")]
|
||||
public string RunningState
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RunningState;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RunningState != value))
|
||||
{
|
||||
this.OnRunningStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RunningState = value;
|
||||
this.SendPropertyChanged("RunningState");
|
||||
this.OnRunningStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Supplier", DbType="NVarChar(500)")]
|
||||
public string Supplier
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Supplier;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Supplier != value))
|
||||
{
|
||||
this.OnSupplierChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Supplier = value;
|
||||
this.SendPropertyChanged("Supplier");
|
||||
this.OnSupplierChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierMan", DbType="NVarChar(50)")]
|
||||
public string SupplierMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SupplierMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SupplierMan != value))
|
||||
{
|
||||
this.OnSupplierManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SupplierMan = value;
|
||||
this.SendPropertyChanged("SupplierMan");
|
||||
this.OnSupplierManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierTel", DbType="NVarChar(50)")]
|
||||
public string SupplierTel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SupplierTel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SupplierTel != value))
|
||||
{
|
||||
this.OnSupplierTelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SupplierTel = value;
|
||||
this.SendPropertyChanged("SupplierTel");
|
||||
this.OnSupplierTelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_Equipment_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.SmartSite_Equipment.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SmartSite_Equipment.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_EquipmentSoft_SmartSite_Equipment", Storage="_SmartSite_EquipmentSoft", ThisKey="EquipmentId", OtherKey="EquipmentId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<SmartSite_EquipmentSoft> SmartSite_EquipmentSoft
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SmartSite_EquipmentSoft;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._SmartSite_EquipmentSoft.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_SmartSite_EquipmentSoft(SmartSite_EquipmentSoft entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SmartSite_Equipment = this;
|
||||
}
|
||||
|
||||
private void detach_SmartSite_EquipmentSoft(SmartSite_EquipmentSoft entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.SmartSite_Equipment = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SmartSite_EquipmentSoft")]
|
||||
public partial class SmartSite_EquipmentSoft : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _EquipmentSoftId;
|
||||
|
||||
private string _EquipmentId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _Type;
|
||||
|
||||
private string _EquipmentSoftName;
|
||||
|
||||
private string _EquipmentSoftModel;
|
||||
|
||||
private System.Nullable<int> _Number;
|
||||
|
||||
private string _RunningState;
|
||||
|
||||
private string _Supplier;
|
||||
|
||||
private string _SupplierMan;
|
||||
|
||||
private string _SupplierTel;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<SmartSite_Equipment> _SmartSite_Equipment;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnEquipmentSoftIdChanging(string value);
|
||||
partial void OnEquipmentSoftIdChanged();
|
||||
partial void OnEquipmentIdChanging(string value);
|
||||
partial void OnEquipmentIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnTypeChanging(string value);
|
||||
partial void OnTypeChanged();
|
||||
partial void OnEquipmentSoftNameChanging(string value);
|
||||
partial void OnEquipmentSoftNameChanged();
|
||||
partial void OnEquipmentSoftModelChanging(string value);
|
||||
partial void OnEquipmentSoftModelChanged();
|
||||
partial void OnNumberChanging(System.Nullable<int> value);
|
||||
partial void OnNumberChanged();
|
||||
partial void OnRunningStateChanging(string value);
|
||||
partial void OnRunningStateChanged();
|
||||
partial void OnSupplierChanging(string value);
|
||||
partial void OnSupplierChanged();
|
||||
partial void OnSupplierManChanging(string value);
|
||||
partial void OnSupplierManChanged();
|
||||
partial void OnSupplierTelChanging(string value);
|
||||
partial void OnSupplierTelChanged();
|
||||
#endregion
|
||||
|
||||
public SmartSite_EquipmentSoft()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._SmartSite_Equipment = default(EntityRef<SmartSite_Equipment>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentSoftId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string EquipmentSoftId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentSoftId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentSoftId != value))
|
||||
{
|
||||
this.OnEquipmentSoftIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentSoftId = value;
|
||||
this.SendPropertyChanged("EquipmentSoftId");
|
||||
this.OnEquipmentSoftIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50)")]
|
||||
public string EquipmentId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentId != value))
|
||||
{
|
||||
if (this._SmartSite_Equipment.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnEquipmentIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentId = value;
|
||||
this.SendPropertyChanged("EquipmentId");
|
||||
this.OnEquipmentIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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="_Type", DbType="VarChar(2)")]
|
||||
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.ColumnAttribute(Storage="_EquipmentSoftName", DbType="NVarChar(200)")]
|
||||
public string EquipmentSoftName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentSoftName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentSoftName != value))
|
||||
{
|
||||
this.OnEquipmentSoftNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentSoftName = value;
|
||||
this.SendPropertyChanged("EquipmentSoftName");
|
||||
this.OnEquipmentSoftNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentSoftModel", DbType="NVarChar(200)")]
|
||||
public string EquipmentSoftModel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentSoftModel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentSoftModel != value))
|
||||
{
|
||||
this.OnEquipmentSoftModelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentSoftModel = value;
|
||||
this.SendPropertyChanged("EquipmentSoftModel");
|
||||
this.OnEquipmentSoftModelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="Int")]
|
||||
public System.Nullable<int> Number
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Number;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Number != value))
|
||||
{
|
||||
this.OnNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Number = value;
|
||||
this.SendPropertyChanged("Number");
|
||||
this.OnNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunningState", DbType="NVarChar(50)")]
|
||||
public string RunningState
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RunningState;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RunningState != value))
|
||||
{
|
||||
this.OnRunningStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RunningState = value;
|
||||
this.SendPropertyChanged("RunningState");
|
||||
this.OnRunningStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Supplier", DbType="NVarChar(500)")]
|
||||
public string Supplier
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Supplier;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Supplier != value))
|
||||
{
|
||||
this.OnSupplierChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Supplier = value;
|
||||
this.SendPropertyChanged("Supplier");
|
||||
this.OnSupplierChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierMan", DbType="NVarChar(50)")]
|
||||
public string SupplierMan
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SupplierMan;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SupplierMan != value))
|
||||
{
|
||||
this.OnSupplierManChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SupplierMan = value;
|
||||
this.SendPropertyChanged("SupplierMan");
|
||||
this.OnSupplierManChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierTel", DbType="NVarChar(50)")]
|
||||
public string SupplierTel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SupplierTel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SupplierTel != value))
|
||||
{
|
||||
this.OnSupplierTelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SupplierTel = value;
|
||||
this.SendPropertyChanged("SupplierTel");
|
||||
this.OnSupplierTelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_EquipmentSoft_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.SmartSite_EquipmentSoft.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SmartSite_EquipmentSoft.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SmartSite_EquipmentSoft_SmartSite_Equipment", Storage="_SmartSite_Equipment", ThisKey="EquipmentId", OtherKey="EquipmentId", IsForeignKey=true)]
|
||||
public SmartSite_Equipment SmartSite_Equipment
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SmartSite_Equipment.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
SmartSite_Equipment previousValue = this._SmartSite_Equipment.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._SmartSite_Equipment.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._SmartSite_Equipment.Entity = null;
|
||||
previousValue.SmartSite_EquipmentSoft.Remove(this);
|
||||
}
|
||||
this._SmartSite_Equipment.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.SmartSite_EquipmentSoft.Add(this);
|
||||
this._EquipmentId = value.EquipmentId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._EquipmentId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("SmartSite_Equipment");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Solution_ConstructSolution")]
|
||||
public partial class Solution_ConstructSolution : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user