修改进度报表
This commit is contained in:
@@ -2228,6 +2228,9 @@ namespace Model
|
||||
partial void InsertWBS_DivisionProject(WBS_DivisionProject instance);
|
||||
partial void UpdateWBS_DivisionProject(WBS_DivisionProject instance);
|
||||
partial void DeleteWBS_DivisionProject(WBS_DivisionProject instance);
|
||||
partial void InsertWBS_EquipmentMaterialBigType(WBS_EquipmentMaterialBigType instance);
|
||||
partial void UpdateWBS_EquipmentMaterialBigType(WBS_EquipmentMaterialBigType instance);
|
||||
partial void DeleteWBS_EquipmentMaterialBigType(WBS_EquipmentMaterialBigType instance);
|
||||
partial void InsertWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
|
||||
partial void UpdateWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
|
||||
partial void DeleteWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
|
||||
@@ -9220,6 +9223,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_EquipmentMaterialBigType> WBS_EquipmentMaterialBigType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<WBS_EquipmentMaterialBigType>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<WBS_EquipmentMaterialType> WBS_EquipmentMaterialType
|
||||
{
|
||||
get
|
||||
@@ -396925,6 +396936,168 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_EquipmentMaterialBigType")]
|
||||
public partial class WBS_EquipmentMaterialBigType : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _EquipmentMaterialBigTypeId;
|
||||
|
||||
private string _EquipmentMaterialBigTypeCode;
|
||||
|
||||
private string _EquipmentMaterialBigTypeName;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private EntitySet<WBS_EquipmentMaterialType> _WBS_EquipmentMaterialType;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnEquipmentMaterialBigTypeIdChanging(string value);
|
||||
partial void OnEquipmentMaterialBigTypeIdChanged();
|
||||
partial void OnEquipmentMaterialBigTypeCodeChanging(string value);
|
||||
partial void OnEquipmentMaterialBigTypeCodeChanged();
|
||||
partial void OnEquipmentMaterialBigTypeNameChanging(string value);
|
||||
partial void OnEquipmentMaterialBigTypeNameChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_EquipmentMaterialBigType()
|
||||
{
|
||||
this._WBS_EquipmentMaterialType = new EntitySet<WBS_EquipmentMaterialType>(new Action<WBS_EquipmentMaterialType>(this.attach_WBS_EquipmentMaterialType), new Action<WBS_EquipmentMaterialType>(this.detach_WBS_EquipmentMaterialType));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialBigTypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string EquipmentMaterialBigTypeId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentMaterialBigTypeId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentMaterialBigTypeId != value))
|
||||
{
|
||||
this.OnEquipmentMaterialBigTypeIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentMaterialBigTypeId = value;
|
||||
this.SendPropertyChanged("EquipmentMaterialBigTypeId");
|
||||
this.OnEquipmentMaterialBigTypeIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialBigTypeCode", DbType="NVarChar(50)")]
|
||||
public string EquipmentMaterialBigTypeCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentMaterialBigTypeCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentMaterialBigTypeCode != value))
|
||||
{
|
||||
this.OnEquipmentMaterialBigTypeCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentMaterialBigTypeCode = value;
|
||||
this.SendPropertyChanged("EquipmentMaterialBigTypeCode");
|
||||
this.OnEquipmentMaterialBigTypeCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialBigTypeName", DbType="NVarChar(50)")]
|
||||
public string EquipmentMaterialBigTypeName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentMaterialBigTypeName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentMaterialBigTypeName != value))
|
||||
{
|
||||
this.OnEquipmentMaterialBigTypeNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentMaterialBigTypeName = value;
|
||||
this.SendPropertyChanged("EquipmentMaterialBigTypeName");
|
||||
this.OnEquipmentMaterialBigTypeNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")]
|
||||
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.AssociationAttribute(Name="FK_WBS_EquipmentMaterialType_WBS_EquipmentMaterialBigType", Storage="_WBS_EquipmentMaterialType", ThisKey="EquipmentMaterialBigTypeId", OtherKey="EquipmentMaterialBigTypeId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_EquipmentMaterialType> WBS_EquipmentMaterialType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_EquipmentMaterialType;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._WBS_EquipmentMaterialType.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_WBS_EquipmentMaterialType(WBS_EquipmentMaterialType entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_EquipmentMaterialBigType = this;
|
||||
}
|
||||
|
||||
private void detach_WBS_EquipmentMaterialType(WBS_EquipmentMaterialType entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.WBS_EquipmentMaterialBigType = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_EquipmentMaterialType")]
|
||||
public partial class WBS_EquipmentMaterialType : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -396939,8 +397112,12 @@ namespace Model
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _EquipmentMaterialBigTypeId;
|
||||
|
||||
private EntitySet<WBS_CostControl> _WBS_CostControl;
|
||||
|
||||
private EntityRef<WBS_EquipmentMaterialBigType> _WBS_EquipmentMaterialBigType;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -396953,11 +397130,14 @@ namespace Model
|
||||
partial void OnEquipmentMaterialTypeNameChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnEquipmentMaterialBigTypeIdChanging(string value);
|
||||
partial void OnEquipmentMaterialBigTypeIdChanged();
|
||||
#endregion
|
||||
|
||||
public WBS_EquipmentMaterialType()
|
||||
{
|
||||
this._WBS_CostControl = new EntitySet<WBS_CostControl>(new Action<WBS_CostControl>(this.attach_WBS_CostControl), new Action<WBS_CostControl>(this.detach_WBS_CostControl));
|
||||
this._WBS_EquipmentMaterialBigType = default(EntityRef<WBS_EquipmentMaterialBigType>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -397041,6 +397221,30 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialBigTypeId", DbType="NVarChar(50)")]
|
||||
public string EquipmentMaterialBigTypeId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._EquipmentMaterialBigTypeId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._EquipmentMaterialBigTypeId != value))
|
||||
{
|
||||
if (this._WBS_EquipmentMaterialBigType.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnEquipmentMaterialBigTypeIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._EquipmentMaterialBigTypeId = value;
|
||||
this.SendPropertyChanged("EquipmentMaterialBigTypeId");
|
||||
this.OnEquipmentMaterialBigTypeIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_CostControl_WBS_EquipmentMaterialType", Storage="_WBS_CostControl", ThisKey="EquipmentMaterialTypeId", OtherKey="EquipmentMaterialTypeId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<WBS_CostControl> WBS_CostControl
|
||||
{
|
||||
@@ -397054,6 +397258,40 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_EquipmentMaterialType_WBS_EquipmentMaterialBigType", Storage="_WBS_EquipmentMaterialBigType", ThisKey="EquipmentMaterialBigTypeId", OtherKey="EquipmentMaterialBigTypeId", IsForeignKey=true)]
|
||||
public WBS_EquipmentMaterialBigType WBS_EquipmentMaterialBigType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WBS_EquipmentMaterialBigType.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
WBS_EquipmentMaterialBigType previousValue = this._WBS_EquipmentMaterialBigType.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._WBS_EquipmentMaterialBigType.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._WBS_EquipmentMaterialBigType.Entity = null;
|
||||
previousValue.WBS_EquipmentMaterialType.Remove(this);
|
||||
}
|
||||
this._WBS_EquipmentMaterialBigType.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.WBS_EquipmentMaterialType.Add(this);
|
||||
this._EquipmentMaterialBigTypeId = value.EquipmentMaterialBigTypeId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._EquipmentMaterialBigTypeId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("WBS_EquipmentMaterialBigType");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
Reference in New Issue
Block a user