You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10093 lines
234 KiB
10093 lines
234 KiB
#pragma warning disable 1591
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace ICSSoft.Frame.Data.Entity
|
|
{
|
|
using System.Data.Linq;
|
|
using System.Data.Linq.Mapping;
|
|
using System.Data;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
using System.Linq;
|
|
using System.Linq.Expressions;
|
|
using System.ComponentModel;
|
|
using System;
|
|
|
|
|
|
[global::System.Data.Linq.Mapping.DatabaseAttribute(Name="ICS_WMS_NW")]
|
|
public partial class FramDataContext : System.Data.Linq.DataContext
|
|
{
|
|
|
|
private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnCreated();
|
|
partial void InsertICSInventory(ICSInventory instance);
|
|
partial void UpdateICSInventory(ICSInventory instance);
|
|
partial void DeleteICSInventory(ICSInventory instance);
|
|
partial void InsertICSExtension(ICSExtension instance);
|
|
partial void UpdateICSExtension(ICSExtension instance);
|
|
partial void DeleteICSExtension(ICSExtension instance);
|
|
partial void InsertICSOApply(ICSOApply instance);
|
|
partial void UpdateICSOApply(ICSOApply instance);
|
|
partial void DeleteICSOApply(ICSOApply instance);
|
|
partial void InsertICSMOApply(ICSMOApply instance);
|
|
partial void UpdateICSMOApply(ICSMOApply instance);
|
|
partial void DeleteICSMOApply(ICSMOApply instance);
|
|
partial void InsertICSMOApplyNeg(ICSMOApplyNeg instance);
|
|
partial void UpdateICSMOApplyNeg(ICSMOApplyNeg instance);
|
|
partial void DeleteICSMOApplyNeg(ICSMOApplyNeg instance);
|
|
partial void InsertICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
|
|
partial void UpdateICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
|
|
partial void DeleteICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
|
|
partial void InsertICSTransfer(ICSTransfer instance);
|
|
partial void UpdateICSTransfer(ICSTransfer instance);
|
|
partial void DeleteICSTransfer(ICSTransfer instance);
|
|
partial void InsertICSMTDOC(ICSMTDOC instance);
|
|
partial void UpdateICSMTDOC(ICSMTDOC instance);
|
|
partial void DeleteICSMTDOC(ICSMTDOC instance);
|
|
partial void InsertICSManufactureReceive(ICSManufactureReceive instance);
|
|
partial void UpdateICSManufactureReceive(ICSManufactureReceive instance);
|
|
partial void DeleteICSManufactureReceive(ICSManufactureReceive instance);
|
|
partial void InsertICSDeliveryNotice(ICSDeliveryNotice instance);
|
|
partial void UpdateICSDeliveryNotice(ICSDeliveryNotice instance);
|
|
partial void DeleteICSDeliveryNotice(ICSDeliveryNotice instance);
|
|
partial void InsertICSSDN(ICSSDN instance);
|
|
partial void UpdateICSSDN(ICSSDN instance);
|
|
partial void DeleteICSSDN(ICSSDN instance);
|
|
partial void InsertICSInventoryLotDetail(ICSInventoryLotDetail instance);
|
|
partial void UpdateICSInventoryLotDetail(ICSInventoryLotDetail instance);
|
|
partial void DeleteICSInventoryLotDetail(ICSInventoryLotDetail instance);
|
|
partial void InsertICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
|
|
partial void UpdateICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
|
|
partial void DeleteICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
|
|
partial void InsertICSInventoryLot(ICSInventoryLot instance);
|
|
partial void UpdateICSInventoryLot(ICSInventoryLot instance);
|
|
partial void DeleteICSInventoryLot(ICSInventoryLot instance);
|
|
partial void InsertICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
|
|
partial void UpdateICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
|
|
partial void DeleteICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
|
|
partial void InsertICSLocation(ICSLocation instance);
|
|
partial void UpdateICSLocation(ICSLocation instance);
|
|
partial void DeleteICSLocation(ICSLocation instance);
|
|
partial void InsertICSWarehouse(ICSWarehouse instance);
|
|
partial void UpdateICSWarehouse(ICSWarehouse instance);
|
|
partial void DeleteICSWarehouse(ICSWarehouse instance);
|
|
partial void InsertICSOtherOut(ICSOtherOut instance);
|
|
partial void UpdateICSOtherOut(ICSOtherOut instance);
|
|
partial void DeleteICSOtherOut(ICSOtherOut instance);
|
|
partial void InsertICSOtherIn(ICSOtherIn instance);
|
|
partial void UpdateICSOtherIn(ICSOtherIn instance);
|
|
partial void DeleteICSOtherIn(ICSOtherIn instance);
|
|
#endregion
|
|
|
|
public FramDataContext() :
|
|
base(global::ICSSoft.Frame.Data.Entity.Properties.Settings.Default.ICS_WMS_NWConnectionString, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public FramDataContext(string connection) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public FramDataContext(System.Data.IDbConnection connection) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public FramDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public FramDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
|
base(connection, mappingSource)
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSInventory> ICSInventory
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSInventory>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSExtension> ICSExtension
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSExtension>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSOApply> ICSOApply
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSOApply>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSMOApply> ICSMOApply
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSMOApply>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSMOApplyNeg> ICSMOApplyNeg
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSMOApplyNeg>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSMOApplyNegDetail> ICSMOApplyNegDetail
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSMOApplyNegDetail>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSTransfer> ICSTransfer
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSTransfer>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSMTDOC> ICSMTDOC
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSMTDOC>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSManufactureReceive> ICSManufactureReceive
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSManufactureReceive>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSDeliveryNotice> ICSDeliveryNotice
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSDeliveryNotice>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSSDN> ICSSDN
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSSDN>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSInventoryLotDetail> ICSInventoryLotDetail
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSInventoryLotDetail>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSWareHouseLotInfoLog> ICSWareHouseLotInfoLog
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSWareHouseLotInfoLog>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSInventoryLot> ICSInventoryLot
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSInventoryLot>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSWareHouseLotInfo> ICSWareHouseLotInfo
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSWareHouseLotInfo>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSLocation> ICSLocation
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSLocation>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSWarehouse> ICSWarehouse
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSWarehouse>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSOtherOut> ICSOtherOut
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSOtherOut>();
|
|
}
|
|
}
|
|
|
|
public System.Data.Linq.Table<ICSOtherIn> ICSOtherIn
|
|
{
|
|
get
|
|
{
|
|
return this.GetTable<ICSOtherIn>();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventory")]
|
|
public partial class ICSInventory : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _InvCode;
|
|
|
|
private string _InvName;
|
|
|
|
private string _InvDesc;
|
|
|
|
private string _InvStd;
|
|
|
|
private string _InvUnit;
|
|
|
|
private string _AmountUnit;
|
|
|
|
private string _ClassCode;
|
|
|
|
private string _ClassName;
|
|
|
|
private decimal _InvRate;
|
|
|
|
private string _InvVersion;
|
|
|
|
private string _InvBrand;
|
|
|
|
private bool _InvIQC;
|
|
|
|
private bool _InvFQC;
|
|
|
|
private bool _EffectiveEnable;
|
|
|
|
private decimal _EffectiveDays;
|
|
|
|
private bool _BatchEnable;
|
|
|
|
private bool _LotEnable;
|
|
|
|
private bool _PrintEnable;
|
|
|
|
private string _WHUser;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnInvNameChanging(string value);
|
|
partial void OnInvNameChanged();
|
|
partial void OnInvDescChanging(string value);
|
|
partial void OnInvDescChanged();
|
|
partial void OnInvStdChanging(string value);
|
|
partial void OnInvStdChanged();
|
|
partial void OnInvUnitChanging(string value);
|
|
partial void OnInvUnitChanged();
|
|
partial void OnAmountUnitChanging(string value);
|
|
partial void OnAmountUnitChanged();
|
|
partial void OnClassCodeChanging(string value);
|
|
partial void OnClassCodeChanged();
|
|
partial void OnClassNameChanging(string value);
|
|
partial void OnClassNameChanged();
|
|
partial void OnInvRateChanging(decimal value);
|
|
partial void OnInvRateChanged();
|
|
partial void OnInvVersionChanging(string value);
|
|
partial void OnInvVersionChanged();
|
|
partial void OnInvBrandChanging(string value);
|
|
partial void OnInvBrandChanged();
|
|
partial void OnInvIQCChanging(bool value);
|
|
partial void OnInvIQCChanged();
|
|
partial void OnInvFQCChanging(bool value);
|
|
partial void OnInvFQCChanged();
|
|
partial void OnEffectiveEnableChanging(bool value);
|
|
partial void OnEffectiveEnableChanged();
|
|
partial void OnEffectiveDaysChanging(decimal value);
|
|
partial void OnEffectiveDaysChanged();
|
|
partial void OnBatchEnableChanging(bool value);
|
|
partial void OnBatchEnableChanged();
|
|
partial void OnLotEnableChanging(bool value);
|
|
partial void OnLotEnableChanged();
|
|
partial void OnPrintEnableChanging(bool value);
|
|
partial void OnPrintEnableChanged();
|
|
partial void OnWHUserChanging(string value);
|
|
partial void OnWHUserChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSInventory()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
|
|
public string InvName
|
|
{
|
|
get
|
|
{
|
|
return this._InvName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvName != value))
|
|
{
|
|
this.OnInvNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvName = value;
|
|
this.SendPropertyChanged("InvName");
|
|
this.OnInvNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDesc", DbType="NVarChar(500)")]
|
|
public string InvDesc
|
|
{
|
|
get
|
|
{
|
|
return this._InvDesc;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvDesc != value))
|
|
{
|
|
this.OnInvDescChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvDesc = value;
|
|
this.SendPropertyChanged("InvDesc");
|
|
this.OnInvDescChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvStd", DbType="NVarChar(500)")]
|
|
public string InvStd
|
|
{
|
|
get
|
|
{
|
|
return this._InvStd;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvStd != value))
|
|
{
|
|
this.OnInvStdChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvStd = value;
|
|
this.SendPropertyChanged("InvStd");
|
|
this.OnInvStdChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvUnit", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvUnit
|
|
{
|
|
get
|
|
{
|
|
return this._InvUnit;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvUnit != value))
|
|
{
|
|
this.OnInvUnitChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvUnit = value;
|
|
this.SendPropertyChanged("InvUnit");
|
|
this.OnInvUnitChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountUnit", DbType="NVarChar(50)")]
|
|
public string AmountUnit
|
|
{
|
|
get
|
|
{
|
|
return this._AmountUnit;
|
|
}
|
|
set
|
|
{
|
|
if ((this._AmountUnit != value))
|
|
{
|
|
this.OnAmountUnitChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._AmountUnit = value;
|
|
this.SendPropertyChanged("AmountUnit");
|
|
this.OnAmountUnitChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ClassCode
|
|
{
|
|
get
|
|
{
|
|
return this._ClassCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ClassCode != value))
|
|
{
|
|
this.OnClassCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ClassCode = value;
|
|
this.SendPropertyChanged("ClassCode");
|
|
this.OnClassCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(80) NOT NULL", CanBeNull=false)]
|
|
public string ClassName
|
|
{
|
|
get
|
|
{
|
|
return this._ClassName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ClassName != value))
|
|
{
|
|
this.OnClassNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ClassName = value;
|
|
this.SendPropertyChanged("ClassName");
|
|
this.OnClassNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvRate", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal InvRate
|
|
{
|
|
get
|
|
{
|
|
return this._InvRate;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvRate != value))
|
|
{
|
|
this.OnInvRateChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvRate = value;
|
|
this.SendPropertyChanged("InvRate");
|
|
this.OnInvRateChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvVersion", DbType="NVarChar(50)")]
|
|
public string InvVersion
|
|
{
|
|
get
|
|
{
|
|
return this._InvVersion;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvVersion != value))
|
|
{
|
|
this.OnInvVersionChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvVersion = value;
|
|
this.SendPropertyChanged("InvVersion");
|
|
this.OnInvVersionChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvBrand", DbType="NVarChar(50)")]
|
|
public string InvBrand
|
|
{
|
|
get
|
|
{
|
|
return this._InvBrand;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvBrand != value))
|
|
{
|
|
this.OnInvBrandChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvBrand = value;
|
|
this.SendPropertyChanged("InvBrand");
|
|
this.OnInvBrandChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvIQC", DbType="Bit NOT NULL")]
|
|
public bool InvIQC
|
|
{
|
|
get
|
|
{
|
|
return this._InvIQC;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvIQC != value))
|
|
{
|
|
this.OnInvIQCChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvIQC = value;
|
|
this.SendPropertyChanged("InvIQC");
|
|
this.OnInvIQCChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvFQC", DbType="Bit NOT NULL")]
|
|
public bool InvFQC
|
|
{
|
|
get
|
|
{
|
|
return this._InvFQC;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvFQC != value))
|
|
{
|
|
this.OnInvFQCChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvFQC = value;
|
|
this.SendPropertyChanged("InvFQC");
|
|
this.OnInvFQCChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveEnable", DbType="Bit NOT NULL")]
|
|
public bool EffectiveEnable
|
|
{
|
|
get
|
|
{
|
|
return this._EffectiveEnable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EffectiveEnable != value))
|
|
{
|
|
this.OnEffectiveEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EffectiveEnable = value;
|
|
this.SendPropertyChanged("EffectiveEnable");
|
|
this.OnEffectiveEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveDays", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal EffectiveDays
|
|
{
|
|
get
|
|
{
|
|
return this._EffectiveDays;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EffectiveDays != value))
|
|
{
|
|
this.OnEffectiveDaysChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EffectiveDays = value;
|
|
this.SendPropertyChanged("EffectiveDays");
|
|
this.OnEffectiveDaysChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
|
|
public bool BatchEnable
|
|
{
|
|
get
|
|
{
|
|
return this._BatchEnable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._BatchEnable != value))
|
|
{
|
|
this.OnBatchEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._BatchEnable = value;
|
|
this.SendPropertyChanged("BatchEnable");
|
|
this.OnBatchEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotEnable", DbType="Bit NOT NULL")]
|
|
public bool LotEnable
|
|
{
|
|
get
|
|
{
|
|
return this._LotEnable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LotEnable != value))
|
|
{
|
|
this.OnLotEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LotEnable = value;
|
|
this.SendPropertyChanged("LotEnable");
|
|
this.OnLotEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintEnable", DbType="Bit NOT NULL")]
|
|
public bool PrintEnable
|
|
{
|
|
get
|
|
{
|
|
return this._PrintEnable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._PrintEnable != value))
|
|
{
|
|
this.OnPrintEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._PrintEnable = value;
|
|
this.SendPropertyChanged("PrintEnable");
|
|
this.OnPrintEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHUser", DbType="NVarChar(50)")]
|
|
public string WHUser
|
|
{
|
|
get
|
|
{
|
|
return this._WHUser;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHUser != value))
|
|
{
|
|
this.OnWHUserChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHUser = value;
|
|
this.SendPropertyChanged("WHUser");
|
|
this.OnWHUserChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSExtension")]
|
|
public partial class ICSExtension : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _Colspan;
|
|
|
|
private string _ProjectCode;
|
|
|
|
private string _BatchCode;
|
|
|
|
private string _Version;
|
|
|
|
private string _Brand;
|
|
|
|
private string _cFree1;
|
|
|
|
private string _cFree2;
|
|
|
|
private string _cFree3;
|
|
|
|
private string _cFree4;
|
|
|
|
private string _cFree5;
|
|
|
|
private string _cFree6;
|
|
|
|
private string _cFree7;
|
|
|
|
private string _cFree8;
|
|
|
|
private string _cFree9;
|
|
|
|
private string _cFree10;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
private string _EATTRIBUTE2;
|
|
|
|
private string _EATTRIBUTE3;
|
|
|
|
private string _EATTRIBUTE4;
|
|
|
|
private string _EATTRIBUTE5;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnColspanChanging(string value);
|
|
partial void OnColspanChanged();
|
|
partial void OnProjectCodeChanging(string value);
|
|
partial void OnProjectCodeChanged();
|
|
partial void OnBatchCodeChanging(string value);
|
|
partial void OnBatchCodeChanged();
|
|
partial void OnVersionChanging(string value);
|
|
partial void OnVersionChanged();
|
|
partial void OnBrandChanging(string value);
|
|
partial void OnBrandChanged();
|
|
partial void OncFree1Changing(string value);
|
|
partial void OncFree1Changed();
|
|
partial void OncFree2Changing(string value);
|
|
partial void OncFree2Changed();
|
|
partial void OncFree3Changing(string value);
|
|
partial void OncFree3Changed();
|
|
partial void OncFree4Changing(string value);
|
|
partial void OncFree4Changed();
|
|
partial void OncFree5Changing(string value);
|
|
partial void OncFree5Changed();
|
|
partial void OncFree6Changing(string value);
|
|
partial void OncFree6Changed();
|
|
partial void OncFree7Changing(string value);
|
|
partial void OncFree7Changed();
|
|
partial void OncFree8Changing(string value);
|
|
partial void OncFree8Changed();
|
|
partial void OncFree9Changing(string value);
|
|
partial void OncFree9Changed();
|
|
partial void OncFree10Changing(string value);
|
|
partial void OncFree10Changed();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
partial void OnEATTRIBUTE2Changing(string value);
|
|
partial void OnEATTRIBUTE2Changed();
|
|
partial void OnEATTRIBUTE3Changing(string value);
|
|
partial void OnEATTRIBUTE3Changed();
|
|
partial void OnEATTRIBUTE4Changing(string value);
|
|
partial void OnEATTRIBUTE4Changed();
|
|
partial void OnEATTRIBUTE5Changing(string value);
|
|
partial void OnEATTRIBUTE5Changed();
|
|
#endregion
|
|
|
|
public ICSExtension()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Colspan", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
|
|
public string Colspan
|
|
{
|
|
get
|
|
{
|
|
return this._Colspan;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Colspan != value))
|
|
{
|
|
this.OnColspanChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Colspan = value;
|
|
this.SendPropertyChanged("Colspan");
|
|
this.OnColspanChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(100)")]
|
|
public string ProjectCode
|
|
{
|
|
get
|
|
{
|
|
return this._ProjectCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ProjectCode != value))
|
|
{
|
|
this.OnProjectCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ProjectCode = value;
|
|
this.SendPropertyChanged("ProjectCode");
|
|
this.OnProjectCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")]
|
|
public string BatchCode
|
|
{
|
|
get
|
|
{
|
|
return this._BatchCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._BatchCode != value))
|
|
{
|
|
this.OnBatchCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._BatchCode = value;
|
|
this.SendPropertyChanged("BatchCode");
|
|
this.OnBatchCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Version", DbType="NVarChar(100)")]
|
|
public string Version
|
|
{
|
|
get
|
|
{
|
|
return this._Version;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Version != value))
|
|
{
|
|
this.OnVersionChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Version = value;
|
|
this.SendPropertyChanged("Version");
|
|
this.OnVersionChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brand", DbType="NVarChar(100)")]
|
|
public string Brand
|
|
{
|
|
get
|
|
{
|
|
return this._Brand;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Brand != value))
|
|
{
|
|
this.OnBrandChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Brand = value;
|
|
this.SendPropertyChanged("Brand");
|
|
this.OnBrandChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree1", DbType="NVarChar(100)")]
|
|
public string cFree1
|
|
{
|
|
get
|
|
{
|
|
return this._cFree1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree1 != value))
|
|
{
|
|
this.OncFree1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree1 = value;
|
|
this.SendPropertyChanged("cFree1");
|
|
this.OncFree1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree2", DbType="NVarChar(100)")]
|
|
public string cFree2
|
|
{
|
|
get
|
|
{
|
|
return this._cFree2;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree2 != value))
|
|
{
|
|
this.OncFree2Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree2 = value;
|
|
this.SendPropertyChanged("cFree2");
|
|
this.OncFree2Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree3", DbType="NVarChar(100)")]
|
|
public string cFree3
|
|
{
|
|
get
|
|
{
|
|
return this._cFree3;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree3 != value))
|
|
{
|
|
this.OncFree3Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree3 = value;
|
|
this.SendPropertyChanged("cFree3");
|
|
this.OncFree3Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree4", DbType="NVarChar(100)")]
|
|
public string cFree4
|
|
{
|
|
get
|
|
{
|
|
return this._cFree4;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree4 != value))
|
|
{
|
|
this.OncFree4Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree4 = value;
|
|
this.SendPropertyChanged("cFree4");
|
|
this.OncFree4Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree5", DbType="NVarChar(100)")]
|
|
public string cFree5
|
|
{
|
|
get
|
|
{
|
|
return this._cFree5;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree5 != value))
|
|
{
|
|
this.OncFree5Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree5 = value;
|
|
this.SendPropertyChanged("cFree5");
|
|
this.OncFree5Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree6", DbType="NVarChar(100)")]
|
|
public string cFree6
|
|
{
|
|
get
|
|
{
|
|
return this._cFree6;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree6 != value))
|
|
{
|
|
this.OncFree6Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree6 = value;
|
|
this.SendPropertyChanged("cFree6");
|
|
this.OncFree6Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree7", DbType="NVarChar(100)")]
|
|
public string cFree7
|
|
{
|
|
get
|
|
{
|
|
return this._cFree7;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree7 != value))
|
|
{
|
|
this.OncFree7Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree7 = value;
|
|
this.SendPropertyChanged("cFree7");
|
|
this.OncFree7Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree8", DbType="NVarChar(100)")]
|
|
public string cFree8
|
|
{
|
|
get
|
|
{
|
|
return this._cFree8;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree8 != value))
|
|
{
|
|
this.OncFree8Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree8 = value;
|
|
this.SendPropertyChanged("cFree8");
|
|
this.OncFree8Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree9", DbType="NVarChar(100)")]
|
|
public string cFree9
|
|
{
|
|
get
|
|
{
|
|
return this._cFree9;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree9 != value))
|
|
{
|
|
this.OncFree9Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree9 = value;
|
|
this.SendPropertyChanged("cFree9");
|
|
this.OncFree9Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree10", DbType="NVarChar(100)")]
|
|
public string cFree10
|
|
{
|
|
get
|
|
{
|
|
return this._cFree10;
|
|
}
|
|
set
|
|
{
|
|
if ((this._cFree10 != value))
|
|
{
|
|
this.OncFree10Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._cFree10 = value;
|
|
this.SendPropertyChanged("cFree10");
|
|
this.OncFree10Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE2
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE2;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE2 != value))
|
|
{
|
|
this.OnEATTRIBUTE2Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE2 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE2");
|
|
this.OnEATTRIBUTE2Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE3
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE3;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE3 != value))
|
|
{
|
|
this.OnEATTRIBUTE3Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE3 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE3");
|
|
this.OnEATTRIBUTE3Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE4", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE4
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE4;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE4 != value))
|
|
{
|
|
this.OnEATTRIBUTE4Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE4 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE4");
|
|
this.OnEATTRIBUTE4Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE5", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE5
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE5;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE5 != value))
|
|
{
|
|
this.OnEATTRIBUTE5Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE5 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE5");
|
|
this.OnEATTRIBUTE5Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSOApply")]
|
|
public partial class ICSOApply : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _ApplyCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _SourceCode;
|
|
|
|
private string _SourceSequence;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _IssueQuantity;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Type;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _ApplyID;
|
|
|
|
private string _ApplyDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnApplyCodeChanging(string value);
|
|
partial void OnApplyCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnSourceCodeChanging(string value);
|
|
partial void OnSourceCodeChanged();
|
|
partial void OnSourceSequenceChanging(string value);
|
|
partial void OnSourceSequenceChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnIssueQuantityChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnApplyIDChanging(string value);
|
|
partial void OnApplyIDChanged();
|
|
partial void OnApplyDetailIDChanging(string value);
|
|
partial void OnApplyDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTEChanging(string value);
|
|
partial void OnEATTRIBUTEChanged();
|
|
#endregion
|
|
|
|
public ICSOApply()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyCode
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyCode != value))
|
|
{
|
|
this.OnApplyCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyCode = value;
|
|
this.SendPropertyChanged("ApplyCode");
|
|
this.OnApplyCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
|
|
public string SourceCode
|
|
{
|
|
get
|
|
{
|
|
return this._SourceCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceCode != value))
|
|
{
|
|
this.OnSourceCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceCode = value;
|
|
this.SendPropertyChanged("SourceCode");
|
|
this.OnSourceCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
|
|
public string SourceSequence
|
|
{
|
|
get
|
|
{
|
|
return this._SourceSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceSequence != value))
|
|
{
|
|
this.OnSourceSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceSequence = value;
|
|
this.SendPropertyChanged("SourceSequence");
|
|
this.OnSourceSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> IssueQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._IssueQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IssueQuantity != value))
|
|
{
|
|
this.OnIssueQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IssueQuantity = value;
|
|
this.SendPropertyChanged("IssueQuantity");
|
|
this.OnIssueQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyID
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyID != value))
|
|
{
|
|
this.OnApplyIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyID = value;
|
|
this.SendPropertyChanged("ApplyID");
|
|
this.OnApplyIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyDetailID != value))
|
|
{
|
|
this.OnApplyDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyDetailID = value;
|
|
this.SendPropertyChanged("ApplyDetailID");
|
|
this.OnApplyDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE != value))
|
|
{
|
|
this.OnEATTRIBUTEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE = value;
|
|
this.SendPropertyChanged("EATTRIBUTE");
|
|
this.OnEATTRIBUTEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSMOApply")]
|
|
public partial class ICSMOApply : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _ApplyCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _SourceCode;
|
|
|
|
private string _SourceSequence;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _IssueQuantity;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Type;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _ApplyID;
|
|
|
|
private string _ApplyDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnApplyCodeChanging(string value);
|
|
partial void OnApplyCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnSourceCodeChanging(string value);
|
|
partial void OnSourceCodeChanged();
|
|
partial void OnSourceSequenceChanging(string value);
|
|
partial void OnSourceSequenceChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnIssueQuantityChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnApplyIDChanging(string value);
|
|
partial void OnApplyIDChanged();
|
|
partial void OnApplyDetailIDChanging(string value);
|
|
partial void OnApplyDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTEChanging(string value);
|
|
partial void OnEATTRIBUTEChanged();
|
|
#endregion
|
|
|
|
public ICSMOApply()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyCode
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyCode != value))
|
|
{
|
|
this.OnApplyCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyCode = value;
|
|
this.SendPropertyChanged("ApplyCode");
|
|
this.OnApplyCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
|
|
public string SourceCode
|
|
{
|
|
get
|
|
{
|
|
return this._SourceCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceCode != value))
|
|
{
|
|
this.OnSourceCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceCode = value;
|
|
this.SendPropertyChanged("SourceCode");
|
|
this.OnSourceCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
|
|
public string SourceSequence
|
|
{
|
|
get
|
|
{
|
|
return this._SourceSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceSequence != value))
|
|
{
|
|
this.OnSourceSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceSequence = value;
|
|
this.SendPropertyChanged("SourceSequence");
|
|
this.OnSourceSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> IssueQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._IssueQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IssueQuantity != value))
|
|
{
|
|
this.OnIssueQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IssueQuantity = value;
|
|
this.SendPropertyChanged("IssueQuantity");
|
|
this.OnIssueQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyID
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyID != value))
|
|
{
|
|
this.OnApplyIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyID = value;
|
|
this.SendPropertyChanged("ApplyID");
|
|
this.OnApplyIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyDetailID != value))
|
|
{
|
|
this.OnApplyDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyDetailID = value;
|
|
this.SendPropertyChanged("ApplyDetailID");
|
|
this.OnApplyDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE != value))
|
|
{
|
|
this.OnEATTRIBUTEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE = value;
|
|
this.SendPropertyChanged("EATTRIBUTE");
|
|
this.OnEATTRIBUTEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSMOApplyNeg")]
|
|
public partial class ICSMOApplyNeg : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _ApplyNegCode;
|
|
|
|
private string _Status;
|
|
|
|
private string _Type;
|
|
|
|
private string _Memo;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnApplyNegCodeChanging(string value);
|
|
partial void OnApplyNegCodeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnMemoChanging(string value);
|
|
partial void OnMemoChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSMOApplyNeg()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ApplyNegCode
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyNegCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyNegCode != value))
|
|
{
|
|
this.OnApplyNegCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyNegCode = value;
|
|
this.SendPropertyChanged("ApplyNegCode");
|
|
this.OnApplyNegCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_Memo", DbType="NVarChar(1000)")]
|
|
public string Memo
|
|
{
|
|
get
|
|
{
|
|
return this._Memo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Memo != value))
|
|
{
|
|
this.OnMemoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Memo = value;
|
|
this.SendPropertyChanged("Memo");
|
|
this.OnMemoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSMOApplyNegDetail")]
|
|
public partial class ICSMOApplyNegDetail : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _ApplyNegCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _SourceDetailID;
|
|
|
|
private string _InvCode;
|
|
|
|
private string _WHCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _IssueNegQuantity;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnApplyNegCodeChanging(string value);
|
|
partial void OnApplyNegCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnSourceDetailIDChanging(string value);
|
|
partial void OnSourceDetailIDChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnIssueNegQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnIssueNegQuantityChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTEChanging(string value);
|
|
partial void OnEATTRIBUTEChanged();
|
|
#endregion
|
|
|
|
public ICSMOApplyNegDetail()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ApplyNegCode
|
|
{
|
|
get
|
|
{
|
|
return this._ApplyNegCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ApplyNegCode != value))
|
|
{
|
|
this.OnApplyNegCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ApplyNegCode = value;
|
|
this.SendPropertyChanged("ApplyNegCode");
|
|
this.OnApplyNegCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDetailID", DbType="NVarChar(50)")]
|
|
public string SourceDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._SourceDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceDetailID != value))
|
|
{
|
|
this.OnSourceDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceDetailID = value;
|
|
this.SendPropertyChanged("SourceDetailID");
|
|
this.OnSourceDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50)")]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueNegQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> IssueNegQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._IssueNegQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._IssueNegQuantity != value))
|
|
{
|
|
this.OnIssueNegQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._IssueNegQuantity = value;
|
|
this.SendPropertyChanged("IssueNegQuantity");
|
|
this.OnIssueNegQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE != value))
|
|
{
|
|
this.OnEATTRIBUTEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE = value;
|
|
this.SendPropertyChanged("EATTRIBUTE");
|
|
this.OnEATTRIBUTEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSTransfer")]
|
|
public partial class ICSTransfer : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _TransferNO;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _FromWarehouseCode;
|
|
|
|
private string _FromLocationCode;
|
|
|
|
private string _ToWarehouseCode;
|
|
|
|
private string _ToLocationCode;
|
|
|
|
private string _Status;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _TransferQuantity;
|
|
|
|
private string _Type;
|
|
|
|
private string _Memo;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _TransferID;
|
|
|
|
private string _TransferDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnTransferNOChanging(string value);
|
|
partial void OnTransferNOChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnFromWarehouseCodeChanging(string value);
|
|
partial void OnFromWarehouseCodeChanged();
|
|
partial void OnFromLocationCodeChanging(string value);
|
|
partial void OnFromLocationCodeChanged();
|
|
partial void OnToWarehouseCodeChanging(string value);
|
|
partial void OnToWarehouseCodeChanged();
|
|
partial void OnToLocationCodeChanging(string value);
|
|
partial void OnToLocationCodeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnTransferQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnTransferQuantityChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnMemoChanging(string value);
|
|
partial void OnMemoChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnTransferIDChanging(string value);
|
|
partial void OnTransferIDChanged();
|
|
partial void OnTransferDetailIDChanging(string value);
|
|
partial void OnTransferDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSTransfer()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string TransferNO
|
|
{
|
|
get
|
|
{
|
|
return this._TransferNO;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferNO != value))
|
|
{
|
|
this.OnTransferNOChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferNO = value;
|
|
this.SendPropertyChanged("TransferNO");
|
|
this.OnTransferNOChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string FromWarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._FromWarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._FromWarehouseCode != value))
|
|
{
|
|
this.OnFromWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._FromWarehouseCode = value;
|
|
this.SendPropertyChanged("FromWarehouseCode");
|
|
this.OnFromWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
|
|
public string FromLocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._FromLocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._FromLocationCode != value))
|
|
{
|
|
this.OnFromLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._FromLocationCode = value;
|
|
this.SendPropertyChanged("FromLocationCode");
|
|
this.OnFromLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ToWarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._ToWarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ToWarehouseCode != value))
|
|
{
|
|
this.OnToWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ToWarehouseCode = value;
|
|
this.SendPropertyChanged("ToWarehouseCode");
|
|
this.OnToWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
|
|
public string ToLocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._ToLocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ToLocationCode != value))
|
|
{
|
|
this.OnToLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ToLocationCode = value;
|
|
this.SendPropertyChanged("ToLocationCode");
|
|
this.OnToLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> TransferQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._TransferQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferQuantity != value))
|
|
{
|
|
this.OnTransferQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferQuantity = value;
|
|
this.SendPropertyChanged("TransferQuantity");
|
|
this.OnTransferQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[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.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
|
|
public string Memo
|
|
{
|
|
get
|
|
{
|
|
return this._Memo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Memo != value))
|
|
{
|
|
this.OnMemoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Memo = value;
|
|
this.SendPropertyChanged("Memo");
|
|
this.OnMemoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
|
|
public string TransferID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferID != value))
|
|
{
|
|
this.OnTransferIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferID = value;
|
|
this.SendPropertyChanged("TransferID");
|
|
this.OnTransferIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
|
|
public string TransferDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferDetailID != value))
|
|
{
|
|
this.OnTransferDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferDetailID = value;
|
|
this.SendPropertyChanged("TransferDetailID");
|
|
this.OnTransferDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSMTDOC")]
|
|
public partial class ICSMTDOC : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _MTDOCCode;
|
|
|
|
private string _DepCode;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _INVCode;
|
|
|
|
private string _SOCode;
|
|
|
|
private string _SOSequence;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _MTDOCQuantity;
|
|
|
|
private string _MTDOCType;
|
|
|
|
private string _Memo;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _MTDOCID;
|
|
|
|
private string _MTDOCDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnMTDOCCodeChanging(string value);
|
|
partial void OnMTDOCCodeChanged();
|
|
partial void OnDepCodeChanging(string value);
|
|
partial void OnDepCodeChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnINVCodeChanging(string value);
|
|
partial void OnINVCodeChanged();
|
|
partial void OnSOCodeChanging(string value);
|
|
partial void OnSOCodeChanged();
|
|
partial void OnSOSequenceChanging(string value);
|
|
partial void OnSOSequenceChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnMTDOCQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnMTDOCQuantityChanged();
|
|
partial void OnMTDOCTypeChanging(string value);
|
|
partial void OnMTDOCTypeChanged();
|
|
partial void OnMemoChanging(string value);
|
|
partial void OnMemoChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnMTDOCIDChanging(string value);
|
|
partial void OnMTDOCIDChanged();
|
|
partial void OnMTDOCDetailIDChanging(string value);
|
|
partial void OnMTDOCDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSMTDOC()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MTDOCCode
|
|
{
|
|
get
|
|
{
|
|
return this._MTDOCCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTDOCCode != value))
|
|
{
|
|
this.OnMTDOCCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTDOCCode = value;
|
|
this.SendPropertyChanged("MTDOCCode");
|
|
this.OnMTDOCCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
|
|
public string DepCode
|
|
{
|
|
get
|
|
{
|
|
return this._DepCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DepCode != value))
|
|
{
|
|
this.OnDepCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DepCode = value;
|
|
this.SendPropertyChanged("DepCode");
|
|
this.OnDepCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string INVCode
|
|
{
|
|
get
|
|
{
|
|
return this._INVCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._INVCode != value))
|
|
{
|
|
this.OnINVCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._INVCode = value;
|
|
this.SendPropertyChanged("INVCode");
|
|
this.OnINVCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50)")]
|
|
public string SOCode
|
|
{
|
|
get
|
|
{
|
|
return this._SOCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SOCode != value))
|
|
{
|
|
this.OnSOCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SOCode = value;
|
|
this.SendPropertyChanged("SOCode");
|
|
this.OnSOCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50)")]
|
|
public string SOSequence
|
|
{
|
|
get
|
|
{
|
|
return this._SOSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SOSequence != value))
|
|
{
|
|
this.OnSOSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SOSequence = value;
|
|
this.SendPropertyChanged("SOSequence");
|
|
this.OnSOSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCQuantity", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> MTDOCQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._MTDOCQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTDOCQuantity != value))
|
|
{
|
|
this.OnMTDOCQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTDOCQuantity = value;
|
|
this.SendPropertyChanged("MTDOCQuantity");
|
|
this.OnMTDOCQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MTDOCType
|
|
{
|
|
get
|
|
{
|
|
return this._MTDOCType;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTDOCType != value))
|
|
{
|
|
this.OnMTDOCTypeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTDOCType = value;
|
|
this.SendPropertyChanged("MTDOCType");
|
|
this.OnMTDOCTypeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(500)")]
|
|
public string Memo
|
|
{
|
|
get
|
|
{
|
|
return this._Memo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Memo != value))
|
|
{
|
|
this.OnMemoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Memo = value;
|
|
this.SendPropertyChanged("Memo");
|
|
this.OnMemoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MTDOCID
|
|
{
|
|
get
|
|
{
|
|
return this._MTDOCID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTDOCID != value))
|
|
{
|
|
this.OnMTDOCIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTDOCID = value;
|
|
this.SendPropertyChanged("MTDOCID");
|
|
this.OnMTDOCIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MTDOCDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._MTDOCDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTDOCDetailID != value))
|
|
{
|
|
this.OnMTDOCDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTDOCDetailID = value;
|
|
this.SendPropertyChanged("MTDOCDetailID");
|
|
this.OnMTDOCDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSManufactureReceive")]
|
|
public partial class ICSManufactureReceive : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _RCVCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _SourceCode;
|
|
|
|
private string _SourceSequence;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _RCVQuantity;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Type;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _RCVID;
|
|
|
|
private string _RCVDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnRCVCodeChanging(string value);
|
|
partial void OnRCVCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnSourceCodeChanging(string value);
|
|
partial void OnSourceCodeChanged();
|
|
partial void OnSourceSequenceChanging(string value);
|
|
partial void OnSourceSequenceChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnRCVQuantityChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnRCVIDChanging(string value);
|
|
partial void OnRCVIDChanged();
|
|
partial void OnRCVDetailIDChanging(string value);
|
|
partial void OnRCVDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTEChanging(string value);
|
|
partial void OnEATTRIBUTEChanged();
|
|
#endregion
|
|
|
|
public ICSManufactureReceive()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string RCVCode
|
|
{
|
|
get
|
|
{
|
|
return this._RCVCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._RCVCode != value))
|
|
{
|
|
this.OnRCVCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._RCVCode = value;
|
|
this.SendPropertyChanged("RCVCode");
|
|
this.OnRCVCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
|
|
public string SourceCode
|
|
{
|
|
get
|
|
{
|
|
return this._SourceCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceCode != value))
|
|
{
|
|
this.OnSourceCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceCode = value;
|
|
this.SendPropertyChanged("SourceCode");
|
|
this.OnSourceCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
|
|
public string SourceSequence
|
|
{
|
|
get
|
|
{
|
|
return this._SourceSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SourceSequence != value))
|
|
{
|
|
this.OnSourceSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SourceSequence = value;
|
|
this.SendPropertyChanged("SourceSequence");
|
|
this.OnSourceSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> RCVQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._RCVQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._RCVQuantity != value))
|
|
{
|
|
this.OnRCVQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._RCVQuantity = value;
|
|
this.SendPropertyChanged("RCVQuantity");
|
|
this.OnRCVQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVID", DbType="NVarChar(50)")]
|
|
public string RCVID
|
|
{
|
|
get
|
|
{
|
|
return this._RCVID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._RCVID != value))
|
|
{
|
|
this.OnRCVIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._RCVID = value;
|
|
this.SendPropertyChanged("RCVID");
|
|
this.OnRCVIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVDetailID", DbType="NVarChar(50)")]
|
|
public string RCVDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._RCVDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._RCVDetailID != value))
|
|
{
|
|
this.OnRCVDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._RCVDetailID = value;
|
|
this.SendPropertyChanged("RCVDetailID");
|
|
this.OnRCVDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE != value))
|
|
{
|
|
this.OnEATTRIBUTEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE = value;
|
|
this.SendPropertyChanged("EATTRIBUTE");
|
|
this.OnEATTRIBUTEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSDeliveryNotice")]
|
|
public partial class ICSDeliveryNotice : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _DNCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _VenCode;
|
|
|
|
private string _DepCode;
|
|
|
|
private string _DNType;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _RCVQuantity;
|
|
|
|
private System.Nullable<decimal> _UnitPrice;
|
|
|
|
private string _Currency;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _POID;
|
|
|
|
private string _PODetailID;
|
|
|
|
private string _DNID;
|
|
|
|
private string _DNDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
private string _ASNCode;
|
|
|
|
private string _WHCode;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnDNCodeChanging(string value);
|
|
partial void OnDNCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnVenCodeChanging(string value);
|
|
partial void OnVenCodeChanged();
|
|
partial void OnDepCodeChanging(string value);
|
|
partial void OnDepCodeChanged();
|
|
partial void OnDNTypeChanging(string value);
|
|
partial void OnDNTypeChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnRCVQuantityChanged();
|
|
partial void OnUnitPriceChanging(System.Nullable<decimal> value);
|
|
partial void OnUnitPriceChanged();
|
|
partial void OnCurrencyChanging(string value);
|
|
partial void OnCurrencyChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnPOIDChanging(string value);
|
|
partial void OnPOIDChanged();
|
|
partial void OnPODetailIDChanging(string value);
|
|
partial void OnPODetailIDChanged();
|
|
partial void OnDNIDChanging(string value);
|
|
partial void OnDNIDChanged();
|
|
partial void OnDNDetailIDChanging(string value);
|
|
partial void OnDNDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
partial void OnASNCodeChanging(string value);
|
|
partial void OnASNCodeChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
#endregion
|
|
|
|
public ICSDeliveryNotice()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string DNCode
|
|
{
|
|
get
|
|
{
|
|
return this._DNCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DNCode != value))
|
|
{
|
|
this.OnDNCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DNCode = value;
|
|
this.SendPropertyChanged("DNCode");
|
|
this.OnDNCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50)")]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string VenCode
|
|
{
|
|
get
|
|
{
|
|
return this._VenCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._VenCode != value))
|
|
{
|
|
this.OnVenCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._VenCode = value;
|
|
this.SendPropertyChanged("VenCode");
|
|
this.OnVenCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
|
|
public string DepCode
|
|
{
|
|
get
|
|
{
|
|
return this._DepCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DepCode != value))
|
|
{
|
|
this.OnDepCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DepCode = value;
|
|
this.SendPropertyChanged("DepCode");
|
|
this.OnDepCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string DNType
|
|
{
|
|
get
|
|
{
|
|
return this._DNType;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DNType != value))
|
|
{
|
|
this.OnDNTypeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DNType = value;
|
|
this.SendPropertyChanged("DNType");
|
|
this.OnDNTypeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> RCVQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._RCVQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._RCVQuantity != value))
|
|
{
|
|
this.OnRCVQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._RCVQuantity = value;
|
|
this.SendPropertyChanged("RCVQuantity");
|
|
this.OnRCVQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> UnitPrice
|
|
{
|
|
get
|
|
{
|
|
return this._UnitPrice;
|
|
}
|
|
set
|
|
{
|
|
if ((this._UnitPrice != value))
|
|
{
|
|
this.OnUnitPriceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._UnitPrice = value;
|
|
this.SendPropertyChanged("UnitPrice");
|
|
this.OnUnitPriceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Currency", DbType="NVarChar(50)")]
|
|
public string Currency
|
|
{
|
|
get
|
|
{
|
|
return this._Currency;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Currency != value))
|
|
{
|
|
this.OnCurrencyChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Currency = value;
|
|
this.SendPropertyChanged("Currency");
|
|
this.OnCurrencyChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POID", DbType="NVarChar(50)")]
|
|
public string POID
|
|
{
|
|
get
|
|
{
|
|
return this._POID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._POID != value))
|
|
{
|
|
this.OnPOIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._POID = value;
|
|
this.SendPropertyChanged("POID");
|
|
this.OnPOIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODetailID", DbType="NVarChar(50)")]
|
|
public string PODetailID
|
|
{
|
|
get
|
|
{
|
|
return this._PODetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._PODetailID != value))
|
|
{
|
|
this.OnPODetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._PODetailID = value;
|
|
this.SendPropertyChanged("PODetailID");
|
|
this.OnPODetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNID", DbType="NVarChar(50)")]
|
|
public string DNID
|
|
{
|
|
get
|
|
{
|
|
return this._DNID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DNID != value))
|
|
{
|
|
this.OnDNIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DNID = value;
|
|
this.SendPropertyChanged("DNID");
|
|
this.OnDNIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDetailID", DbType="NVarChar(50)")]
|
|
public string DNDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._DNDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._DNDetailID != value))
|
|
{
|
|
this.OnDNDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._DNDetailID = value;
|
|
this.SendPropertyChanged("DNDetailID");
|
|
this.OnDNDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ASNCode", DbType="NVarChar(50)")]
|
|
public string ASNCode
|
|
{
|
|
get
|
|
{
|
|
return this._ASNCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ASNCode != value))
|
|
{
|
|
this.OnASNCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ASNCode = value;
|
|
this.SendPropertyChanged("ASNCode");
|
|
this.OnASNCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="VarChar(50)")]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSSDN")]
|
|
public partial class ICSSDN : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _SDNCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _SOCode;
|
|
|
|
private string _SOSequence;
|
|
|
|
private string _CusCode;
|
|
|
|
private string _CusName;
|
|
|
|
private string _Type;
|
|
|
|
private System.DateTime _ArriveDate;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _SDNQuantity;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _Status;
|
|
|
|
private string _SDNID;
|
|
|
|
private string _SDNDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnSDNCodeChanging(string value);
|
|
partial void OnSDNCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnSOCodeChanging(string value);
|
|
partial void OnSOCodeChanged();
|
|
partial void OnSOSequenceChanging(string value);
|
|
partial void OnSOSequenceChanged();
|
|
partial void OnCusCodeChanging(string value);
|
|
partial void OnCusCodeChanged();
|
|
partial void OnCusNameChanging(string value);
|
|
partial void OnCusNameChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnArriveDateChanging(System.DateTime value);
|
|
partial void OnArriveDateChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnSDNQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnSDNQuantityChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnSDNIDChanging(string value);
|
|
partial void OnSDNIDChanged();
|
|
partial void OnSDNDetailIDChanging(string value);
|
|
partial void OnSDNDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSSDN()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string SDNCode
|
|
{
|
|
get
|
|
{
|
|
return this._SDNCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SDNCode != value))
|
|
{
|
|
this.OnSDNCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SDNCode = value;
|
|
this.SendPropertyChanged("SDNCode");
|
|
this.OnSDNCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string SOCode
|
|
{
|
|
get
|
|
{
|
|
return this._SOCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SOCode != value))
|
|
{
|
|
this.OnSOCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SOCode = value;
|
|
this.SendPropertyChanged("SOCode");
|
|
this.OnSOCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string SOSequence
|
|
{
|
|
get
|
|
{
|
|
return this._SOSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SOSequence != value))
|
|
{
|
|
this.OnSOSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SOSequence = value;
|
|
this.SendPropertyChanged("SOSequence");
|
|
this.OnSOSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CusCode
|
|
{
|
|
get
|
|
{
|
|
return this._CusCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CusCode != value))
|
|
{
|
|
this.OnCusCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CusCode = value;
|
|
this.SendPropertyChanged("CusCode");
|
|
this.OnCusCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
|
|
public string CusName
|
|
{
|
|
get
|
|
{
|
|
return this._CusName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CusName != value))
|
|
{
|
|
this.OnCusNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CusName = value;
|
|
this.SendPropertyChanged("CusName");
|
|
this.OnCusNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_ArriveDate", DbType="DateTime NOT NULL")]
|
|
public System.DateTime ArriveDate
|
|
{
|
|
get
|
|
{
|
|
return this._ArriveDate;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ArriveDate != value))
|
|
{
|
|
this.OnArriveDateChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ArriveDate = value;
|
|
this.SendPropertyChanged("ArriveDate");
|
|
this.OnArriveDateChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNQuantity", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> SDNQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._SDNQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SDNQuantity != value))
|
|
{
|
|
this.OnSDNQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SDNQuantity = value;
|
|
this.SendPropertyChanged("SDNQuantity");
|
|
this.OnSDNQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string SDNID
|
|
{
|
|
get
|
|
{
|
|
return this._SDNID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SDNID != value))
|
|
{
|
|
this.OnSDNIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SDNID = value;
|
|
this.SendPropertyChanged("SDNID");
|
|
this.OnSDNIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string SDNDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._SDNDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._SDNDetailID != value))
|
|
{
|
|
this.OnSDNDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._SDNDetailID = value;
|
|
this.SendPropertyChanged("SDNDetailID");
|
|
this.OnSDNDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSInventoryLotDetail")]
|
|
public partial class ICSInventoryLotDetail : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _LotNo;
|
|
|
|
private string _TransCode;
|
|
|
|
private string _TransSequence;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnLotNoChanging(string value);
|
|
partial void OnLotNoChanged();
|
|
partial void OnTransCodeChanging(string value);
|
|
partial void OnTransCodeChanged();
|
|
partial void OnTransSequenceChanging(string value);
|
|
partial void OnTransSequenceChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSInventoryLotDetail()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string LotNo
|
|
{
|
|
get
|
|
{
|
|
return this._LotNo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LotNo != value))
|
|
{
|
|
this.OnLotNoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LotNo = value;
|
|
this.SendPropertyChanged("LotNo");
|
|
this.OnLotNoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string TransCode
|
|
{
|
|
get
|
|
{
|
|
return this._TransCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransCode != value))
|
|
{
|
|
this.OnTransCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransCode = value;
|
|
this.SendPropertyChanged("TransCode");
|
|
this.OnTransCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string TransSequence
|
|
{
|
|
get
|
|
{
|
|
return this._TransSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransSequence != value))
|
|
{
|
|
this.OnTransSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransSequence = value;
|
|
this.SendPropertyChanged("TransSequence");
|
|
this.OnTransSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSWareHouseLotInfoLog")]
|
|
public partial class ICSWareHouseLotInfoLog : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _Identification;
|
|
|
|
private string _TransCode;
|
|
|
|
private string _TransSequence;
|
|
|
|
private string _LotNo;
|
|
|
|
private string _InvCode;
|
|
|
|
private string _FromWarehouseCode;
|
|
|
|
private string _FromLocationCode;
|
|
|
|
private string _ToWarehouseCode;
|
|
|
|
private string _ToLocationCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private string _Memo;
|
|
|
|
private bool _Lock;
|
|
|
|
private string _TransType;
|
|
|
|
private string _BusinessCode;
|
|
|
|
private System.Nullable<bool> _ERPUpload;
|
|
|
|
private string _ERPID;
|
|
|
|
private string _ERPDetailID;
|
|
|
|
private string _ERPCode;
|
|
|
|
private string _ERPSequence;
|
|
|
|
private string _LogID;
|
|
|
|
private string _MergeID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.Nullable<System.DateTime> _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
private string _EATTRIBUTE2;
|
|
|
|
private string _EATTRIBUTE3;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnIdentificationChanging(string value);
|
|
partial void OnIdentificationChanged();
|
|
partial void OnTransCodeChanging(string value);
|
|
partial void OnTransCodeChanged();
|
|
partial void OnTransSequenceChanging(string value);
|
|
partial void OnTransSequenceChanged();
|
|
partial void OnLotNoChanging(string value);
|
|
partial void OnLotNoChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnFromWarehouseCodeChanging(string value);
|
|
partial void OnFromWarehouseCodeChanged();
|
|
partial void OnFromLocationCodeChanging(string value);
|
|
partial void OnFromLocationCodeChanged();
|
|
partial void OnToWarehouseCodeChanging(string value);
|
|
partial void OnToWarehouseCodeChanged();
|
|
partial void OnToLocationCodeChanging(string value);
|
|
partial void OnToLocationCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnMemoChanging(string value);
|
|
partial void OnMemoChanged();
|
|
partial void OnLockChanging(bool value);
|
|
partial void OnLockChanged();
|
|
partial void OnTransTypeChanging(string value);
|
|
partial void OnTransTypeChanged();
|
|
partial void OnBusinessCodeChanging(string value);
|
|
partial void OnBusinessCodeChanged();
|
|
partial void OnERPUploadChanging(System.Nullable<bool> value);
|
|
partial void OnERPUploadChanged();
|
|
partial void OnERPIDChanging(string value);
|
|
partial void OnERPIDChanged();
|
|
partial void OnERPDetailIDChanging(string value);
|
|
partial void OnERPDetailIDChanged();
|
|
partial void OnERPCodeChanging(string value);
|
|
partial void OnERPCodeChanged();
|
|
partial void OnERPSequenceChanging(string value);
|
|
partial void OnERPSequenceChanged();
|
|
partial void OnLogIDChanging(string value);
|
|
partial void OnLogIDChanged();
|
|
partial void OnMergeIDChanging(string value);
|
|
partial void OnMergeIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
partial void OnEATTRIBUTE2Changing(string value);
|
|
partial void OnEATTRIBUTE2Changed();
|
|
partial void OnEATTRIBUTE3Changing(string value);
|
|
partial void OnEATTRIBUTE3Changed();
|
|
#endregion
|
|
|
|
public ICSWareHouseLotInfoLog()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Identification", DbType="NVarChar(50)")]
|
|
public string Identification
|
|
{
|
|
get
|
|
{
|
|
return this._Identification;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Identification != value))
|
|
{
|
|
this.OnIdentificationChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Identification = value;
|
|
this.SendPropertyChanged("Identification");
|
|
this.OnIdentificationChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(100)")]
|
|
public string TransCode
|
|
{
|
|
get
|
|
{
|
|
return this._TransCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransCode != value))
|
|
{
|
|
this.OnTransCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransCode = value;
|
|
this.SendPropertyChanged("TransCode");
|
|
this.OnTransCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50)")]
|
|
public string TransSequence
|
|
{
|
|
get
|
|
{
|
|
return this._TransSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransSequence != value))
|
|
{
|
|
this.OnTransSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransSequence = value;
|
|
this.SendPropertyChanged("TransSequence");
|
|
this.OnTransSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string LotNo
|
|
{
|
|
get
|
|
{
|
|
return this._LotNo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LotNo != value))
|
|
{
|
|
this.OnLotNoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LotNo = value;
|
|
this.SendPropertyChanged("LotNo");
|
|
this.OnLotNoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50)")]
|
|
public string FromWarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._FromWarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._FromWarehouseCode != value))
|
|
{
|
|
this.OnFromWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._FromWarehouseCode = value;
|
|
this.SendPropertyChanged("FromWarehouseCode");
|
|
this.OnFromWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
|
|
public string FromLocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._FromLocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._FromLocationCode != value))
|
|
{
|
|
this.OnFromLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._FromLocationCode = value;
|
|
this.SendPropertyChanged("FromLocationCode");
|
|
this.OnFromLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50)")]
|
|
public string ToWarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._ToWarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ToWarehouseCode != value))
|
|
{
|
|
this.OnToWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ToWarehouseCode = value;
|
|
this.SendPropertyChanged("ToWarehouseCode");
|
|
this.OnToWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
|
|
public string ToLocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._ToLocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ToLocationCode != value))
|
|
{
|
|
this.OnToLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ToLocationCode = value;
|
|
this.SendPropertyChanged("ToLocationCode");
|
|
this.OnToLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
|
|
public string Memo
|
|
{
|
|
get
|
|
{
|
|
return this._Memo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Memo != value))
|
|
{
|
|
this.OnMemoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Memo = value;
|
|
this.SendPropertyChanged("Memo");
|
|
this.OnMemoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Lock", DbType="Bit NOT NULL")]
|
|
public bool Lock
|
|
{
|
|
get
|
|
{
|
|
return this._Lock;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Lock != value))
|
|
{
|
|
this.OnLockChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Lock = value;
|
|
this.SendPropertyChanged("Lock");
|
|
this.OnLockChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string TransType
|
|
{
|
|
get
|
|
{
|
|
return this._TransType;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransType != value))
|
|
{
|
|
this.OnTransTypeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransType = value;
|
|
this.SendPropertyChanged("TransType");
|
|
this.OnTransTypeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string BusinessCode
|
|
{
|
|
get
|
|
{
|
|
return this._BusinessCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._BusinessCode != value))
|
|
{
|
|
this.OnBusinessCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._BusinessCode = value;
|
|
this.SendPropertyChanged("BusinessCode");
|
|
this.OnBusinessCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPUpload", DbType="Bit")]
|
|
public System.Nullable<bool> ERPUpload
|
|
{
|
|
get
|
|
{
|
|
return this._ERPUpload;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ERPUpload != value))
|
|
{
|
|
this.OnERPUploadChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ERPUpload = value;
|
|
this.SendPropertyChanged("ERPUpload");
|
|
this.OnERPUploadChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPID", DbType="NVarChar(50)")]
|
|
public string ERPID
|
|
{
|
|
get
|
|
{
|
|
return this._ERPID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ERPID != value))
|
|
{
|
|
this.OnERPIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ERPID = value;
|
|
this.SendPropertyChanged("ERPID");
|
|
this.OnERPIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPDetailID", DbType="NVarChar(50)")]
|
|
public string ERPDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._ERPDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ERPDetailID != value))
|
|
{
|
|
this.OnERPDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ERPDetailID = value;
|
|
this.SendPropertyChanged("ERPDetailID");
|
|
this.OnERPDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPCode", DbType="NVarChar(50)")]
|
|
public string ERPCode
|
|
{
|
|
get
|
|
{
|
|
return this._ERPCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ERPCode != value))
|
|
{
|
|
this.OnERPCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ERPCode = value;
|
|
this.SendPropertyChanged("ERPCode");
|
|
this.OnERPCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPSequence", DbType="NVarChar(50)")]
|
|
public string ERPSequence
|
|
{
|
|
get
|
|
{
|
|
return this._ERPSequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ERPSequence != value))
|
|
{
|
|
this.OnERPSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ERPSequence = value;
|
|
this.SendPropertyChanged("ERPSequence");
|
|
this.OnERPSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogID", DbType="NVarChar(50)")]
|
|
public string LogID
|
|
{
|
|
get
|
|
{
|
|
return this._LogID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LogID != value))
|
|
{
|
|
this.OnLogIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LogID = value;
|
|
this.SendPropertyChanged("LogID");
|
|
this.OnLogIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MergeID", DbType="NVarChar(50)")]
|
|
public string MergeID
|
|
{
|
|
get
|
|
{
|
|
return this._MergeID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MergeID != value))
|
|
{
|
|
this.OnMergeIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MergeID = value;
|
|
this.SendPropertyChanged("MergeID");
|
|
this.OnMergeIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
|
|
public System.Nullable<System.DateTime> MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE2
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE2;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE2 != value))
|
|
{
|
|
this.OnEATTRIBUTE2Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE2 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE2");
|
|
this.OnEATTRIBUTE2Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE3
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE3;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE3 != value))
|
|
{
|
|
this.OnEATTRIBUTE3Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE3 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE3");
|
|
this.OnEATTRIBUTE3Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSInventoryLot")]
|
|
public partial class ICSInventoryLot : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _LotNo;
|
|
|
|
private string _InvCode;
|
|
|
|
private System.DateTime _ProductDate;
|
|
|
|
private System.DateTime _ExpirationDate;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _Type;
|
|
|
|
private System.Nullable<int> _PrintTimes;
|
|
|
|
private string _LastPrintUser;
|
|
|
|
private System.Nullable<System.DateTime> _LastPrintTime;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnLotNoChanging(string value);
|
|
partial void OnLotNoChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnProductDateChanging(System.DateTime value);
|
|
partial void OnProductDateChanged();
|
|
partial void OnExpirationDateChanging(System.DateTime value);
|
|
partial void OnExpirationDateChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnTypeChanging(string value);
|
|
partial void OnTypeChanged();
|
|
partial void OnPrintTimesChanging(System.Nullable<int> value);
|
|
partial void OnPrintTimesChanged();
|
|
partial void OnLastPrintUserChanging(string value);
|
|
partial void OnLastPrintUserChanged();
|
|
partial void OnLastPrintTimeChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnLastPrintTimeChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSInventoryLot()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string LotNo
|
|
{
|
|
get
|
|
{
|
|
return this._LotNo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LotNo != value))
|
|
{
|
|
this.OnLotNoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LotNo = value;
|
|
this.SendPropertyChanged("LotNo");
|
|
this.OnLotNoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductDate", DbType="DateTime NOT NULL")]
|
|
public System.DateTime ProductDate
|
|
{
|
|
get
|
|
{
|
|
return this._ProductDate;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ProductDate != value))
|
|
{
|
|
this.OnProductDateChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ProductDate = value;
|
|
this.SendPropertyChanged("ProductDate");
|
|
this.OnProductDateChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpirationDate", DbType="DateTime NOT NULL")]
|
|
public System.DateTime ExpirationDate
|
|
{
|
|
get
|
|
{
|
|
return this._ExpirationDate;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExpirationDate != value))
|
|
{
|
|
this.OnExpirationDateChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExpirationDate = value;
|
|
this.SendPropertyChanged("ExpirationDate");
|
|
this.OnExpirationDateChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(100)")]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
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="_PrintTimes", DbType="Int")]
|
|
public System.Nullable<int> PrintTimes
|
|
{
|
|
get
|
|
{
|
|
return this._PrintTimes;
|
|
}
|
|
set
|
|
{
|
|
if ((this._PrintTimes != value))
|
|
{
|
|
this.OnPrintTimesChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._PrintTimes = value;
|
|
this.SendPropertyChanged("PrintTimes");
|
|
this.OnPrintTimesChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintUser", DbType="NVarChar(50)")]
|
|
public string LastPrintUser
|
|
{
|
|
get
|
|
{
|
|
return this._LastPrintUser;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LastPrintUser != value))
|
|
{
|
|
this.OnLastPrintUserChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LastPrintUser = value;
|
|
this.SendPropertyChanged("LastPrintUser");
|
|
this.OnLastPrintUserChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintTime", DbType="DateTime")]
|
|
public System.Nullable<System.DateTime> LastPrintTime
|
|
{
|
|
get
|
|
{
|
|
return this._LastPrintTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LastPrintTime != value))
|
|
{
|
|
this.OnLastPrintTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LastPrintTime = value;
|
|
this.SendPropertyChanged("LastPrintTime");
|
|
this.OnLastPrintTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSWareHouseLotInfo")]
|
|
public partial class ICSWareHouseLotInfo : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _LotNo;
|
|
|
|
private string _WarehouseCode;
|
|
|
|
private string _LocationCode;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<System.DateTime> _InDate;
|
|
|
|
private decimal _LockQuantity;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.Nullable<System.DateTime> _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnLotNoChanging(string value);
|
|
partial void OnLotNoChanged();
|
|
partial void OnWarehouseCodeChanging(string value);
|
|
partial void OnWarehouseCodeChanged();
|
|
partial void OnLocationCodeChanging(string value);
|
|
partial void OnLocationCodeChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnInDateChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnInDateChanged();
|
|
partial void OnLockQuantityChanging(decimal value);
|
|
partial void OnLockQuantityChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSWareHouseLotInfo()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string LotNo
|
|
{
|
|
get
|
|
{
|
|
return this._LotNo;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LotNo != value))
|
|
{
|
|
this.OnLotNoChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LotNo = value;
|
|
this.SendPropertyChanged("LotNo");
|
|
this.OnLotNoChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._WarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WarehouseCode != value))
|
|
{
|
|
this.OnWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WarehouseCode = value;
|
|
this.SendPropertyChanged("WarehouseCode");
|
|
this.OnWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string LocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._LocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LocationCode != value))
|
|
{
|
|
this.OnLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LocationCode = value;
|
|
this.SendPropertyChanged("LocationCode");
|
|
this.OnLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDate", DbType="DateTime2(7)")]
|
|
public System.Nullable<System.DateTime> InDate
|
|
{
|
|
get
|
|
{
|
|
return this._InDate;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InDate != value))
|
|
{
|
|
this.OnInDateChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InDate = value;
|
|
this.SendPropertyChanged("InDate");
|
|
this.OnInDateChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LockQuantity", DbType="Decimal(18,6) NOT NULL")]
|
|
public decimal LockQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._LockQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LockQuantity != value))
|
|
{
|
|
this.OnLockQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LockQuantity = value;
|
|
this.SendPropertyChanged("LockQuantity");
|
|
this.OnLockQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
|
|
public System.Nullable<System.DateTime> MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSLocation")]
|
|
public partial class ICSLocation : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _LocationCode;
|
|
|
|
private string _LocationName;
|
|
|
|
private string _WHID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
private string _Region;
|
|
|
|
private string _Row;
|
|
|
|
private string _GoodsShelf;
|
|
|
|
private string _Tier;
|
|
|
|
private string _Grid;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnLocationCodeChanging(string value);
|
|
partial void OnLocationCodeChanged();
|
|
partial void OnLocationNameChanging(string value);
|
|
partial void OnLocationNameChanged();
|
|
partial void OnWHIDChanging(string value);
|
|
partial void OnWHIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
partial void OnRegionChanging(string value);
|
|
partial void OnRegionChanged();
|
|
partial void OnRowChanging(string value);
|
|
partial void OnRowChanged();
|
|
partial void OnGoodsShelfChanging(string value);
|
|
partial void OnGoodsShelfChanged();
|
|
partial void OnTierChanging(string value);
|
|
partial void OnTierChanged();
|
|
partial void OnGridChanging(string value);
|
|
partial void OnGridChanged();
|
|
#endregion
|
|
|
|
public ICSLocation()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string LocationCode
|
|
{
|
|
get
|
|
{
|
|
return this._LocationCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LocationCode != value))
|
|
{
|
|
this.OnLocationCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LocationCode = value;
|
|
this.SendPropertyChanged("LocationCode");
|
|
this.OnLocationCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string LocationName
|
|
{
|
|
get
|
|
{
|
|
return this._LocationName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._LocationName != value))
|
|
{
|
|
this.OnLocationNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._LocationName = value;
|
|
this.SendPropertyChanged("LocationName");
|
|
this.OnLocationNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHID
|
|
{
|
|
get
|
|
{
|
|
return this._WHID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHID != value))
|
|
{
|
|
this.OnWHIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHID = value;
|
|
this.SendPropertyChanged("WHID");
|
|
this.OnWHIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Region", DbType="NVarChar(50)")]
|
|
public string Region
|
|
{
|
|
get
|
|
{
|
|
return this._Region;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Region != value))
|
|
{
|
|
this.OnRegionChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Region = value;
|
|
this.SendPropertyChanged("Region");
|
|
this.OnRegionChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Row", DbType="NVarChar(50)")]
|
|
public string Row
|
|
{
|
|
get
|
|
{
|
|
return this._Row;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Row != value))
|
|
{
|
|
this.OnRowChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Row = value;
|
|
this.SendPropertyChanged("Row");
|
|
this.OnRowChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="GoodsShelf ", Storage="_GoodsShelf", DbType="NVarChar(50)")]
|
|
public string GoodsShelf
|
|
{
|
|
get
|
|
{
|
|
return this._GoodsShelf;
|
|
}
|
|
set
|
|
{
|
|
if ((this._GoodsShelf != value))
|
|
{
|
|
this.OnGoodsShelfChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._GoodsShelf = value;
|
|
this.SendPropertyChanged("GoodsShelf");
|
|
this.OnGoodsShelfChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tier", DbType="NVarChar(50)")]
|
|
public string Tier
|
|
{
|
|
get
|
|
{
|
|
return this._Tier;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Tier != value))
|
|
{
|
|
this.OnTierChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Tier = value;
|
|
this.SendPropertyChanged("Tier");
|
|
this.OnTierChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grid", DbType="NVarChar(50)")]
|
|
public string Grid
|
|
{
|
|
get
|
|
{
|
|
return this._Grid;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Grid != value))
|
|
{
|
|
this.OnGridChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Grid = value;
|
|
this.SendPropertyChanged("Grid");
|
|
this.OnGridChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSWarehouse")]
|
|
public partial class ICSWarehouse : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _WarehouseCode;
|
|
|
|
private string _WarehouseName;
|
|
|
|
private bool _Enable;
|
|
|
|
private bool _BatchEnable;
|
|
|
|
private bool _Asset;
|
|
|
|
private bool _Proxy;
|
|
|
|
private bool _InCost;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnWarehouseCodeChanging(string value);
|
|
partial void OnWarehouseCodeChanged();
|
|
partial void OnWarehouseNameChanging(string value);
|
|
partial void OnWarehouseNameChanged();
|
|
partial void OnEnableChanging(bool value);
|
|
partial void OnEnableChanged();
|
|
partial void OnBatchEnableChanging(bool value);
|
|
partial void OnBatchEnableChanged();
|
|
partial void OnAssetChanging(bool value);
|
|
partial void OnAssetChanged();
|
|
partial void OnProxyChanging(bool value);
|
|
partial void OnProxyChanged();
|
|
partial void OnInCostChanging(bool value);
|
|
partial void OnInCostChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSWarehouse()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WarehouseCode
|
|
{
|
|
get
|
|
{
|
|
return this._WarehouseCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WarehouseCode != value))
|
|
{
|
|
this.OnWarehouseCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WarehouseCode = value;
|
|
this.SendPropertyChanged("WarehouseCode");
|
|
this.OnWarehouseCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
|
|
public string WarehouseName
|
|
{
|
|
get
|
|
{
|
|
return this._WarehouseName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WarehouseName != value))
|
|
{
|
|
this.OnWarehouseNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WarehouseName = value;
|
|
this.SendPropertyChanged("WarehouseName");
|
|
this.OnWarehouseNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Enable", DbType="Bit NOT NULL")]
|
|
public bool Enable
|
|
{
|
|
get
|
|
{
|
|
return this._Enable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Enable != value))
|
|
{
|
|
this.OnEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Enable = value;
|
|
this.SendPropertyChanged("Enable");
|
|
this.OnEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
|
|
public bool BatchEnable
|
|
{
|
|
get
|
|
{
|
|
return this._BatchEnable;
|
|
}
|
|
set
|
|
{
|
|
if ((this._BatchEnable != value))
|
|
{
|
|
this.OnBatchEnableChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._BatchEnable = value;
|
|
this.SendPropertyChanged("BatchEnable");
|
|
this.OnBatchEnableChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Asset", DbType="Bit NOT NULL")]
|
|
public bool Asset
|
|
{
|
|
get
|
|
{
|
|
return this._Asset;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Asset != value))
|
|
{
|
|
this.OnAssetChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Asset = value;
|
|
this.SendPropertyChanged("Asset");
|
|
this.OnAssetChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proxy", DbType="Bit NOT NULL")]
|
|
public bool Proxy
|
|
{
|
|
get
|
|
{
|
|
return this._Proxy;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Proxy != value))
|
|
{
|
|
this.OnProxyChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Proxy = value;
|
|
this.SendPropertyChanged("Proxy");
|
|
this.OnProxyChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCost", DbType="Bit NOT NULL")]
|
|
public bool InCost
|
|
{
|
|
get
|
|
{
|
|
return this._InCost;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InCost != value))
|
|
{
|
|
this.OnInCostChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InCost = value;
|
|
this.SendPropertyChanged("InCost");
|
|
this.OnInCostChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSOtherOut")]
|
|
public partial class ICSOtherOut : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _OutCode;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _OutQuantity;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _OutID;
|
|
|
|
private string _OutDetailID;
|
|
|
|
private string _TransferID;
|
|
|
|
private string _TransferDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnOutCodeChanging(string value);
|
|
partial void OnOutCodeChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnOutQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnOutQuantityChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnOutIDChanging(string value);
|
|
partial void OnOutIDChanged();
|
|
partial void OnOutDetailIDChanging(string value);
|
|
partial void OnOutDetailIDChanged();
|
|
partial void OnTransferIDChanging(string value);
|
|
partial void OnTransferIDChanged();
|
|
partial void OnTransferDetailIDChanging(string value);
|
|
partial void OnTransferDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSOtherOut()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string OutCode
|
|
{
|
|
get
|
|
{
|
|
return this._OutCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._OutCode != value))
|
|
{
|
|
this.OnOutCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._OutCode = value;
|
|
this.SendPropertyChanged("OutCode");
|
|
this.OnOutCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutQuantity", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> OutQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._OutQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._OutQuantity != value))
|
|
{
|
|
this.OnOutQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._OutQuantity = value;
|
|
this.SendPropertyChanged("OutQuantity");
|
|
this.OnOutQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string OutID
|
|
{
|
|
get
|
|
{
|
|
return this._OutID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._OutID != value))
|
|
{
|
|
this.OnOutIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._OutID = value;
|
|
this.SendPropertyChanged("OutID");
|
|
this.OnOutIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string OutDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._OutDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._OutDetailID != value))
|
|
{
|
|
this.OnOutDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._OutDetailID = value;
|
|
this.SendPropertyChanged("OutDetailID");
|
|
this.OnOutDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
|
|
public string TransferID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferID != value))
|
|
{
|
|
this.OnTransferIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferID = value;
|
|
this.SendPropertyChanged("TransferID");
|
|
this.OnTransferIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
|
|
public string TransferDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferDetailID != value))
|
|
{
|
|
this.OnTransferDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferDetailID = value;
|
|
this.SendPropertyChanged("TransferDetailID");
|
|
this.OnTransferDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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.ICSOtherIn")]
|
|
public partial class ICSOtherIn : INotifyPropertyChanging, INotifyPropertyChanged
|
|
{
|
|
|
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
|
|
|
private string _ID;
|
|
|
|
private string _InCode;
|
|
|
|
private string _WHCode;
|
|
|
|
private string _Sequence;
|
|
|
|
private string _InvCode;
|
|
|
|
private decimal _Quantity;
|
|
|
|
private System.Nullable<decimal> _Amount;
|
|
|
|
private System.Nullable<decimal> _InQuantity;
|
|
|
|
private string _Status;
|
|
|
|
private string _CreatePerson;
|
|
|
|
private System.DateTime _CreateDateTime;
|
|
|
|
private string _InID;
|
|
|
|
private string _InDetailID;
|
|
|
|
private string _TransferID;
|
|
|
|
private string _TransferDetailID;
|
|
|
|
private string _ExtensionID;
|
|
|
|
private string _MUSER;
|
|
|
|
private string _MUSERName;
|
|
|
|
private System.DateTime _MTIME;
|
|
|
|
private string _WorkPoint;
|
|
|
|
private string _EATTRIBUTE1;
|
|
|
|
#region 可扩展性方法定义
|
|
partial void OnLoaded();
|
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
|
partial void OnCreated();
|
|
partial void OnIDChanging(string value);
|
|
partial void OnIDChanged();
|
|
partial void OnInCodeChanging(string value);
|
|
partial void OnInCodeChanged();
|
|
partial void OnWHCodeChanging(string value);
|
|
partial void OnWHCodeChanged();
|
|
partial void OnSequenceChanging(string value);
|
|
partial void OnSequenceChanged();
|
|
partial void OnInvCodeChanging(string value);
|
|
partial void OnInvCodeChanged();
|
|
partial void OnQuantityChanging(decimal value);
|
|
partial void OnQuantityChanged();
|
|
partial void OnAmountChanging(System.Nullable<decimal> value);
|
|
partial void OnAmountChanged();
|
|
partial void OnInQuantityChanging(System.Nullable<decimal> value);
|
|
partial void OnInQuantityChanged();
|
|
partial void OnStatusChanging(string value);
|
|
partial void OnStatusChanged();
|
|
partial void OnCreatePersonChanging(string value);
|
|
partial void OnCreatePersonChanged();
|
|
partial void OnCreateDateTimeChanging(System.DateTime value);
|
|
partial void OnCreateDateTimeChanged();
|
|
partial void OnInIDChanging(string value);
|
|
partial void OnInIDChanged();
|
|
partial void OnInDetailIDChanging(string value);
|
|
partial void OnInDetailIDChanged();
|
|
partial void OnTransferIDChanging(string value);
|
|
partial void OnTransferIDChanged();
|
|
partial void OnTransferDetailIDChanging(string value);
|
|
partial void OnTransferDetailIDChanged();
|
|
partial void OnExtensionIDChanging(string value);
|
|
partial void OnExtensionIDChanged();
|
|
partial void OnMUSERChanging(string value);
|
|
partial void OnMUSERChanged();
|
|
partial void OnMUSERNameChanging(string value);
|
|
partial void OnMUSERNameChanged();
|
|
partial void OnMTIMEChanging(System.DateTime value);
|
|
partial void OnMTIMEChanged();
|
|
partial void OnWorkPointChanging(string value);
|
|
partial void OnWorkPointChanged();
|
|
partial void OnEATTRIBUTE1Changing(string value);
|
|
partial void OnEATTRIBUTE1Changed();
|
|
#endregion
|
|
|
|
public ICSOtherIn()
|
|
{
|
|
OnCreated();
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return this._ID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ID != value))
|
|
{
|
|
this.OnIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ID = value;
|
|
this.SendPropertyChanged("ID");
|
|
this.OnIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InCode
|
|
{
|
|
get
|
|
{
|
|
return this._InCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InCode != value))
|
|
{
|
|
this.OnInCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InCode = value;
|
|
this.SendPropertyChanged("InCode");
|
|
this.OnInCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WHCode
|
|
{
|
|
get
|
|
{
|
|
return this._WHCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WHCode != value))
|
|
{
|
|
this.OnWHCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WHCode = value;
|
|
this.SendPropertyChanged("WHCode");
|
|
this.OnWHCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string Sequence
|
|
{
|
|
get
|
|
{
|
|
return this._Sequence;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Sequence != value))
|
|
{
|
|
this.OnSequenceChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Sequence = value;
|
|
this.SendPropertyChanged("Sequence");
|
|
this.OnSequenceChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InvCode
|
|
{
|
|
get
|
|
{
|
|
return this._InvCode;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InvCode != value))
|
|
{
|
|
this.OnInvCodeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InvCode = value;
|
|
this.SendPropertyChanged("InvCode");
|
|
this.OnInvCodeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
|
|
public decimal Quantity
|
|
{
|
|
get
|
|
{
|
|
return this._Quantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Quantity != value))
|
|
{
|
|
this.OnQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Quantity = value;
|
|
this.SendPropertyChanged("Quantity");
|
|
this.OnQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
|
|
public System.Nullable<decimal> Amount
|
|
{
|
|
get
|
|
{
|
|
return this._Amount;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Amount != value))
|
|
{
|
|
this.OnAmountChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Amount = value;
|
|
this.SendPropertyChanged("Amount");
|
|
this.OnAmountChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InQuantity", DbType="Decimal(18,2)")]
|
|
public System.Nullable<decimal> InQuantity
|
|
{
|
|
get
|
|
{
|
|
return this._InQuantity;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InQuantity != value))
|
|
{
|
|
this.OnInQuantityChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InQuantity = value;
|
|
this.SendPropertyChanged("InQuantity");
|
|
this.OnInQuantityChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
|
|
public string Status
|
|
{
|
|
get
|
|
{
|
|
return this._Status;
|
|
}
|
|
set
|
|
{
|
|
if ((this._Status != value))
|
|
{
|
|
this.OnStatusChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._Status = value;
|
|
this.SendPropertyChanged("Status");
|
|
this.OnStatusChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string CreatePerson
|
|
{
|
|
get
|
|
{
|
|
return this._CreatePerson;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreatePerson != value))
|
|
{
|
|
this.OnCreatePersonChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreatePerson = value;
|
|
this.SendPropertyChanged("CreatePerson");
|
|
this.OnCreatePersonChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
|
|
public System.DateTime CreateDateTime
|
|
{
|
|
get
|
|
{
|
|
return this._CreateDateTime;
|
|
}
|
|
set
|
|
{
|
|
if ((this._CreateDateTime != value))
|
|
{
|
|
this.OnCreateDateTimeChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._CreateDateTime = value;
|
|
this.SendPropertyChanged("CreateDateTime");
|
|
this.OnCreateDateTimeChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InID
|
|
{
|
|
get
|
|
{
|
|
return this._InID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InID != value))
|
|
{
|
|
this.OnInIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InID = value;
|
|
this.SendPropertyChanged("InID");
|
|
this.OnInIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string InDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._InDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._InDetailID != value))
|
|
{
|
|
this.OnInDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._InDetailID = value;
|
|
this.SendPropertyChanged("InDetailID");
|
|
this.OnInDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
|
|
public string TransferID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferID != value))
|
|
{
|
|
this.OnTransferIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferID = value;
|
|
this.SendPropertyChanged("TransferID");
|
|
this.OnTransferIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
|
|
public string TransferDetailID
|
|
{
|
|
get
|
|
{
|
|
return this._TransferDetailID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._TransferDetailID != value))
|
|
{
|
|
this.OnTransferDetailIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._TransferDetailID = value;
|
|
this.SendPropertyChanged("TransferDetailID");
|
|
this.OnTransferDetailIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string ExtensionID
|
|
{
|
|
get
|
|
{
|
|
return this._ExtensionID;
|
|
}
|
|
set
|
|
{
|
|
if ((this._ExtensionID != value))
|
|
{
|
|
this.OnExtensionIDChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._ExtensionID = value;
|
|
this.SendPropertyChanged("ExtensionID");
|
|
this.OnExtensionIDChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSER
|
|
{
|
|
get
|
|
{
|
|
return this._MUSER;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSER != value))
|
|
{
|
|
this.OnMUSERChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSER = value;
|
|
this.SendPropertyChanged("MUSER");
|
|
this.OnMUSERChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string MUSERName
|
|
{
|
|
get
|
|
{
|
|
return this._MUSERName;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MUSERName != value))
|
|
{
|
|
this.OnMUSERNameChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MUSERName = value;
|
|
this.SendPropertyChanged("MUSERName");
|
|
this.OnMUSERNameChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
|
|
public System.DateTime MTIME
|
|
{
|
|
get
|
|
{
|
|
return this._MTIME;
|
|
}
|
|
set
|
|
{
|
|
if ((this._MTIME != value))
|
|
{
|
|
this.OnMTIMEChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._MTIME = value;
|
|
this.SendPropertyChanged("MTIME");
|
|
this.OnMTIMEChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
|
public string WorkPoint
|
|
{
|
|
get
|
|
{
|
|
return this._WorkPoint;
|
|
}
|
|
set
|
|
{
|
|
if ((this._WorkPoint != value))
|
|
{
|
|
this.OnWorkPointChanging(value);
|
|
this.SendPropertyChanging();
|
|
this._WorkPoint = value;
|
|
this.SendPropertyChanged("WorkPoint");
|
|
this.OnWorkPointChanged();
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
|
|
public string EATTRIBUTE1
|
|
{
|
|
get
|
|
{
|
|
return this._EATTRIBUTE1;
|
|
}
|
|
set
|
|
{
|
|
if ((this._EATTRIBUTE1 != value))
|
|
{
|
|
this.OnEATTRIBUTE1Changing(value);
|
|
this.SendPropertyChanging();
|
|
this._EATTRIBUTE1 = value;
|
|
this.SendPropertyChanged("EATTRIBUTE1");
|
|
this.OnEATTRIBUTE1Changed();
|
|
}
|
|
}
|
|
}
|
|
|
|
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));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|