#pragma warning disable 1591 //------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace ICSSoft.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="ICSWMS_BFSys")] public partial class EntityDataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); #region 可扩展性方法定义 partial void OnCreated(); partial void InsertICSStorage(ICSStorage instance); partial void UpdateICSStorage(ICSStorage instance); partial void DeleteICSStorage(ICSStorage instance); partial void InsertICSMO(ICSMO instance); partial void UpdateICSMO(ICSMO instance); partial void DeleteICSMO(ICSMO instance); partial void InsertICSMOBOM(ICSMOBOM instance); partial void UpdateICSMOBOM(ICSMOBOM instance); partial void DeleteICSMOBOM(ICSMOBOM instance); partial void InsertICSERPTime(ICSERPTime instance); partial void UpdateICSERPTime(ICSERPTime instance); partial void DeleteICSERPTime(ICSERPTime instance); partial void InsertICSOP(ICSOP instance); partial void UpdateICSOP(ICSOP instance); partial void DeleteICSOP(ICSOP instance); partial void InsertICSROUTE(ICSROUTE instance); partial void UpdateICSROUTE(ICSROUTE instance); partial void DeleteICSROUTE(ICSROUTE instance); partial void InsertICSROUTE2OP(ICSROUTE2OP instance); partial void UpdateICSROUTE2OP(ICSROUTE2OP instance); partial void DeleteICSROUTE2OP(ICSROUTE2OP instance); partial void InsertICSITEM2ROUTE(ICSITEM2ROUTE instance); partial void UpdateICSITEM2ROUTE(ICSITEM2ROUTE instance); partial void DeleteICSITEM2ROUTE(ICSITEM2ROUTE instance); partial void InsertICSITEMROUTE2OP(ICSITEMROUTE2OP instance); partial void UpdateICSITEMROUTE2OP(ICSITEMROUTE2OP instance); partial void DeleteICSITEMROUTE2OP(ICSITEMROUTE2OP instance); partial void InsertICSDepartment(ICSDepartment instance); partial void UpdateICSDepartment(ICSDepartment instance); partial void DeleteICSDepartment(ICSDepartment instance); partial void InsertICSRdStyle(ICSRdStyle instance); partial void UpdateICSRdStyle(ICSRdStyle instance); partial void DeleteICSRdStyle(ICSRdStyle instance); partial void InsertICSSODispatch(ICSSODispatch instance); partial void UpdateICSSODispatch(ICSSODispatch instance); partial void DeleteICSSODispatch(ICSSODispatch instance); partial void InsertICSTransVouchs(ICSTransVouchs instance); partial void UpdateICSTransVouchs(ICSTransVouchs instance); partial void DeleteICSTransVouchs(ICSTransVouchs instance); partial void InsertICSLOTONWIPCheck(ICSLOTONWIPCheck instance); partial void UpdateICSLOTONWIPCheck(ICSLOTONWIPCheck instance); partial void DeleteICSLOTONWIPCheck(ICSLOTONWIPCheck instance); partial void InsertICSMaterial(ICSMaterial instance); partial void UpdateICSMaterial(ICSMaterial instance); partial void DeleteICSMaterial(ICSMaterial instance); partial void InsertICSPOArrive(ICSPOArrive instance); partial void UpdateICSPOArrive(ICSPOArrive instance); partial void DeleteICSPOArrive(ICSPOArrive instance); partial void InsertICSMaterialPick(ICSMaterialPick instance); partial void UpdateICSMaterialPick(ICSMaterialPick instance); partial void DeleteICSMaterialPick(ICSMaterialPick instance); partial void InsertICSPO_PoMain(ICSPO_PoMain instance); partial void UpdateICSPO_PoMain(ICSPO_PoMain instance); partial void DeleteICSPO_PoMain(ICSPO_PoMain instance); partial void InsertICSINVENTORY(ICSINVENTORY instance); partial void UpdateICSINVENTORY(ICSINVENTORY instance); partial void DeleteICSINVENTORY(ICSINVENTORY instance); #endregion public EntityDataContext() : base(global::ICSSoft.Entity.Properties.Settings.Default.ICSWMS_BFSysConnectionString1, mappingSource) { OnCreated(); } public EntityDataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public EntityDataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public EntityDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public EntityDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public System.Data.Linq.Table ICSStorage { get { return this.GetTable(); } } public System.Data.Linq.Table ICSMO { get { return this.GetTable(); } } public System.Data.Linq.Table ICSMOBOM { get { return this.GetTable(); } } public System.Data.Linq.Table ICSERPTime { get { return this.GetTable(); } } public System.Data.Linq.Table ICSOP { get { return this.GetTable(); } } public System.Data.Linq.Table ICSROUTE { get { return this.GetTable(); } } public System.Data.Linq.Table ICSROUTE2OP { get { return this.GetTable(); } } public System.Data.Linq.Table ICSITEM2ROUTE { get { return this.GetTable(); } } public System.Data.Linq.Table ICSITEMROUTE2OP { get { return this.GetTable(); } } public System.Data.Linq.Table ICSDepartment { get { return this.GetTable(); } } public System.Data.Linq.Table ICSRdStyle { get { return this.GetTable(); } } public System.Data.Linq.Table ICSSODispatch { get { return this.GetTable(); } } public System.Data.Linq.Table ICSTransVouchs { get { return this.GetTable(); } } public System.Data.Linq.Table ICSLOTONWIPCheck { get { return this.GetTable(); } } public System.Data.Linq.Table ICSMaterial { get { return this.GetTable(); } } public System.Data.Linq.Table ICSPOArrive { get { return this.GetTable(); } } public System.Data.Linq.Table ICSMaterialPick { get { return this.GetTable(); } } public System.Data.Linq.Table ICSPO_PoMain { get { return this.GetTable(); } } public System.Data.Linq.Table ICSINVENTORY { get { return this.GetTable(); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSStorage")] public partial class ICSStorage : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _Serial; private string _StorageCode; private string _StorageName; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; private string _WorkPoint; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSerialChanging(string value); partial void OnSerialChanged(); partial void OnStorageCodeChanging(string value); partial void OnStorageCodeChanged(); partial void OnStorageNameChanging(string value); partial void OnStorageNameChanged(); 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 OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); #endregion public ICSStorage() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Serial", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string Serial { get { return this._Serial; } set { if ((this._Serial != value)) { this.OnSerialChanging(value); this.SendPropertyChanging(); this._Serial = value; this.SendPropertyChanged("Serial"); this.OnSerialChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StorageCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string StorageCode { get { return this._StorageCode; } set { if ((this._StorageCode != value)) { this.OnStorageCodeChanging(value); this.SendPropertyChanging(); this._StorageCode = value; this.SendPropertyChanged("StorageCode"); this.OnStorageCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StorageName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] public string StorageName { get { return this._StorageName; } set { if ((this._StorageName != value)) { this.OnStorageNameChanging(value); this.SendPropertyChanging(); this._StorageName = value; this.SendPropertyChanged("StorageName"); this.OnStorageNameChanged(); } } } [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="_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="_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(); } } } 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.ICSMO")] public partial class ICSMO : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _MOCODE; private string _MOMEMO; private string _MOTYPE; private string _MODESC; private string _MOBIOSVER; private string _MOPCBAVER; private decimal _MOPLANQTY; private decimal _MOINPUTQTY; private decimal _MOSCRAPQTY; private decimal _MOACTQTY; private System.DateTime _MOPLANSTARTDATE; private System.DateTime _MOPLANENDDATE; private System.DateTime _MOACTSTARTDATE; private System.DateTime _MOACTENDDATE; private string _FACTORY; private string _CUSCODE; private string _CUSNAME; private string _CUSORDERNO; private string _CUSITEMCODE; private string _ORDERNO; private int _ORDERSEQ; private string _MOUSER; private System.DateTime _MODOWNDATE; private string _MOSTATUS; private string _MOVER; private string _ISCONINPUT; private string _ISBOMPASS; private decimal _IDMERGERULE; private string _WorkPoint; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; private string _ITEMCODE; private System.Nullable _MORELEASETIME; private string _MOPENDINGCAUSE; private System.Nullable _MOIMPORTTIME; private System.Nullable _OFFMOQTY; private System.Nullable _ISCOMPARESOFT; private string _RMABILLCODE; private string _MOSEQ; private string _REMOCODE; private string _REMOITEMCODE; private string _REMOITEMDESC; private string _REMOLOTNO; private string _REMOENABLED; private string _MOBOM; private string _MOOP; private string _ITEMDESC; private System.Nullable _MOPLANENDTIME; private string _MOPLANLINE; private string _BackflushStorage; private string _WarningStopLine; private string _MORemark; private string _EATTRIBUTE2; private string _EATTRIBUTE3; private string _EATTRIBUTE4; #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 OnMOCODEChanging(string value); partial void OnMOCODEChanged(); partial void OnMOMEMOChanging(string value); partial void OnMOMEMOChanged(); partial void OnMOTYPEChanging(string value); partial void OnMOTYPEChanged(); partial void OnMODESCChanging(string value); partial void OnMODESCChanged(); partial void OnMOBIOSVERChanging(string value); partial void OnMOBIOSVERChanged(); partial void OnMOPCBAVERChanging(string value); partial void OnMOPCBAVERChanged(); partial void OnMOPLANQTYChanging(decimal value); partial void OnMOPLANQTYChanged(); partial void OnMOINPUTQTYChanging(decimal value); partial void OnMOINPUTQTYChanged(); partial void OnMOSCRAPQTYChanging(decimal value); partial void OnMOSCRAPQTYChanged(); partial void OnMOACTQTYChanging(decimal value); partial void OnMOACTQTYChanged(); partial void OnMOPLANSTARTDATEChanging(System.DateTime value); partial void OnMOPLANSTARTDATEChanged(); partial void OnMOPLANENDDATEChanging(System.DateTime value); partial void OnMOPLANENDDATEChanged(); partial void OnMOACTSTARTDATEChanging(System.DateTime value); partial void OnMOACTSTARTDATEChanged(); partial void OnMOACTENDDATEChanging(System.DateTime value); partial void OnMOACTENDDATEChanged(); partial void OnFACTORYChanging(string value); partial void OnFACTORYChanged(); partial void OnCUSCODEChanging(string value); partial void OnCUSCODEChanged(); partial void OnCUSNAMEChanging(string value); partial void OnCUSNAMEChanged(); partial void OnCUSORDERNOChanging(string value); partial void OnCUSORDERNOChanged(); partial void OnCUSITEMCODEChanging(string value); partial void OnCUSITEMCODEChanged(); partial void OnORDERNOChanging(string value); partial void OnORDERNOChanged(); partial void OnORDERSEQChanging(int value); partial void OnORDERSEQChanged(); partial void OnMOUSERChanging(string value); partial void OnMOUSERChanged(); partial void OnMODOWNDATEChanging(System.DateTime value); partial void OnMODOWNDATEChanged(); partial void OnMOSTATUSChanging(string value); partial void OnMOSTATUSChanged(); partial void OnMOVERChanging(string value); partial void OnMOVERChanged(); partial void OnISCONINPUTChanging(string value); partial void OnISCONINPUTChanged(); partial void OnISBOMPASSChanging(string value); partial void OnISBOMPASSChanged(); partial void OnIDMERGERULEChanging(decimal value); partial void OnIDMERGERULEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); 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 OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); partial void OnITEMCODEChanging(string value); partial void OnITEMCODEChanged(); partial void OnMORELEASETIMEChanging(System.Nullable value); partial void OnMORELEASETIMEChanged(); partial void OnMOPENDINGCAUSEChanging(string value); partial void OnMOPENDINGCAUSEChanged(); partial void OnMOIMPORTTIMEChanging(System.Nullable value); partial void OnMOIMPORTTIMEChanged(); partial void OnOFFMOQTYChanging(System.Nullable value); partial void OnOFFMOQTYChanged(); partial void OnISCOMPARESOFTChanging(System.Nullable value); partial void OnISCOMPARESOFTChanged(); partial void OnRMABILLCODEChanging(string value); partial void OnRMABILLCODEChanged(); partial void OnMOSEQChanging(string value); partial void OnMOSEQChanged(); partial void OnREMOCODEChanging(string value); partial void OnREMOCODEChanged(); partial void OnREMOITEMCODEChanging(string value); partial void OnREMOITEMCODEChanged(); partial void OnREMOITEMDESCChanging(string value); partial void OnREMOITEMDESCChanged(); partial void OnREMOLOTNOChanging(string value); partial void OnREMOLOTNOChanged(); partial void OnREMOENABLEDChanging(string value); partial void OnREMOENABLEDChanged(); partial void OnMOBOMChanging(string value); partial void OnMOBOMChanged(); partial void OnMOOPChanging(string value); partial void OnMOOPChanged(); partial void OnITEMDESCChanging(string value); partial void OnITEMDESCChanged(); partial void OnMOPLANENDTIMEChanging(System.Nullable value); partial void OnMOPLANENDTIMEChanged(); partial void OnMOPLANLINEChanging(string value); partial void OnMOPLANLINEChanged(); partial void OnBackflushStorageChanging(string value); partial void OnBackflushStorageChanged(); partial void OnWarningStopLineChanging(string value); partial void OnWarningStopLineChanged(); partial void OnMORemarkChanging(string value); partial void OnMORemarkChanged(); partial void OnEATTRIBUTE2Changing(string value); partial void OnEATTRIBUTE2Changed(); partial void OnEATTRIBUTE3Changing(string value); partial void OnEATTRIBUTE3Changed(); partial void OnEATTRIBUTE4Changing(string value); partial void OnEATTRIBUTE4Changed(); #endregion public ICSMO() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="VarChar(40) 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="_MOCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string MOCODE { get { return this._MOCODE; } set { if ((this._MOCODE != value)) { this.OnMOCODEChanging(value); this.SendPropertyChanging(); this._MOCODE = value; this.SendPropertyChanged("MOCODE"); this.OnMOCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOMEMO", DbType="VarChar(100)")] public string MOMEMO { get { return this._MOMEMO; } set { if ((this._MOMEMO != value)) { this.OnMOMEMOChanging(value); this.SendPropertyChanging(); this._MOMEMO = value; this.SendPropertyChanged("MOMEMO"); this.OnMOMEMOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOTYPE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string MOTYPE { get { return this._MOTYPE; } set { if ((this._MOTYPE != value)) { this.OnMOTYPEChanging(value); this.SendPropertyChanging(); this._MOTYPE = value; this.SendPropertyChanged("MOTYPE"); this.OnMOTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MODESC", DbType="VarChar(100)")] public string MODESC { get { return this._MODESC; } set { if ((this._MODESC != value)) { this.OnMODESCChanging(value); this.SendPropertyChanging(); this._MODESC = value; this.SendPropertyChanged("MODESC"); this.OnMODESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBIOSVER", DbType="VarChar(40)")] public string MOBIOSVER { get { return this._MOBIOSVER; } set { if ((this._MOBIOSVER != value)) { this.OnMOBIOSVERChanging(value); this.SendPropertyChanging(); this._MOBIOSVER = value; this.SendPropertyChanged("MOBIOSVER"); this.OnMOBIOSVERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPCBAVER", DbType="VarChar(40)")] public string MOPCBAVER { get { return this._MOPCBAVER; } set { if ((this._MOPCBAVER != value)) { this.OnMOPCBAVERChanging(value); this.SendPropertyChanging(); this._MOPCBAVER = value; this.SendPropertyChanged("MOPCBAVER"); this.OnMOPCBAVERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPLANQTY", DbType="Decimal(18,2) NOT NULL")] public decimal MOPLANQTY { get { return this._MOPLANQTY; } set { if ((this._MOPLANQTY != value)) { this.OnMOPLANQTYChanging(value); this.SendPropertyChanging(); this._MOPLANQTY = value; this.SendPropertyChanged("MOPLANQTY"); this.OnMOPLANQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOINPUTQTY", DbType="Decimal(18,2) NOT NULL")] public decimal MOINPUTQTY { get { return this._MOINPUTQTY; } set { if ((this._MOINPUTQTY != value)) { this.OnMOINPUTQTYChanging(value); this.SendPropertyChanging(); this._MOINPUTQTY = value; this.SendPropertyChanged("MOINPUTQTY"); this.OnMOINPUTQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOSCRAPQTY", DbType="Decimal(18,2) NOT NULL")] public decimal MOSCRAPQTY { get { return this._MOSCRAPQTY; } set { if ((this._MOSCRAPQTY != value)) { this.OnMOSCRAPQTYChanging(value); this.SendPropertyChanging(); this._MOSCRAPQTY = value; this.SendPropertyChanged("MOSCRAPQTY"); this.OnMOSCRAPQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOACTQTY", DbType="Decimal(18,2) NOT NULL")] public decimal MOACTQTY { get { return this._MOACTQTY; } set { if ((this._MOACTQTY != value)) { this.OnMOACTQTYChanging(value); this.SendPropertyChanging(); this._MOACTQTY = value; this.SendPropertyChanged("MOACTQTY"); this.OnMOACTQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPLANSTARTDATE", DbType="DateTime NOT NULL")] public System.DateTime MOPLANSTARTDATE { get { return this._MOPLANSTARTDATE; } set { if ((this._MOPLANSTARTDATE != value)) { this.OnMOPLANSTARTDATEChanging(value); this.SendPropertyChanging(); this._MOPLANSTARTDATE = value; this.SendPropertyChanged("MOPLANSTARTDATE"); this.OnMOPLANSTARTDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPLANENDDATE", DbType="DateTime NOT NULL")] public System.DateTime MOPLANENDDATE { get { return this._MOPLANENDDATE; } set { if ((this._MOPLANENDDATE != value)) { this.OnMOPLANENDDATEChanging(value); this.SendPropertyChanging(); this._MOPLANENDDATE = value; this.SendPropertyChanged("MOPLANENDDATE"); this.OnMOPLANENDDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOACTSTARTDATE", DbType="DateTime NOT NULL")] public System.DateTime MOACTSTARTDATE { get { return this._MOACTSTARTDATE; } set { if ((this._MOACTSTARTDATE != value)) { this.OnMOACTSTARTDATEChanging(value); this.SendPropertyChanging(); this._MOACTSTARTDATE = value; this.SendPropertyChanged("MOACTSTARTDATE"); this.OnMOACTSTARTDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOACTENDDATE", DbType="DateTime NOT NULL")] public System.DateTime MOACTENDDATE { get { return this._MOACTENDDATE; } set { if ((this._MOACTENDDATE != value)) { this.OnMOACTENDDATEChanging(value); this.SendPropertyChanging(); this._MOACTENDDATE = value; this.SendPropertyChanged("MOACTENDDATE"); this.OnMOACTENDDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FACTORY", DbType="VarChar(40)")] public string FACTORY { get { return this._FACTORY; } set { if ((this._FACTORY != value)) { this.OnFACTORYChanging(value); this.SendPropertyChanging(); this._FACTORY = value; this.SendPropertyChanged("FACTORY"); this.OnFACTORYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CUSCODE", DbType="VarChar(40)")] 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="VarChar(100)")] 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="_CUSORDERNO", DbType="VarChar(40)")] public string CUSORDERNO { get { return this._CUSORDERNO; } set { if ((this._CUSORDERNO != value)) { this.OnCUSORDERNOChanging(value); this.SendPropertyChanging(); this._CUSORDERNO = value; this.SendPropertyChanged("CUSORDERNO"); this.OnCUSORDERNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CUSITEMCODE", DbType="VarChar(40)")] public string CUSITEMCODE { get { return this._CUSITEMCODE; } set { if ((this._CUSITEMCODE != value)) { this.OnCUSITEMCODEChanging(value); this.SendPropertyChanging(); this._CUSITEMCODE = value; this.SendPropertyChanged("CUSITEMCODE"); this.OnCUSITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ORDERNO", DbType="VarChar(40)")] public string ORDERNO { get { return this._ORDERNO; } set { if ((this._ORDERNO != value)) { this.OnORDERNOChanging(value); this.SendPropertyChanging(); this._ORDERNO = value; this.SendPropertyChanged("ORDERNO"); this.OnORDERNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ORDERSEQ", DbType="Int NOT NULL")] public int ORDERSEQ { get { return this._ORDERSEQ; } set { if ((this._ORDERSEQ != value)) { this.OnORDERSEQChanging(value); this.SendPropertyChanging(); this._ORDERSEQ = value; this.SendPropertyChanged("ORDERSEQ"); this.OnORDERSEQChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOUSER", DbType="VarChar(40)")] public string MOUSER { get { return this._MOUSER; } set { if ((this._MOUSER != value)) { this.OnMOUSERChanging(value); this.SendPropertyChanging(); this._MOUSER = value; this.SendPropertyChanged("MOUSER"); this.OnMOUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MODOWNDATE", DbType="DateTime NOT NULL")] public System.DateTime MODOWNDATE { get { return this._MODOWNDATE; } set { if ((this._MODOWNDATE != value)) { this.OnMODOWNDATEChanging(value); this.SendPropertyChanging(); this._MODOWNDATE = value; this.SendPropertyChanged("MODOWNDATE"); this.OnMODOWNDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOSTATUS", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string MOSTATUS { get { return this._MOSTATUS; } set { if ((this._MOSTATUS != value)) { this.OnMOSTATUSChanging(value); this.SendPropertyChanging(); this._MOSTATUS = value; this.SendPropertyChanged("MOSTATUS"); this.OnMOSTATUSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOVER", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string MOVER { get { return this._MOVER; } set { if ((this._MOVER != value)) { this.OnMOVERChanging(value); this.SendPropertyChanging(); this._MOVER = value; this.SendPropertyChanged("MOVER"); this.OnMOVERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISCONINPUT", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ISCONINPUT { get { return this._ISCONINPUT; } set { if ((this._ISCONINPUT != value)) { this.OnISCONINPUTChanging(value); this.SendPropertyChanging(); this._ISCONINPUT = value; this.SendPropertyChanged("ISCONINPUT"); this.OnISCONINPUTChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISBOMPASS", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ISBOMPASS { get { return this._ISBOMPASS; } set { if ((this._ISBOMPASS != value)) { this.OnISBOMPASSChanging(value); this.SendPropertyChanging(); this._ISBOMPASS = value; this.SendPropertyChanged("ISBOMPASS"); this.OnISBOMPASSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IDMERGERULE", DbType="Decimal(18,2) NOT NULL")] public decimal IDMERGERULE { get { return this._IDMERGERULE; } set { if ((this._IDMERGERULE != value)) { this.OnIDMERGERULEChanging(value); this.SendPropertyChanging(); this._IDMERGERULE = value; this.SendPropertyChanged("IDMERGERULE"); this.OnIDMERGERULEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(40) 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="_MUSER", DbType="NVarChar(40) 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="VarChar(40) 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="_EATTRIBUTE1", DbType="VarChar(40)")] 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="_ITEMCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ITEMCODE { get { return this._ITEMCODE; } set { if ((this._ITEMCODE != value)) { this.OnITEMCODEChanging(value); this.SendPropertyChanging(); this._ITEMCODE = value; this.SendPropertyChanged("ITEMCODE"); this.OnITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MORELEASETIME", DbType="DateTime")] public System.Nullable MORELEASETIME { get { return this._MORELEASETIME; } set { if ((this._MORELEASETIME != value)) { this.OnMORELEASETIMEChanging(value); this.SendPropertyChanging(); this._MORELEASETIME = value; this.SendPropertyChanged("MORELEASETIME"); this.OnMORELEASETIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPENDINGCAUSE", DbType="NVarChar(100)")] public string MOPENDINGCAUSE { get { return this._MOPENDINGCAUSE; } set { if ((this._MOPENDINGCAUSE != value)) { this.OnMOPENDINGCAUSEChanging(value); this.SendPropertyChanging(); this._MOPENDINGCAUSE = value; this.SendPropertyChanged("MOPENDINGCAUSE"); this.OnMOPENDINGCAUSEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOIMPORTTIME", DbType="DateTime")] public System.Nullable MOIMPORTTIME { get { return this._MOIMPORTTIME; } set { if ((this._MOIMPORTTIME != value)) { this.OnMOIMPORTTIMEChanging(value); this.SendPropertyChanging(); this._MOIMPORTTIME = value; this.SendPropertyChanged("MOIMPORTTIME"); this.OnMOIMPORTTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OFFMOQTY", DbType="Decimal(18,2)")] public System.Nullable OFFMOQTY { get { return this._OFFMOQTY; } set { if ((this._OFFMOQTY != value)) { this.OnOFFMOQTYChanging(value); this.SendPropertyChanging(); this._OFFMOQTY = value; this.SendPropertyChanged("OFFMOQTY"); this.OnOFFMOQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISCOMPARESOFT", DbType="Int")] public System.Nullable ISCOMPARESOFT { get { return this._ISCOMPARESOFT; } set { if ((this._ISCOMPARESOFT != value)) { this.OnISCOMPARESOFTChanging(value); this.SendPropertyChanging(); this._ISCOMPARESOFT = value; this.SendPropertyChanged("ISCOMPARESOFT"); this.OnISCOMPARESOFTChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMABILLCODE", DbType="VarChar(40)")] public string RMABILLCODE { get { return this._RMABILLCODE; } set { if ((this._RMABILLCODE != value)) { this.OnRMABILLCODEChanging(value); this.SendPropertyChanging(); this._RMABILLCODE = value; this.SendPropertyChanged("RMABILLCODE"); this.OnRMABILLCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOSEQ", DbType="VarChar(40)")] public string MOSEQ { get { return this._MOSEQ; } set { if ((this._MOSEQ != value)) { this.OnMOSEQChanging(value); this.SendPropertyChanging(); this._MOSEQ = value; this.SendPropertyChanged("MOSEQ"); this.OnMOSEQChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_REMOCODE", DbType="VarChar(40)")] public string REMOCODE { get { return this._REMOCODE; } set { if ((this._REMOCODE != value)) { this.OnREMOCODEChanging(value); this.SendPropertyChanging(); this._REMOCODE = value; this.SendPropertyChanged("REMOCODE"); this.OnREMOCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_REMOITEMCODE", DbType="VarChar(40)")] public string REMOITEMCODE { get { return this._REMOITEMCODE; } set { if ((this._REMOITEMCODE != value)) { this.OnREMOITEMCODEChanging(value); this.SendPropertyChanging(); this._REMOITEMCODE = value; this.SendPropertyChanged("REMOITEMCODE"); this.OnREMOITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_REMOITEMDESC", DbType="VarChar(200)")] public string REMOITEMDESC { get { return this._REMOITEMDESC; } set { if ((this._REMOITEMDESC != value)) { this.OnREMOITEMDESCChanging(value); this.SendPropertyChanging(); this._REMOITEMDESC = value; this.SendPropertyChanged("REMOITEMDESC"); this.OnREMOITEMDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_REMOLOTNO", DbType="VarChar(40)")] public string REMOLOTNO { get { return this._REMOLOTNO; } set { if ((this._REMOLOTNO != value)) { this.OnREMOLOTNOChanging(value); this.SendPropertyChanging(); this._REMOLOTNO = value; this.SendPropertyChanged("REMOLOTNO"); this.OnREMOLOTNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_REMOENABLED", DbType="VarChar(40)")] public string REMOENABLED { get { return this._REMOENABLED; } set { if ((this._REMOENABLED != value)) { this.OnREMOENABLEDChanging(value); this.SendPropertyChanging(); this._REMOENABLED = value; this.SendPropertyChanged("REMOENABLED"); this.OnREMOENABLEDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBOM", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string MOBOM { get { return this._MOBOM; } set { if ((this._MOBOM != value)) { this.OnMOBOMChanging(value); this.SendPropertyChanging(); this._MOBOM = value; this.SendPropertyChanged("MOBOM"); this.OnMOBOMChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOOP", DbType="VarChar(40)")] public string MOOP { get { return this._MOOP; } set { if ((this._MOOP != value)) { this.OnMOOPChanging(value); this.SendPropertyChanging(); this._MOOP = value; this.SendPropertyChanged("MOOP"); this.OnMOOPChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMDESC", DbType="VarChar(200)")] public string ITEMDESC { get { return this._ITEMDESC; } set { if ((this._ITEMDESC != value)) { this.OnITEMDESCChanging(value); this.SendPropertyChanging(); this._ITEMDESC = value; this.SendPropertyChanged("ITEMDESC"); this.OnITEMDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPLANENDTIME", DbType="DateTime")] public System.Nullable MOPLANENDTIME { get { return this._MOPLANENDTIME; } set { if ((this._MOPLANENDTIME != value)) { this.OnMOPLANENDTIMEChanging(value); this.SendPropertyChanging(); this._MOPLANENDTIME = value; this.SendPropertyChanged("MOPLANENDTIME"); this.OnMOPLANENDTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOPLANLINE", DbType="VarChar(40)")] public string MOPLANLINE { get { return this._MOPLANLINE; } set { if ((this._MOPLANLINE != value)) { this.OnMOPLANLINEChanging(value); this.SendPropertyChanging(); this._MOPLANLINE = value; this.SendPropertyChanged("MOPLANLINE"); this.OnMOPLANLINEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackflushStorage", DbType="VarChar(200)")] public string BackflushStorage { get { return this._BackflushStorage; } set { if ((this._BackflushStorage != value)) { this.OnBackflushStorageChanging(value); this.SendPropertyChanging(); this._BackflushStorage = value; this.SendPropertyChanged("BackflushStorage"); this.OnBackflushStorageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarningStopLine", DbType="VarChar(200)")] public string WarningStopLine { get { return this._WarningStopLine; } set { if ((this._WarningStopLine != value)) { this.OnWarningStopLineChanging(value); this.SendPropertyChanging(); this._WarningStopLine = value; this.SendPropertyChanged("WarningStopLine"); this.OnWarningStopLineChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MORemark", DbType="VarChar(500) NOT NULL", CanBeNull=false)] public string MORemark { get { return this._MORemark; } set { if ((this._MORemark != value)) { this.OnMORemarkChanging(value); this.SendPropertyChanging(); this._MORemark = value; this.SendPropertyChanged("MORemark"); this.OnMORemarkChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="VarChar(200)")] 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="VarChar(200)")] 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="VarChar(200)")] 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(); } } } 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.ICSMOBOM")] public partial class ICSMOBOM : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _MOCODE; private string _ITEMCODE; private int _SEQ; private string _MOBITEMCODE; private string _MOBITEMECN; private string _MOBITEMNAME; private string _MOBITEMDESC; private string _MOBITEMSTATUS; private string _MOBITEMLOCATION; private System.DateTime _MOBITEMEFFTIME; private System.DateTime _MOBITEMINVTIME; private System.Nullable _MOBITEMQTY; private string _MOBSITEMCODE; private string _MOBITEMVER; private string _MOBITEMCONTYPE; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _MOBOMITEMUOM; private string _OPCODE; private string _MOBOM; private string _MOBOMLINE; private string _MOFAC; private string _MORESOURCE; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnMOCODEChanging(string value); partial void OnMOCODEChanged(); partial void OnITEMCODEChanging(string value); partial void OnITEMCODEChanged(); partial void OnSEQChanging(int value); partial void OnSEQChanged(); partial void OnMOBITEMCODEChanging(string value); partial void OnMOBITEMCODEChanged(); partial void OnMOBITEMECNChanging(string value); partial void OnMOBITEMECNChanged(); partial void OnMOBITEMNAMEChanging(string value); partial void OnMOBITEMNAMEChanged(); partial void OnMOBITEMDESCChanging(string value); partial void OnMOBITEMDESCChanged(); partial void OnMOBITEMSTATUSChanging(string value); partial void OnMOBITEMSTATUSChanged(); partial void OnMOBITEMLOCATIONChanging(string value); partial void OnMOBITEMLOCATIONChanged(); partial void OnMOBITEMEFFTIMEChanging(System.DateTime value); partial void OnMOBITEMEFFTIMEChanged(); partial void OnMOBITEMINVTIMEChanging(System.DateTime value); partial void OnMOBITEMINVTIMEChanged(); partial void OnMOBITEMQTYChanging(System.Nullable value); partial void OnMOBITEMQTYChanged(); partial void OnMOBSITEMCODEChanging(string value); partial void OnMOBSITEMCODEChanged(); partial void OnMOBITEMVERChanging(string value); partial void OnMOBITEMVERChanged(); partial void OnMOBITEMCONTYPEChanging(string value); partial void OnMOBITEMCONTYPEChanged(); 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 OnMOBOMITEMUOMChanging(string value); partial void OnMOBOMITEMUOMChanged(); partial void OnOPCODEChanging(string value); partial void OnOPCODEChanged(); partial void OnMOBOMChanging(string value); partial void OnMOBOMChanged(); partial void OnMOBOMLINEChanging(string value); partial void OnMOBOMLINEChanged(); partial void OnMOFACChanging(string value); partial void OnMOFACChanged(); partial void OnMORESOURCEChanging(string value); partial void OnMORESOURCEChanged(); #endregion public ICSMOBOM() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOCODE", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string MOCODE { get { return this._MOCODE; } set { if ((this._MOCODE != value)) { this.OnMOCODEChanging(value); this.SendPropertyChanging(); this._MOCODE = value; this.SendPropertyChanged("MOCODE"); this.OnMOCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMCODE", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string ITEMCODE { get { return this._ITEMCODE; } set { if ((this._ITEMCODE != value)) { this.OnITEMCODEChanging(value); this.SendPropertyChanging(); this._ITEMCODE = value; this.SendPropertyChanged("ITEMCODE"); this.OnITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SEQ", DbType="Int NOT NULL")] public int SEQ { get { return this._SEQ; } set { if ((this._SEQ != value)) { this.OnSEQChanging(value); this.SendPropertyChanging(); this._SEQ = value; this.SendPropertyChanged("SEQ"); this.OnSEQChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMCODE", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string MOBITEMCODE { get { return this._MOBITEMCODE; } set { if ((this._MOBITEMCODE != value)) { this.OnMOBITEMCODEChanging(value); this.SendPropertyChanging(); this._MOBITEMCODE = value; this.SendPropertyChanged("MOBITEMCODE"); this.OnMOBITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMECN", DbType="NVarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string MOBITEMECN { get { return this._MOBITEMECN; } set { if ((this._MOBITEMECN != value)) { this.OnMOBITEMECNChanging(value); this.SendPropertyChanging(); this._MOBITEMECN = value; this.SendPropertyChanged("MOBITEMECN"); this.OnMOBITEMECNChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMNAME", DbType="NVarChar(200)")] public string MOBITEMNAME { get { return this._MOBITEMNAME; } set { if ((this._MOBITEMNAME != value)) { this.OnMOBITEMNAMEChanging(value); this.SendPropertyChanging(); this._MOBITEMNAME = value; this.SendPropertyChanged("MOBITEMNAME"); this.OnMOBITEMNAMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMDESC", DbType="NVarChar(200)")] public string MOBITEMDESC { get { return this._MOBITEMDESC; } set { if ((this._MOBITEMDESC != value)) { this.OnMOBITEMDESCChanging(value); this.SendPropertyChanging(); this._MOBITEMDESC = value; this.SendPropertyChanged("MOBITEMDESC"); this.OnMOBITEMDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMSTATUS", DbType="NVarChar(1) NOT NULL", CanBeNull=false)] public string MOBITEMSTATUS { get { return this._MOBITEMSTATUS; } set { if ((this._MOBITEMSTATUS != value)) { this.OnMOBITEMSTATUSChanging(value); this.SendPropertyChanging(); this._MOBITEMSTATUS = value; this.SendPropertyChanged("MOBITEMSTATUS"); this.OnMOBITEMSTATUSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMLOCATION", DbType="NVarChar(100)")] public string MOBITEMLOCATION { get { return this._MOBITEMLOCATION; } set { if ((this._MOBITEMLOCATION != value)) { this.OnMOBITEMLOCATIONChanging(value); this.SendPropertyChanging(); this._MOBITEMLOCATION = value; this.SendPropertyChanged("MOBITEMLOCATION"); this.OnMOBITEMLOCATIONChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMEFFTIME", DbType="DateTime NOT NULL")] public System.DateTime MOBITEMEFFTIME { get { return this._MOBITEMEFFTIME; } set { if ((this._MOBITEMEFFTIME != value)) { this.OnMOBITEMEFFTIMEChanging(value); this.SendPropertyChanging(); this._MOBITEMEFFTIME = value; this.SendPropertyChanged("MOBITEMEFFTIME"); this.OnMOBITEMEFFTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMINVTIME", DbType="DateTime NOT NULL")] public System.DateTime MOBITEMINVTIME { get { return this._MOBITEMINVTIME; } set { if ((this._MOBITEMINVTIME != value)) { this.OnMOBITEMINVTIMEChanging(value); this.SendPropertyChanging(); this._MOBITEMINVTIME = value; this.SendPropertyChanged("MOBITEMINVTIME"); this.OnMOBITEMINVTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMQTY", DbType="Decimal(18,6)")] public System.Nullable MOBITEMQTY { get { return this._MOBITEMQTY; } set { if ((this._MOBITEMQTY != value)) { this.OnMOBITEMQTYChanging(value); this.SendPropertyChanging(); this._MOBITEMQTY = value; this.SendPropertyChanged("MOBITEMQTY"); this.OnMOBITEMQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBSITEMCODE", DbType="NVarChar(40)")] public string MOBSITEMCODE { get { return this._MOBSITEMCODE; } set { if ((this._MOBSITEMCODE != value)) { this.OnMOBSITEMCODEChanging(value); this.SendPropertyChanging(); this._MOBSITEMCODE = value; this.SendPropertyChanged("MOBSITEMCODE"); this.OnMOBSITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMVER", DbType="NVarChar(40)")] public string MOBITEMVER { get { return this._MOBITEMVER; } set { if ((this._MOBITEMVER != value)) { this.OnMOBITEMVERChanging(value); this.SendPropertyChanging(); this._MOBITEMVER = value; this.SendPropertyChanged("MOBITEMVER"); this.OnMOBITEMVERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBITEMCONTYPE", DbType="NVarChar(40)")] public string MOBITEMCONTYPE { get { return this._MOBITEMCONTYPE; } set { if ((this._MOBITEMCONTYPE != value)) { this.OnMOBITEMCONTYPEChanging(value); this.SendPropertyChanging(); this._MOBITEMCONTYPE = value; this.SendPropertyChanged("MOBITEMCONTYPE"); this.OnMOBITEMCONTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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="_MOBOMITEMUOM", DbType="NVarChar(20)")] public string MOBOMITEMUOM { get { return this._MOBOMITEMUOM; } set { if ((this._MOBOMITEMUOM != value)) { this.OnMOBOMITEMUOMChanging(value); this.SendPropertyChanging(); this._MOBOMITEMUOM = value; this.SendPropertyChanged("MOBOMITEMUOM"); this.OnMOBOMITEMUOMChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCODE", DbType="NVarChar(40)")] public string OPCODE { get { return this._OPCODE; } set { if ((this._OPCODE != value)) { this.OnOPCODEChanging(value); this.SendPropertyChanging(); this._OPCODE = value; this.SendPropertyChanged("OPCODE"); this.OnOPCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBOM", DbType="NVarChar(40)")] public string MOBOM { get { return this._MOBOM; } set { if ((this._MOBOM != value)) { this.OnMOBOMChanging(value); this.SendPropertyChanging(); this._MOBOM = value; this.SendPropertyChanged("MOBOM"); this.OnMOBOMChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOBOMLINE", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string MOBOMLINE { get { return this._MOBOMLINE; } set { if ((this._MOBOMLINE != value)) { this.OnMOBOMLINEChanging(value); this.SendPropertyChanging(); this._MOBOMLINE = value; this.SendPropertyChanged("MOBOMLINE"); this.OnMOBOMLINEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOFAC", DbType="NVarChar(40)")] public string MOFAC { get { return this._MOFAC; } set { if ((this._MOFAC != value)) { this.OnMOFACChanging(value); this.SendPropertyChanging(); this._MOFAC = value; this.SendPropertyChanged("MOFAC"); this.OnMOFACChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MORESOURCE", DbType="NVarChar(40)")] public string MORESOURCE { get { return this._MORESOURCE; } set { if ((this._MORESOURCE != value)) { this.OnMORESOURCEChanging(value); this.SendPropertyChanging(); this._MORESOURCE = value; this.SendPropertyChanged("MORESOURCE"); this.OnMORESOURCEChanged(); } } } 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.ICSERPTime")] public partial class ICSERPTime : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _ID; private string _Namespace; private string _Class; private System.DateTime _Date; private System.TimeSpan _Time; private System.DateTime _MTIME; private string _WorkPoint; private System.DateTime _DateTime; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(int value); partial void OnIDChanged(); partial void OnNamespaceChanging(string value); partial void OnNamespaceChanged(); partial void OnClassChanging(string value); partial void OnClassChanged(); partial void OnDateChanging(System.DateTime value); partial void OnDateChanged(); partial void OnTimeChanging(System.TimeSpan value); partial void OnTimeChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnDateTimeChanging(System.DateTime value); partial void OnDateTimeChanged(); #endregion public ICSERPTime() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int 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="_Namespace", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Namespace { get { return this._Namespace; } set { if ((this._Namespace != value)) { this.OnNamespaceChanging(value); this.SendPropertyChanging(); this._Namespace = value; this.SendPropertyChanged("Namespace"); this.OnNamespaceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Class", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Class { get { return this._Class; } set { if ((this._Class != value)) { this.OnClassChanging(value); this.SendPropertyChanging(); this._Class = value; this.SendPropertyChanged("Class"); this.OnClassChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="Date NOT NULL")] public System.DateTime Date { get { return this._Date; } set { if ((this._Date != value)) { this.OnDateChanging(value); this.SendPropertyChanging(); this._Date = value; this.SendPropertyChanged("Date"); this.OnDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time", DbType="Time NOT NULL")] public System.TimeSpan Time { get { return this._Time; } set { if ((this._Time != value)) { this.OnTimeChanging(value); this.SendPropertyChanging(); this._Time = value; this.SendPropertyChanged("Time"); this.OnTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_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="_DateTime", DbType="DateTime NOT NULL")] public System.DateTime DateTime { get { return this._DateTime; } set { if ((this._DateTime != value)) { this.OnDateTimeChanging(value); this.SendPropertyChanging(); this._DateTime = value; this.SendPropertyChanged("DateTime"); this.OnDateTimeChanged(); } } } 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.ICSOP")] public partial class ICSOP : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _OPCODE; private string _OPDESC; private string _OPCOLLECTION; private string _OPCONTROL; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _OPNAME; #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 OnOPCODEChanging(string value); partial void OnOPCODEChanged(); partial void OnOPDESCChanging(string value); partial void OnOPDESCChanged(); partial void OnOPCOLLECTIONChanging(string value); partial void OnOPCOLLECTIONChanged(); partial void OnOPCONTROLChanging(string value); partial void OnOPCONTROLChanged(); 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 OnOPNAMEChanging(string value); partial void OnOPNAMEChanged(); #endregion public ICSOP() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="VarChar(40) 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="_OPCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCODE { get { return this._OPCODE; } set { if ((this._OPCODE != value)) { this.OnOPCODEChanging(value); this.SendPropertyChanging(); this._OPCODE = value; this.SendPropertyChanged("OPCODE"); this.OnOPCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPDESC", DbType="VarChar(100)")] public string OPDESC { get { return this._OPDESC; } set { if ((this._OPDESC != value)) { this.OnOPDESCChanging(value); this.SendPropertyChanging(); this._OPDESC = value; this.SendPropertyChanged("OPDESC"); this.OnOPDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCOLLECTION", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCOLLECTION { get { return this._OPCOLLECTION; } set { if ((this._OPCOLLECTION != value)) { this.OnOPCOLLECTIONChanging(value); this.SendPropertyChanging(); this._OPCOLLECTION = value; this.SendPropertyChanged("OPCOLLECTION"); this.OnOPCOLLECTIONChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCONTROL", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCONTROL { get { return this._OPCONTROL; } set { if ((this._OPCONTROL != value)) { this.OnOPCONTROLChanging(value); this.SendPropertyChanging(); this._OPCONTROL = value; this.SendPropertyChanged("OPCONTROL"); this.OnOPCONTROLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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="_OPNAME", DbType="NVarChar(50)")] public string OPNAME { get { return this._OPNAME; } set { if ((this._OPNAME != value)) { this.OnOPNAMEChanging(value); this.SendPropertyChanging(); this._OPNAME = value; this.SendPropertyChanged("OPNAME"); this.OnOPNAMEChanged(); } } } 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.ICSROUTE")] public partial class ICSROUTE : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ROUTECODE; private string _ROUTEDESC; private string _ROUTETYPE; private System.DateTime _EFFDATE; private System.DateTime _IVLDATE; private string _ENABLED; 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 OnROUTECODEChanging(string value); partial void OnROUTECODEChanged(); partial void OnROUTEDESCChanging(string value); partial void OnROUTEDESCChanged(); partial void OnROUTETYPEChanging(string value); partial void OnROUTETYPEChanged(); partial void OnEFFDATEChanging(System.DateTime value); partial void OnEFFDATEChanged(); partial void OnIVLDATEChanging(System.DateTime value); partial void OnIVLDATEChanged(); partial void OnENABLEDChanging(string value); partial void OnENABLEDChanged(); 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 ICSROUTE() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="VarChar(40) 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="_ROUTECODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ROUTECODE { get { return this._ROUTECODE; } set { if ((this._ROUTECODE != value)) { this.OnROUTECODEChanging(value); this.SendPropertyChanging(); this._ROUTECODE = value; this.SendPropertyChanged("ROUTECODE"); this.OnROUTECODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTEDESC", DbType="VarChar(100)")] public string ROUTEDESC { get { return this._ROUTEDESC; } set { if ((this._ROUTEDESC != value)) { this.OnROUTEDESCChanging(value); this.SendPropertyChanging(); this._ROUTEDESC = value; this.SendPropertyChanged("ROUTEDESC"); this.OnROUTEDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTETYPE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ROUTETYPE { get { return this._ROUTETYPE; } set { if ((this._ROUTETYPE != value)) { this.OnROUTETYPEChanging(value); this.SendPropertyChanging(); this._ROUTETYPE = value; this.SendPropertyChanged("ROUTETYPE"); this.OnROUTETYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EFFDATE", DbType="DateTime NOT NULL")] public System.DateTime EFFDATE { get { return this._EFFDATE; } set { if ((this._EFFDATE != value)) { this.OnEFFDATEChanging(value); this.SendPropertyChanging(); this._EFFDATE = value; this.SendPropertyChanged("EFFDATE"); this.OnEFFDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IVLDATE", DbType="DateTime NOT NULL")] public System.DateTime IVLDATE { get { return this._IVLDATE; } set { if ((this._IVLDATE != value)) { this.OnIVLDATEChanging(value); this.SendPropertyChanging(); this._IVLDATE = value; this.SendPropertyChanged("IVLDATE"); this.OnIVLDATEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ENABLED", DbType="VarChar(4)")] public string ENABLED { get { return this._ENABLED; } set { if ((this._ENABLED != value)) { this.OnENABLEDChanging(value); this.SendPropertyChanging(); this._ENABLED = value; this.SendPropertyChanged("ENABLED"); this.OnENABLEDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="VarChar(40) 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="VarChar(40) 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="VarChar(40) 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="VarChar(40)")] 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.ICSROUTE2OP")] public partial class ICSROUTE2OP : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ROUTEID; private string _OPID; private string _ROUTECODE; private string _OPCODE; private int _OPSEQ; private string _OPCONTROL; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WORKPOINT; private string _EATTRIBUTE1; private string _OPMEMO; private string _OPLock; private string _MainResources; private string _ViceResources; private string _ProductionLine; private string _ManufacturingUnit; private string _Factory; private string _SUBProductionLine; private string _SUBManufacturingUnit; private string _DrawingNumber; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnROUTEIDChanging(string value); partial void OnROUTEIDChanged(); partial void OnOPIDChanging(string value); partial void OnOPIDChanged(); partial void OnROUTECODEChanging(string value); partial void OnROUTECODEChanged(); partial void OnOPCODEChanging(string value); partial void OnOPCODEChanged(); partial void OnOPSEQChanging(int value); partial void OnOPSEQChanged(); partial void OnOPCONTROLChanging(string value); partial void OnOPCONTROLChanged(); 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 OnOPMEMOChanging(string value); partial void OnOPMEMOChanged(); partial void OnOPLockChanging(string value); partial void OnOPLockChanged(); partial void OnMainResourcesChanging(string value); partial void OnMainResourcesChanged(); partial void OnViceResourcesChanging(string value); partial void OnViceResourcesChanged(); partial void OnProductionLineChanging(string value); partial void OnProductionLineChanged(); partial void OnManufacturingUnitChanging(string value); partial void OnManufacturingUnitChanged(); partial void OnFactoryChanging(string value); partial void OnFactoryChanged(); partial void OnSUBProductionLineChanging(string value); partial void OnSUBProductionLineChanged(); partial void OnSUBManufacturingUnitChanging(string value); partial void OnSUBManufacturingUnitChanged(); partial void OnDrawingNumberChanging(string value); partial void OnDrawingNumberChanged(); #endregion public ICSROUTE2OP() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTEID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ROUTEID { get { return this._ROUTEID; } set { if ((this._ROUTEID != value)) { this.OnROUTEIDChanging(value); this.SendPropertyChanging(); this._ROUTEID = value; this.SendPropertyChanged("ROUTEID"); this.OnROUTEIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string OPID { get { return this._OPID; } set { if ((this._OPID != value)) { this.OnOPIDChanging(value); this.SendPropertyChanging(); this._OPID = value; this.SendPropertyChanged("OPID"); this.OnOPIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTECODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ROUTECODE { get { return this._ROUTECODE; } set { if ((this._ROUTECODE != value)) { this.OnROUTECODEChanging(value); this.SendPropertyChanging(); this._ROUTECODE = value; this.SendPropertyChanged("ROUTECODE"); this.OnROUTECODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCODE { get { return this._OPCODE; } set { if ((this._OPCODE != value)) { this.OnOPCODEChanging(value); this.SendPropertyChanging(); this._OPCODE = value; this.SendPropertyChanged("OPCODE"); this.OnOPCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPSEQ", DbType="Int NOT NULL")] public int OPSEQ { get { return this._OPSEQ; } set { if ((this._OPSEQ != value)) { this.OnOPSEQChanging(value); this.SendPropertyChanging(); this._OPSEQ = value; this.SendPropertyChanged("OPSEQ"); this.OnOPSEQChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCONTROL", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCONTROL { get { return this._OPCONTROL; } set { if ((this._OPCONTROL != value)) { this.OnOPCONTROLChanging(value); this.SendPropertyChanging(); this._OPCONTROL = value; this.SendPropertyChanged("OPCONTROL"); this.OnOPCONTROLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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="_OPMEMO", DbType="NVarChar(50)")] public string OPMEMO { get { return this._OPMEMO; } set { if ((this._OPMEMO != value)) { this.OnOPMEMOChanging(value); this.SendPropertyChanging(); this._OPMEMO = value; this.SendPropertyChanged("OPMEMO"); this.OnOPMEMOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPLock", DbType="NVarChar(50)")] public string OPLock { get { return this._OPLock; } set { if ((this._OPLock != value)) { this.OnOPLockChanging(value); this.SendPropertyChanging(); this._OPLock = value; this.SendPropertyChanged("OPLock"); this.OnOPLockChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainResources", DbType="NVarChar(50)")] public string MainResources { get { return this._MainResources; } set { if ((this._MainResources != value)) { this.OnMainResourcesChanging(value); this.SendPropertyChanging(); this._MainResources = value; this.SendPropertyChanged("MainResources"); this.OnMainResourcesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViceResources", DbType="NVarChar(50)")] public string ViceResources { get { return this._ViceResources; } set { if ((this._ViceResources != value)) { this.OnViceResourcesChanging(value); this.SendPropertyChanging(); this._ViceResources = value; this.SendPropertyChanged("ViceResources"); this.OnViceResourcesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductionLine", DbType="NVarChar(50)")] public string ProductionLine { get { return this._ProductionLine; } set { if ((this._ProductionLine != value)) { this.OnProductionLineChanging(value); this.SendPropertyChanging(); this._ProductionLine = value; this.SendPropertyChanged("ProductionLine"); this.OnProductionLineChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManufacturingUnit", DbType="NVarChar(50)")] public string ManufacturingUnit { get { return this._ManufacturingUnit; } set { if ((this._ManufacturingUnit != value)) { this.OnManufacturingUnitChanging(value); this.SendPropertyChanging(); this._ManufacturingUnit = value; this.SendPropertyChanged("ManufacturingUnit"); this.OnManufacturingUnitChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Factory", DbType="NVarChar(50)")] public string Factory { get { return this._Factory; } set { if ((this._Factory != value)) { this.OnFactoryChanging(value); this.SendPropertyChanging(); this._Factory = value; this.SendPropertyChanged("Factory"); this.OnFactoryChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SUBProductionLine", DbType="NVarChar(50)")] public string SUBProductionLine { get { return this._SUBProductionLine; } set { if ((this._SUBProductionLine != value)) { this.OnSUBProductionLineChanging(value); this.SendPropertyChanging(); this._SUBProductionLine = value; this.SendPropertyChanged("SUBProductionLine"); this.OnSUBProductionLineChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SUBManufacturingUnit", DbType="NVarChar(50)")] public string SUBManufacturingUnit { get { return this._SUBManufacturingUnit; } set { if ((this._SUBManufacturingUnit != value)) { this.OnSUBManufacturingUnitChanging(value); this.SendPropertyChanging(); this._SUBManufacturingUnit = value; this.SendPropertyChanged("SUBManufacturingUnit"); this.OnSUBManufacturingUnitChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DrawingNumber", DbType="NVarChar(50)")] public string DrawingNumber { get { return this._DrawingNumber; } set { if ((this._DrawingNumber != value)) { this.OnDrawingNumberChanging(value); this.SendPropertyChanging(); this._DrawingNumber = value; this.SendPropertyChanged("DrawingNumber"); this.OnDrawingNumberChanged(); } } } 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.ICSITEM2ROUTE")] public partial class ICSITEM2ROUTE : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ITEMID; private string _ROUTEID; private string _ITEMCODE; private string _ROUTECODE; private string _ISREF; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _Status; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnITEMIDChanging(string value); partial void OnITEMIDChanged(); partial void OnROUTEIDChanging(string value); partial void OnROUTEIDChanged(); partial void OnITEMCODEChanging(string value); partial void OnITEMCODEChanged(); partial void OnROUTECODEChanging(string value); partial void OnROUTECODEChanged(); partial void OnISREFChanging(string value); partial void OnISREFChanged(); 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 OnStatusChanging(string value); partial void OnStatusChanged(); #endregion public ICSITEM2ROUTE() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ITEMID { get { return this._ITEMID; } set { if ((this._ITEMID != value)) { this.OnITEMIDChanging(value); this.SendPropertyChanging(); this._ITEMID = value; this.SendPropertyChanged("ITEMID"); this.OnITEMIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTEID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ROUTEID { get { return this._ROUTEID; } set { if ((this._ROUTEID != value)) { this.OnROUTEIDChanging(value); this.SendPropertyChanging(); this._ROUTEID = value; this.SendPropertyChanged("ROUTEID"); this.OnROUTEIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ITEMCODE { get { return this._ITEMCODE; } set { if ((this._ITEMCODE != value)) { this.OnITEMCODEChanging(value); this.SendPropertyChanging(); this._ITEMCODE = value; this.SendPropertyChanged("ITEMCODE"); this.OnITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTECODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ROUTECODE { get { return this._ROUTECODE; } set { if ((this._ROUTECODE != value)) { this.OnROUTECODEChanging(value); this.SendPropertyChanging(); this._ROUTECODE = value; this.SendPropertyChanged("ROUTECODE"); this.OnROUTECODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISREF", DbType="VarChar(2) NOT NULL", CanBeNull=false)] public string ISREF { get { return this._ISREF; } set { if ((this._ISREF != value)) { this.OnISREFChanging(value); this.SendPropertyChanging(); this._ISREF = value; this.SendPropertyChanged("ISREF"); this.OnISREFChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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="_Status", DbType="NVarChar(40)")] 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(); } } } 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.ICSITEMROUTE2OP")] public partial class ICSITEMROUTE2OP : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ITEMID; private string _ROUTEID; private string _OPID; private string _ITEMCODE; private string _ROUTECODE; private string _OPCODE; private int _OPSEQ; private string _OPCONTROL; private string _OPTIONALOP; private string _IDMERGETYPE; private int _IDMERGERULE; 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 OnITEMIDChanging(string value); partial void OnITEMIDChanged(); partial void OnROUTEIDChanging(string value); partial void OnROUTEIDChanged(); partial void OnOPIDChanging(string value); partial void OnOPIDChanged(); partial void OnITEMCODEChanging(string value); partial void OnITEMCODEChanged(); partial void OnROUTECODEChanging(string value); partial void OnROUTECODEChanged(); partial void OnOPCODEChanging(string value); partial void OnOPCODEChanged(); partial void OnOPSEQChanging(int value); partial void OnOPSEQChanged(); partial void OnOPCONTROLChanging(string value); partial void OnOPCONTROLChanged(); partial void OnOPTIONALOPChanging(string value); partial void OnOPTIONALOPChanged(); partial void OnIDMERGETYPEChanging(string value); partial void OnIDMERGETYPEChanged(); partial void OnIDMERGERULEChanging(int value); partial void OnIDMERGERULEChanged(); 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 ICSITEMROUTE2OP() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ITEMID { get { return this._ITEMID; } set { if ((this._ITEMID != value)) { this.OnITEMIDChanging(value); this.SendPropertyChanging(); this._ITEMID = value; this.SendPropertyChanged("ITEMID"); this.OnITEMIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTEID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ROUTEID { get { return this._ROUTEID; } set { if ((this._ROUTEID != value)) { this.OnROUTEIDChanging(value); this.SendPropertyChanging(); this._ROUTEID = value; this.SendPropertyChanged("ROUTEID"); this.OnROUTEIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPID", DbType="VarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string OPID { get { return this._OPID; } set { if ((this._OPID != value)) { this.OnOPIDChanging(value); this.SendPropertyChanging(); this._OPID = value; this.SendPropertyChanged("OPID"); this.OnOPIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ITEMCODE { get { return this._ITEMCODE; } set { if ((this._ITEMCODE != value)) { this.OnITEMCODEChanging(value); this.SendPropertyChanging(); this._ITEMCODE = value; this.SendPropertyChanged("ITEMCODE"); this.OnITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROUTECODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string ROUTECODE { get { return this._ROUTECODE; } set { if ((this._ROUTECODE != value)) { this.OnROUTECODEChanging(value); this.SendPropertyChanging(); this._ROUTECODE = value; this.SendPropertyChanged("ROUTECODE"); this.OnROUTECODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCODE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCODE { get { return this._OPCODE; } set { if ((this._OPCODE != value)) { this.OnOPCODEChanging(value); this.SendPropertyChanging(); this._OPCODE = value; this.SendPropertyChanged("OPCODE"); this.OnOPCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPSEQ", DbType="Int NOT NULL")] public int OPSEQ { get { return this._OPSEQ; } set { if ((this._OPSEQ != value)) { this.OnOPSEQChanging(value); this.SendPropertyChanging(); this._OPSEQ = value; this.SendPropertyChanged("OPSEQ"); this.OnOPSEQChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPCONTROL", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string OPCONTROL { get { return this._OPCONTROL; } set { if ((this._OPCONTROL != value)) { this.OnOPCONTROLChanging(value); this.SendPropertyChanging(); this._OPCONTROL = value; this.SendPropertyChanged("OPCONTROL"); this.OnOPCONTROLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OPTIONALOP", DbType="VarChar(40)")] public string OPTIONALOP { get { return this._OPTIONALOP; } set { if ((this._OPTIONALOP != value)) { this.OnOPTIONALOPChanging(value); this.SendPropertyChanging(); this._OPTIONALOP = value; this.SendPropertyChanged("OPTIONALOP"); this.OnOPTIONALOPChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IDMERGETYPE", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string IDMERGETYPE { get { return this._IDMERGETYPE; } set { if ((this._IDMERGETYPE != value)) { this.OnIDMERGETYPEChanging(value); this.SendPropertyChanging(); this._IDMERGETYPE = value; this.SendPropertyChanged("IDMERGETYPE"); this.OnIDMERGETYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IDMERGERULE", DbType="Int NOT NULL")] public int IDMERGERULE { get { return this._IDMERGERULE; } set { if ((this._IDMERGERULE != value)) { this.OnIDMERGERULEChanging(value); this.SendPropertyChanging(); this._IDMERGERULE = value; this.SendPropertyChanged("IDMERGERULE"); this.OnIDMERGERULEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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.ICSDepartment")] public partial class ICSDepartment : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _ID; private string _cDepCode; private string _cDepName; private string _cDepFullName; private int _iDepGrade; private bool _bDepEnd; private string _WorkPoint; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(int value); partial void OnIDChanged(); partial void OncDepCodeChanging(string value); partial void OncDepCodeChanged(); partial void OncDepNameChanging(string value); partial void OncDepNameChanged(); partial void OncDepFullNameChanging(string value); partial void OncDepFullNameChanged(); partial void OniDepGradeChanging(int value); partial void OniDepGradeChanged(); partial void OnbDepEndChanging(bool value); partial void OnbDepEndChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); 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 OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion public ICSDepartment() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int 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="_cDepCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string cDepCode { get { return this._cDepCode; } set { if ((this._cDepCode != value)) { this.OncDepCodeChanging(value); this.SendPropertyChanging(); this._cDepCode = value; this.SendPropertyChanged("cDepCode"); this.OncDepCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cDepName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] public string cDepName { get { return this._cDepName; } set { if ((this._cDepName != value)) { this.OncDepNameChanging(value); this.SendPropertyChanging(); this._cDepName = value; this.SendPropertyChanged("cDepName"); this.OncDepNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cDepFullName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] public string cDepFullName { get { return this._cDepFullName; } set { if ((this._cDepFullName != value)) { this.OncDepFullNameChanging(value); this.SendPropertyChanging(); this._cDepFullName = value; this.SendPropertyChanged("cDepFullName"); this.OncDepFullNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iDepGrade", DbType="Int NOT NULL")] public int iDepGrade { get { return this._iDepGrade; } set { if ((this._iDepGrade != value)) { this.OniDepGradeChanging(value); this.SendPropertyChanging(); this._iDepGrade = value; this.SendPropertyChanged("iDepGrade"); this.OniDepGradeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_bDepEnd", DbType="Bit NOT NULL")] public bool bDepEnd { get { return this._bDepEnd; } set { if ((this._bDepEnd != value)) { this.OnbDepEndChanging(value); this.SendPropertyChanging(); this._bDepEnd = value; this.SendPropertyChanged("bDepEnd"); this.OnbDepEndChanged(); } } } [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="_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="_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.ICSRdStyle")] public partial class ICSRdStyle : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _ID; private string _cRdCode; private string _cRdName; private int _iRdGrade; private int _bRdFlag; private bool _bRdEnd; private string _WorkPoint; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(int value); partial void OnIDChanged(); partial void OncRdCodeChanging(string value); partial void OncRdCodeChanged(); partial void OncRdNameChanging(string value); partial void OncRdNameChanged(); partial void OniRdGradeChanging(int value); partial void OniRdGradeChanged(); partial void OnbRdFlagChanging(int value); partial void OnbRdFlagChanged(); partial void OnbRdEndChanging(bool value); partial void OnbRdEndChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); 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 OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion public ICSRdStyle() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int 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="_cRdCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string cRdCode { get { return this._cRdCode; } set { if ((this._cRdCode != value)) { this.OncRdCodeChanging(value); this.SendPropertyChanging(); this._cRdCode = value; this.SendPropertyChanged("cRdCode"); this.OncRdCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cRdName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] public string cRdName { get { return this._cRdName; } set { if ((this._cRdName != value)) { this.OncRdNameChanging(value); this.SendPropertyChanging(); this._cRdName = value; this.SendPropertyChanged("cRdName"); this.OncRdNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iRdGrade", DbType="Int NOT NULL")] public int iRdGrade { get { return this._iRdGrade; } set { if ((this._iRdGrade != value)) { this.OniRdGradeChanging(value); this.SendPropertyChanging(); this._iRdGrade = value; this.SendPropertyChanged("iRdGrade"); this.OniRdGradeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_bRdFlag", DbType="Int NOT NULL")] public int bRdFlag { get { return this._bRdFlag; } set { if ((this._bRdFlag != value)) { this.OnbRdFlagChanging(value); this.SendPropertyChanging(); this._bRdFlag = value; this.SendPropertyChanged("bRdFlag"); this.OnbRdFlagChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_bRdEnd", DbType="Bit NOT NULL")] public bool bRdEnd { get { return this._bRdEnd; } set { if ((this._bRdEnd != value)) { this.OnbRdEndChanging(value); this.SendPropertyChanging(); this._bRdEnd = value; this.SendPropertyChanged("bRdEnd"); this.OnbRdEndChanged(); } } } [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="_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="_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.ICSSODispatch")] public partial class ICSSODispatch : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _ID; private string _DispatchCode; private string _DispatchRow; private string _SOCode; private string _SORow; private string _CusCode; private string _CusName; private string _SalesOrganization; private string _Type; private string _Class; private System.DateTime _ArriveDate; private string _Term1; private string _Term2; private string _Send; private string _Sale; private string _InvCode; private string _WHCode; private decimal _Quantity; private System.Nullable _HasQuantity; private string _ComUnitCode; private string _Sign; private string _VoucherNO; private string _VoucherRow; private string _Year; private System.DateTime _VoucherDate; private string _Status; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _cBatch; private System.Nullable _iNum; #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(int value); partial void OnIDChanged(); partial void OnDispatchCodeChanging(string value); partial void OnDispatchCodeChanged(); partial void OnDispatchRowChanging(string value); partial void OnDispatchRowChanged(); partial void OnSOCodeChanging(string value); partial void OnSOCodeChanged(); partial void OnSORowChanging(string value); partial void OnSORowChanged(); partial void OnCusCodeChanging(string value); partial void OnCusCodeChanged(); partial void OnCusNameChanging(string value); partial void OnCusNameChanged(); partial void OnSalesOrganizationChanging(string value); partial void OnSalesOrganizationChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnClassChanging(string value); partial void OnClassChanged(); partial void OnArriveDateChanging(System.DateTime value); partial void OnArriveDateChanged(); partial void OnTerm1Changing(string value); partial void OnTerm1Changed(); partial void OnTerm2Changing(string value); partial void OnTerm2Changed(); partial void OnSendChanging(string value); partial void OnSendChanged(); partial void OnSaleChanging(string value); partial void OnSaleChanged(); 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 OnHasQuantityChanging(System.Nullable value); partial void OnHasQuantityChanged(); partial void OnComUnitCodeChanging(string value); partial void OnComUnitCodeChanged(); partial void OnSignChanging(string value); partial void OnSignChanged(); partial void OnVoucherNOChanging(string value); partial void OnVoucherNOChanged(); partial void OnVoucherRowChanging(string value); partial void OnVoucherRowChanged(); partial void OnYearChanging(string value); partial void OnYearChanged(); partial void OnVoucherDateChanging(System.DateTime value); partial void OnVoucherDateChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); 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 OncBatchChanging(string value); partial void OncBatchChanged(); partial void OniNumChanging(System.Nullable value); partial void OniNumChanged(); #endregion public ICSSODispatch() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int 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="_DispatchCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string DispatchCode { get { return this._DispatchCode; } set { if ((this._DispatchCode != value)) { this.OnDispatchCodeChanging(value); this.SendPropertyChanging(); this._DispatchCode = value; this.SendPropertyChanged("DispatchCode"); this.OnDispatchCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DispatchRow", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string DispatchRow { get { return this._DispatchRow; } set { if ((this._DispatchRow != value)) { this.OnDispatchRowChanging(value); this.SendPropertyChanging(); this._DispatchRow = value; this.SendPropertyChanged("DispatchRow"); this.OnDispatchRowChanged(); } } } [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="_SORow", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SORow { get { return this._SORow; } set { if ((this._SORow != value)) { this.OnSORowChanging(value); this.SendPropertyChanging(); this._SORow = value; this.SendPropertyChanged("SORow"); this.OnSORowChanged(); } } } [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="_SalesOrganization", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SalesOrganization { get { return this._SalesOrganization; } set { if ((this._SalesOrganization != value)) { this.OnSalesOrganizationChanging(value); this.SendPropertyChanging(); this._SalesOrganization = value; this.SendPropertyChanged("SalesOrganization"); this.OnSalesOrganizationChanged(); } } } [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="_Class", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Class { get { return this._Class; } set { if ((this._Class != value)) { this.OnClassChanging(value); this.SendPropertyChanging(); this._Class = value; this.SendPropertyChanged("Class"); this.OnClassChanged(); } } } [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="_Term1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Term1 { get { return this._Term1; } set { if ((this._Term1 != value)) { this.OnTerm1Changing(value); this.SendPropertyChanging(); this._Term1 = value; this.SendPropertyChanged("Term1"); this.OnTerm1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Term2", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Term2 { get { return this._Term2; } set { if ((this._Term2 != value)) { this.OnTerm2Changing(value); this.SendPropertyChanging(); this._Term2 = value; this.SendPropertyChanged("Term2"); this.OnTerm2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Send", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Send { get { return this._Send; } set { if ((this._Send != value)) { this.OnSendChanging(value); this.SendPropertyChanging(); this._Send = value; this.SendPropertyChanged("Send"); this.OnSendChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sale", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sale { get { return this._Sale; } set { if ((this._Sale != value)) { this.OnSaleChanging(value); this.SendPropertyChanging(); this._Sale = value; this.SendPropertyChanged("Sale"); this.OnSaleChanged(); } } } [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) 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="_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="_HasQuantity", DbType="Decimal(18,3)")] public System.Nullable HasQuantity { get { return this._HasQuantity; } set { if ((this._HasQuantity != value)) { this.OnHasQuantityChanging(value); this.SendPropertyChanging(); this._HasQuantity = value; this.SendPropertyChanged("HasQuantity"); this.OnHasQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComUnitCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ComUnitCode { get { return this._ComUnitCode; } set { if ((this._ComUnitCode != value)) { this.OnComUnitCodeChanging(value); this.SendPropertyChanging(); this._ComUnitCode = value; this.SendPropertyChanged("ComUnitCode"); this.OnComUnitCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sign", DbType="Char(5) NOT NULL", CanBeNull=false)] public string Sign { get { return this._Sign; } set { if ((this._Sign != value)) { this.OnSignChanging(value); this.SendPropertyChanging(); this._Sign = value; this.SendPropertyChanged("Sign"); this.OnSignChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoucherNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string VoucherNO { get { return this._VoucherNO; } set { if ((this._VoucherNO != value)) { this.OnVoucherNOChanging(value); this.SendPropertyChanging(); this._VoucherNO = value; this.SendPropertyChanged("VoucherNO"); this.OnVoucherNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoucherRow", DbType="Char(5) NOT NULL", CanBeNull=false)] public string VoucherRow { get { return this._VoucherRow; } set { if ((this._VoucherRow != value)) { this.OnVoucherRowChanging(value); this.SendPropertyChanging(); this._VoucherRow = value; this.SendPropertyChanged("VoucherRow"); this.OnVoucherRowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="Char(5) NOT NULL", CanBeNull=false)] public string Year { get { return this._Year; } set { if ((this._Year != value)) { this.OnYearChanging(value); this.SendPropertyChanging(); this._Year = value; this.SendPropertyChanged("Year"); this.OnYearChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoucherDate", DbType="DateTime NOT NULL")] public System.DateTime VoucherDate { get { return this._VoucherDate; } set { if ((this._VoucherDate != value)) { this.OnVoucherDateChanging(value); this.SendPropertyChanging(); this._VoucherDate = value; this.SendPropertyChanged("VoucherDate"); this.OnVoucherDateChanged(); } } } [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="_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(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cBatch", DbType="VarChar(50)")] public string cBatch { get { return this._cBatch; } set { if ((this._cBatch != value)) { this.OncBatchChanging(value); this.SendPropertyChanging(); this._cBatch = value; this.SendPropertyChanged("cBatch"); this.OncBatchChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iNum", DbType="Decimal(18,3)")] public System.Nullable iNum { get { return this._iNum; } set { if ((this._iNum != value)) { this.OniNumChanging(value); this.SendPropertyChanging(); this._iNum = value; this.SendPropertyChanged("iNum"); this.OniNumChanged(); } } } 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.ICSTransVouchs")] public partial class ICSTransVouchs : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _TransferNO; private int _TransferLine; private string _ORDERNO; private System.Nullable _ORDERLINE; private string _FROMStorageCode; private string _FROMStackCode; private string _TOStorageCode; private string _TOStackCode; private string _TransferSTATUS; private string _ITEMCODE; private System.Nullable _PLANQTY; private System.Nullable _ACTQTY; private string _CustomerCode; private string _CUSTOMERNAME; private string _MEMO; private string _cTVBatch; private System.Nullable _TransferTIME; private string _TransferUSER; private string _WorkPoint; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; private string _EATTRIBUTE2; private string _EATTRIBUTE3; private string _EATTRIBUTE4; private string _EATTRIBUTE5; private System.Nullable _iTVNum; #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 OnTransferLineChanging(int value); partial void OnTransferLineChanged(); partial void OnORDERNOChanging(string value); partial void OnORDERNOChanged(); partial void OnORDERLINEChanging(System.Nullable value); partial void OnORDERLINEChanged(); partial void OnFROMStorageCodeChanging(string value); partial void OnFROMStorageCodeChanged(); partial void OnFROMStackCodeChanging(string value); partial void OnFROMStackCodeChanged(); partial void OnTOStorageCodeChanging(string value); partial void OnTOStorageCodeChanged(); partial void OnTOStackCodeChanging(string value); partial void OnTOStackCodeChanged(); partial void OnTransferSTATUSChanging(string value); partial void OnTransferSTATUSChanged(); partial void OnITEMCODEChanging(string value); partial void OnITEMCODEChanged(); partial void OnPLANQTYChanging(System.Nullable value); partial void OnPLANQTYChanged(); partial void OnACTQTYChanging(System.Nullable value); partial void OnACTQTYChanged(); partial void OnCustomerCodeChanging(string value); partial void OnCustomerCodeChanged(); partial void OnCUSTOMERNAMEChanging(string value); partial void OnCUSTOMERNAMEChanged(); partial void OnMEMOChanging(string value); partial void OnMEMOChanged(); partial void OncTVBatchChanging(string value); partial void OncTVBatchChanged(); partial void OnTransferTIMEChanging(System.Nullable value); partial void OnTransferTIMEChanged(); partial void OnTransferUSERChanging(string value); partial void OnTransferUSERChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); 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 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(); partial void OniTVNumChanging(System.Nullable value); partial void OniTVNumChanged(); #endregion public ICSTransVouchs() { 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="_TransferLine", DbType="Int NOT NULL")] public int TransferLine { get { return this._TransferLine; } set { if ((this._TransferLine != value)) { this.OnTransferLineChanging(value); this.SendPropertyChanging(); this._TransferLine = value; this.SendPropertyChanged("TransferLine"); this.OnTransferLineChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ORDERNO", DbType="NVarChar(50)")] public string ORDERNO { get { return this._ORDERNO; } set { if ((this._ORDERNO != value)) { this.OnORDERNOChanging(value); this.SendPropertyChanging(); this._ORDERNO = value; this.SendPropertyChanged("ORDERNO"); this.OnORDERNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ORDERLINE", DbType="Int")] public System.Nullable ORDERLINE { get { return this._ORDERLINE; } set { if ((this._ORDERLINE != value)) { this.OnORDERLINEChanging(value); this.SendPropertyChanging(); this._ORDERLINE = value; this.SendPropertyChanged("ORDERLINE"); this.OnORDERLINEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FROMStorageCode", DbType="NVarChar(50)")] public string FROMStorageCode { get { return this._FROMStorageCode; } set { if ((this._FROMStorageCode != value)) { this.OnFROMStorageCodeChanging(value); this.SendPropertyChanging(); this._FROMStorageCode = value; this.SendPropertyChanged("FROMStorageCode"); this.OnFROMStorageCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FROMStackCode", DbType="NVarChar(50)")] public string FROMStackCode { get { return this._FROMStackCode; } set { if ((this._FROMStackCode != value)) { this.OnFROMStackCodeChanging(value); this.SendPropertyChanging(); this._FROMStackCode = value; this.SendPropertyChanged("FROMStackCode"); this.OnFROMStackCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOStorageCode", DbType="NVarChar(50)")] public string TOStorageCode { get { return this._TOStorageCode; } set { if ((this._TOStorageCode != value)) { this.OnTOStorageCodeChanging(value); this.SendPropertyChanging(); this._TOStorageCode = value; this.SendPropertyChanged("TOStorageCode"); this.OnTOStorageCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOStackCode", DbType="NVarChar(50)")] public string TOStackCode { get { return this._TOStackCode; } set { if ((this._TOStackCode != value)) { this.OnTOStackCodeChanging(value); this.SendPropertyChanging(); this._TOStackCode = value; this.SendPropertyChanged("TOStackCode"); this.OnTOStackCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferSTATUS", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string TransferSTATUS { get { return this._TransferSTATUS; } set { if ((this._TransferSTATUS != value)) { this.OnTransferSTATUSChanging(value); this.SendPropertyChanging(); this._TransferSTATUS = value; this.SendPropertyChanged("TransferSTATUS"); this.OnTransferSTATUSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMCODE", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ITEMCODE { get { return this._ITEMCODE; } set { if ((this._ITEMCODE != value)) { this.OnITEMCODEChanging(value); this.SendPropertyChanging(); this._ITEMCODE = value; this.SendPropertyChanged("ITEMCODE"); this.OnITEMCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PLANQTY", DbType="Decimal(18,3)")] public System.Nullable PLANQTY { get { return this._PLANQTY; } set { if ((this._PLANQTY != value)) { this.OnPLANQTYChanging(value); this.SendPropertyChanging(); this._PLANQTY = value; this.SendPropertyChanged("PLANQTY"); this.OnPLANQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ACTQTY", DbType="Decimal(18,3)")] public System.Nullable ACTQTY { get { return this._ACTQTY; } set { if ((this._ACTQTY != value)) { this.OnACTQTYChanging(value); this.SendPropertyChanging(); this._ACTQTY = value; this.SendPropertyChanged("ACTQTY"); this.OnACTQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CustomerCode", DbType="NVarChar(50)")] public string CustomerCode { get { return this._CustomerCode; } set { if ((this._CustomerCode != value)) { this.OnCustomerCodeChanging(value); this.SendPropertyChanging(); this._CustomerCode = value; this.SendPropertyChanged("CustomerCode"); this.OnCustomerCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CUSTOMERNAME", DbType="NVarChar(50)")] public string CUSTOMERNAME { get { return this._CUSTOMERNAME; } set { if ((this._CUSTOMERNAME != value)) { this.OnCUSTOMERNAMEChanging(value); this.SendPropertyChanging(); this._CUSTOMERNAME = value; this.SendPropertyChanged("CUSTOMERNAME"); this.OnCUSTOMERNAMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MEMO", DbType="NVarChar(2000)")] 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="_cTVBatch", DbType="VarChar(50)")] public string cTVBatch { get { return this._cTVBatch; } set { if ((this._cTVBatch != value)) { this.OncTVBatchChanging(value); this.SendPropertyChanging(); this._cTVBatch = value; this.SendPropertyChanged("cTVBatch"); this.OncTVBatchChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferTIME", DbType="DateTime")] public System.Nullable TransferTIME { get { return this._TransferTIME; } set { if ((this._TransferTIME != value)) { this.OnTransferTIMEChanging(value); this.SendPropertyChanging(); this._TransferTIME = value; this.SendPropertyChanged("TransferTIME"); this.OnTransferTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferUSER", DbType="NVarChar(50)")] public string TransferUSER { get { return this._TransferUSER; } set { if ((this._TransferUSER != value)) { this.OnTransferUSERChanging(value); this.SendPropertyChanging(); this._TransferUSER = value; this.SendPropertyChanged("TransferUSER"); this.OnTransferUSERChanged(); } } } [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="_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="_EATTRIBUTE1", DbType="NVarChar(100)")] 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(100)")] 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(100)")] 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(100)")] 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(100)")] 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(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iTVNum", DbType="Decimal(18,3)")] public System.Nullable iTVNum { get { return this._iTVNum; } set { if ((this._iTVNum != value)) { this.OniTVNumChanging(value); this.SendPropertyChanging(); this._iTVNum = value; this.SendPropertyChanged("iTVNum"); this.OniTVNumChanged(); } } } 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.ICSLOTONWIPCheck")] public partial class ICSLOTONWIPCheck : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ONWIPID; private string _Result; private string _USER; private System.Nullable _TIME; private string _TResult; private string _TUSER; private System.Nullable _TTIME; private string _RResult; private string _RUSER; private System.Nullable _RTIME; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private int _Iden; #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 OnONWIPIDChanging(string value); partial void OnONWIPIDChanged(); partial void OnResultChanging(string value); partial void OnResultChanged(); partial void OnUSERChanging(string value); partial void OnUSERChanged(); partial void OnTIMEChanging(System.Nullable value); partial void OnTIMEChanged(); partial void OnTResultChanging(string value); partial void OnTResultChanged(); partial void OnTUSERChanging(string value); partial void OnTUSERChanged(); partial void OnTTIMEChanging(System.Nullable value); partial void OnTTIMEChanged(); partial void OnRResultChanging(string value); partial void OnRResultChanged(); partial void OnRUSERChanging(string value); partial void OnRUSERChanged(); partial void OnRTIMEChanging(System.Nullable value); partial void OnRTIMEChanged(); 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 OnIdenChanging(int value); partial void OnIdenChanged(); #endregion public ICSLOTONWIPCheck() { 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="_ONWIPID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ONWIPID { get { return this._ONWIPID; } set { if ((this._ONWIPID != value)) { this.OnONWIPIDChanging(value); this.SendPropertyChanging(); this._ONWIPID = value; this.SendPropertyChanged("ONWIPID"); this.OnONWIPIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Result", DbType="NVarChar(50)")] public string Result { get { return this._Result; } set { if ((this._Result != value)) { this.OnResultChanging(value); this.SendPropertyChanging(); this._Result = value; this.SendPropertyChanged("Result"); this.OnResultChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="[USER]", Storage="_USER", DbType="NVarChar(50)")] public string USER { get { return this._USER; } set { if ((this._USER != value)) { this.OnUSERChanging(value); this.SendPropertyChanging(); this._USER = value; this.SendPropertyChanged("USER"); this.OnUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TIME", DbType="DateTime")] public System.Nullable TIME { get { return this._TIME; } set { if ((this._TIME != value)) { this.OnTIMEChanging(value); this.SendPropertyChanging(); this._TIME = value; this.SendPropertyChanged("TIME"); this.OnTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TResult", DbType="NVarChar(50)")] public string TResult { get { return this._TResult; } set { if ((this._TResult != value)) { this.OnTResultChanging(value); this.SendPropertyChanging(); this._TResult = value; this.SendPropertyChanged("TResult"); this.OnTResultChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TUSER", DbType="NVarChar(50)")] public string TUSER { get { return this._TUSER; } set { if ((this._TUSER != value)) { this.OnTUSERChanging(value); this.SendPropertyChanging(); this._TUSER = value; this.SendPropertyChanged("TUSER"); this.OnTUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TTIME", DbType="DateTime")] public System.Nullable TTIME { get { return this._TTIME; } set { if ((this._TTIME != value)) { this.OnTTIMEChanging(value); this.SendPropertyChanging(); this._TTIME = value; this.SendPropertyChanged("TTIME"); this.OnTTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RResult", DbType="NVarChar(50)")] public string RResult { get { return this._RResult; } set { if ((this._RResult != value)) { this.OnRResultChanging(value); this.SendPropertyChanging(); this._RResult = value; this.SendPropertyChanged("RResult"); this.OnRResultChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RUSER", DbType="NVarChar(50)")] public string RUSER { get { return this._RUSER; } set { if ((this._RUSER != value)) { this.OnRUSERChanging(value); this.SendPropertyChanging(); this._RUSER = value; this.SendPropertyChanged("RUSER"); this.OnRUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RTIME", DbType="DateTime")] public System.Nullable RTIME { get { return this._RTIME; } set { if ((this._RTIME != value)) { this.OnRTIMEChanging(value); this.SendPropertyChanging(); this._RTIME = value; this.SendPropertyChanged("RTIME"); this.OnRTIMEChanged(); } } } [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(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Iden", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)] public int Iden { get { return this._Iden; } set { if ((this._Iden != value)) { this.OnIdenChanging(value); this.SendPropertyChanging(); this._Iden = value; this.SendPropertyChanged("Iden"); this.OnIdenChanged(); } } } 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.ICSMaterial")] public partial class ICSMaterial : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _VouchCode; private string _WHCode; private string _PickingSTATUS; private string _VENDORCODE; private string _PickingTYPE; private string _MEMO; private System.Nullable _CreateTIME; private string _CreateUSER; private string _WorkPoint; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _EATTRIBUTE1; private string _ISALLINSTORAGE; private string _AuditMan; private System.Nullable _AuditTime; private System.Nullable _IsMROItem; private string _DDState; private System.Nullable _IsPickingOrBack; private string _OutCategory; #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 OnVouchCodeChanging(string value); partial void OnVouchCodeChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnPickingSTATUSChanging(string value); partial void OnPickingSTATUSChanged(); partial void OnVENDORCODEChanging(string value); partial void OnVENDORCODEChanged(); partial void OnPickingTYPEChanging(string value); partial void OnPickingTYPEChanged(); partial void OnMEMOChanging(string value); partial void OnMEMOChanged(); partial void OnCreateTIMEChanging(System.Nullable value); partial void OnCreateTIMEChanged(); partial void OnCreateUSERChanging(string value); partial void OnCreateUSERChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); 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 OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); partial void OnISALLINSTORAGEChanging(string value); partial void OnISALLINSTORAGEChanged(); partial void OnAuditManChanging(string value); partial void OnAuditManChanged(); partial void OnAuditTimeChanging(System.Nullable value); partial void OnAuditTimeChanged(); partial void OnIsMROItemChanging(System.Nullable value); partial void OnIsMROItemChanged(); partial void OnDDStateChanging(string value); partial void OnDDStateChanged(); partial void OnIsPickingOrBackChanging(System.Nullable value); partial void OnIsPickingOrBackChanged(); partial void OnOutCategoryChanging(string value); partial void OnOutCategoryChanged(); #endregion public ICSMaterial() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(40) 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="_VouchCode", DbType="NVarChar(40) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string VouchCode { get { return this._VouchCode; } set { if ((this._VouchCode != value)) { this.OnVouchCodeChanging(value); this.SendPropertyChanging(); this._VouchCode = value; this.SendPropertyChanged("VouchCode"); this.OnVouchCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(40)")] 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="_PickingSTATUS", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string PickingSTATUS { get { return this._PickingSTATUS; } set { if ((this._PickingSTATUS != value)) { this.OnPickingSTATUSChanging(value); this.SendPropertyChanging(); this._PickingSTATUS = value; this.SendPropertyChanged("PickingSTATUS"); this.OnPickingSTATUSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VENDORCODE", DbType="NVarChar(40)")] public string VENDORCODE { get { return this._VENDORCODE; } set { if ((this._VENDORCODE != value)) { this.OnVENDORCODEChanging(value); this.SendPropertyChanging(); this._VENDORCODE = value; this.SendPropertyChanged("VENDORCODE"); this.OnVENDORCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PickingTYPE", DbType="NVarChar(40)")] public string PickingTYPE { get { return this._PickingTYPE; } set { if ((this._PickingTYPE != value)) { this.OnPickingTYPEChanging(value); this.SendPropertyChanging(); this._PickingTYPE = value; this.SendPropertyChanged("PickingTYPE"); this.OnPickingTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MEMO", DbType="NVarChar(2000)")] 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="_CreateTIME", DbType="DateTime")] public System.Nullable CreateTIME { get { return this._CreateTIME; } set { if ((this._CreateTIME != value)) { this.OnCreateTIMEChanging(value); this.SendPropertyChanging(); this._CreateTIME = value; this.SendPropertyChanged("CreateTIME"); this.OnCreateTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateUSER", DbType="NVarChar(40)")] public string CreateUSER { get { return this._CreateUSER; } set { if ((this._CreateUSER != value)) { this.OnCreateUSERChanging(value); this.SendPropertyChanging(); this._CreateUSER = value; this.SendPropertyChanged("CreateUSER"); this.OnCreateUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(40) 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="_MUSER", DbType="NVarChar(40) 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(40) 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="_EATTRIBUTE1", DbType="NVarChar(40)")] 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="_ISALLINSTORAGE", DbType="NVarChar(1)")] public string ISALLINSTORAGE { get { return this._ISALLINSTORAGE; } set { if ((this._ISALLINSTORAGE != value)) { this.OnISALLINSTORAGEChanging(value); this.SendPropertyChanging(); this._ISALLINSTORAGE = value; this.SendPropertyChanged("ISALLINSTORAGE"); this.OnISALLINSTORAGEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="VarChar(40)")] public string AuditMan { get { return this._AuditMan; } set { if ((this._AuditMan != value)) { this.OnAuditManChanging(value); this.SendPropertyChanging(); this._AuditMan = value; this.SendPropertyChanged("AuditMan"); this.OnAuditManChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditTime", DbType="DateTime")] public System.Nullable AuditTime { get { return this._AuditTime; } set { if ((this._AuditTime != value)) { this.OnAuditTimeChanging(value); this.SendPropertyChanging(); this._AuditTime = value; this.SendPropertyChanged("AuditTime"); this.OnAuditTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMROItem", DbType="Bit")] public System.Nullable IsMROItem { get { return this._IsMROItem; } set { if ((this._IsMROItem != value)) { this.OnIsMROItemChanging(value); this.SendPropertyChanging(); this._IsMROItem = value; this.SendPropertyChanged("IsMROItem"); this.OnIsMROItemChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DDState", DbType="VarChar(40)")] public string DDState { get { return this._DDState; } set { if ((this._DDState != value)) { this.OnDDStateChanging(value); this.SendPropertyChanging(); this._DDState = value; this.SendPropertyChanged("DDState"); this.OnDDStateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPickingOrBack", DbType="Int")] public System.Nullable IsPickingOrBack { get { return this._IsPickingOrBack; } set { if ((this._IsPickingOrBack != value)) { this.OnIsPickingOrBackChanging(value); this.SendPropertyChanging(); this._IsPickingOrBack = value; this.SendPropertyChanged("IsPickingOrBack"); this.OnIsPickingOrBackChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCategory", DbType="VarChar(40)")] public string OutCategory { get { return this._OutCategory; } set { if ((this._OutCategory != value)) { this.OnOutCategoryChanging(value); this.SendPropertyChanging(); this._OutCategory = value; this.SendPropertyChanged("OutCategory"); this.OnOutCategoryChanged(); } } } 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.ICSPOArrive")] public partial class ICSPOArrive : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ERPAutoid; private string _cCode; private System.Nullable _irowno; private string _cVenCode; private string _cVenName; private string _cDepCode; private string _cDepName; private string _cWhCode; private string _cInvCode; private decimal _iQuantity; private decimal _PackQty; private decimal _INQty; private string _MUser; private System.DateTime _MTime; private string _WorkPoint; private string _Batch; private string _ErpID; private string _POCode; private string _iPOsID; private string _Free1; private string _Free2; private string _Free3; private string _Free4; private string _Free5; private string _cBusType; private System.Nullable _cAuditDate; private System.Nullable _iNum; private System.Nullable _bGsp; private System.Nullable _PORow; #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 OnERPAutoidChanging(string value); partial void OnERPAutoidChanged(); partial void OncCodeChanging(string value); partial void OncCodeChanged(); partial void OnirownoChanging(System.Nullable value); partial void OnirownoChanged(); partial void OncVenCodeChanging(string value); partial void OncVenCodeChanged(); partial void OncVenNameChanging(string value); partial void OncVenNameChanged(); partial void OncDepCodeChanging(string value); partial void OncDepCodeChanged(); partial void OncDepNameChanging(string value); partial void OncDepNameChanged(); partial void OncWhCodeChanging(string value); partial void OncWhCodeChanged(); partial void OncInvCodeChanging(string value); partial void OncInvCodeChanged(); partial void OniQuantityChanging(decimal value); partial void OniQuantityChanged(); partial void OnPackQtyChanging(decimal value); partial void OnPackQtyChanged(); partial void OnINQtyChanging(decimal value); partial void OnINQtyChanged(); partial void OnMUserChanging(string value); partial void OnMUserChanged(); partial void OnMTimeChanging(System.DateTime value); partial void OnMTimeChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnBatchChanging(string value); partial void OnBatchChanged(); partial void OnErpIDChanging(string value); partial void OnErpIDChanged(); partial void OnPOCodeChanging(string value); partial void OnPOCodeChanged(); partial void OniPOsIDChanging(string value); partial void OniPOsIDChanged(); partial void OnFree1Changing(string value); partial void OnFree1Changed(); partial void OnFree2Changing(string value); partial void OnFree2Changed(); partial void OnFree3Changing(string value); partial void OnFree3Changed(); partial void OnFree4Changing(string value); partial void OnFree4Changed(); partial void OnFree5Changing(string value); partial void OnFree5Changed(); partial void OncBusTypeChanging(string value); partial void OncBusTypeChanged(); partial void OncAuditDateChanging(System.Nullable value); partial void OncAuditDateChanged(); partial void OniNumChanging(System.Nullable value); partial void OniNumChanged(); partial void OnbGspChanging(System.Nullable value); partial void OnbGspChanged(); partial void OnPORowChanging(System.Nullable value); partial void OnPORowChanged(); #endregion public ICSPOArrive() { 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="_ERPAutoid", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ERPAutoid { get { return this._ERPAutoid; } set { if ((this._ERPAutoid != value)) { this.OnERPAutoidChanging(value); this.SendPropertyChanging(); this._ERPAutoid = value; this.SendPropertyChanged("ERPAutoid"); this.OnERPAutoidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cCode", DbType="NVarChar(50)")] public string cCode { get { return this._cCode; } set { if ((this._cCode != value)) { this.OncCodeChanging(value); this.SendPropertyChanging(); this._cCode = value; this.SendPropertyChanged("cCode"); this.OncCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_irowno", DbType="Int")] public System.Nullable irowno { get { return this._irowno; } set { if ((this._irowno != value)) { this.OnirownoChanging(value); this.SendPropertyChanging(); this._irowno = value; this.SendPropertyChanged("irowno"); this.OnirownoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cVenCode", DbType="NVarChar(50)")] public string cVenCode { get { return this._cVenCode; } set { if ((this._cVenCode != value)) { this.OncVenCodeChanging(value); this.SendPropertyChanging(); this._cVenCode = value; this.SendPropertyChanged("cVenCode"); this.OncVenCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cVenName", DbType="NVarChar(200)")] public string cVenName { get { return this._cVenName; } set { if ((this._cVenName != value)) { this.OncVenNameChanging(value); this.SendPropertyChanging(); this._cVenName = value; this.SendPropertyChanged("cVenName"); this.OncVenNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cDepCode", DbType="NVarChar(50)")] public string cDepCode { get { return this._cDepCode; } set { if ((this._cDepCode != value)) { this.OncDepCodeChanging(value); this.SendPropertyChanging(); this._cDepCode = value; this.SendPropertyChanged("cDepCode"); this.OncDepCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cDepName", DbType="NVarChar(100)")] public string cDepName { get { return this._cDepName; } set { if ((this._cDepName != value)) { this.OncDepNameChanging(value); this.SendPropertyChanging(); this._cDepName = value; this.SendPropertyChanged("cDepName"); this.OncDepNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cWhCode", DbType="NVarChar(50)")] public string cWhCode { get { return this._cWhCode; } set { if ((this._cWhCode != value)) { this.OncWhCodeChanging(value); this.SendPropertyChanging(); this._cWhCode = value; this.SendPropertyChanged("cWhCode"); this.OncWhCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cInvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string cInvCode { get { return this._cInvCode; } set { if ((this._cInvCode != value)) { this.OncInvCodeChanging(value); this.SendPropertyChanging(); this._cInvCode = value; this.SendPropertyChanged("cInvCode"); this.OncInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iQuantity", DbType="Decimal(18,6) NOT NULL")] public decimal iQuantity { get { return this._iQuantity; } set { if ((this._iQuantity != value)) { this.OniQuantityChanging(value); this.SendPropertyChanging(); this._iQuantity = value; this.SendPropertyChanged("iQuantity"); this.OniQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackQty", DbType="Decimal(18,6) NOT NULL")] public decimal PackQty { get { return this._PackQty; } set { if ((this._PackQty != value)) { this.OnPackQtyChanging(value); this.SendPropertyChanging(); this._PackQty = value; this.SendPropertyChanged("PackQty"); this.OnPackQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INQty", DbType="Decimal(18,6) NOT NULL")] public decimal INQty { get { return this._INQty; } set { if ((this._INQty != value)) { this.OnINQtyChanging(value); this.SendPropertyChanging(); this._INQty = value; this.SendPropertyChanged("INQty"); this.OnINQtyChanged(); } } } [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="_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(10) 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="_Batch", DbType="NVarChar(100)")] public string Batch { get { return this._Batch; } set { if ((this._Batch != value)) { this.OnBatchChanging(value); this.SendPropertyChanging(); this._Batch = value; this.SendPropertyChanged("Batch"); this.OnBatchChanged(); } } } [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="_POCode", DbType="NVarChar(50)")] public string POCode { get { return this._POCode; } set { if ((this._POCode != value)) { this.OnPOCodeChanging(value); this.SendPropertyChanging(); this._POCode = value; this.SendPropertyChanged("POCode"); this.OnPOCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iPOsID", DbType="NVarChar(50)")] public string iPOsID { get { return this._iPOsID; } set { if ((this._iPOsID != value)) { this.OniPOsIDChanging(value); this.SendPropertyChanging(); this._iPOsID = value; this.SendPropertyChanged("iPOsID"); this.OniPOsIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free1", DbType="NVarChar(500)")] public string Free1 { get { return this._Free1; } set { if ((this._Free1 != value)) { this.OnFree1Changing(value); this.SendPropertyChanging(); this._Free1 = value; this.SendPropertyChanged("Free1"); this.OnFree1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free2", DbType="NVarChar(500)")] public string Free2 { get { return this._Free2; } set { if ((this._Free2 != value)) { this.OnFree2Changing(value); this.SendPropertyChanging(); this._Free2 = value; this.SendPropertyChanged("Free2"); this.OnFree2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free3", DbType="NVarChar(500)")] public string Free3 { get { return this._Free3; } set { if ((this._Free3 != value)) { this.OnFree3Changing(value); this.SendPropertyChanging(); this._Free3 = value; this.SendPropertyChanged("Free3"); this.OnFree3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free4", DbType="NVarChar(500)")] public string Free4 { get { return this._Free4; } set { if ((this._Free4 != value)) { this.OnFree4Changing(value); this.SendPropertyChanging(); this._Free4 = value; this.SendPropertyChanged("Free4"); this.OnFree4Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free5", DbType="NVarChar(500)")] public string Free5 { get { return this._Free5; } set { if ((this._Free5 != value)) { this.OnFree5Changing(value); this.SendPropertyChanging(); this._Free5 = value; this.SendPropertyChanged("Free5"); this.OnFree5Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cBusType", DbType="NVarChar(50)")] public string cBusType { get { return this._cBusType; } set { if ((this._cBusType != value)) { this.OncBusTypeChanging(value); this.SendPropertyChanging(); this._cBusType = value; this.SendPropertyChanged("cBusType"); this.OncBusTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cAuditDate", DbType="DateTime")] public System.Nullable cAuditDate { get { return this._cAuditDate; } set { if ((this._cAuditDate != value)) { this.OncAuditDateChanging(value); this.SendPropertyChanging(); this._cAuditDate = value; this.SendPropertyChanged("cAuditDate"); this.OncAuditDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_iNum", DbType="Decimal(18,6)")] public System.Nullable iNum { get { return this._iNum; } set { if ((this._iNum != value)) { this.OniNumChanging(value); this.SendPropertyChanging(); this._iNum = value; this.SendPropertyChanged("iNum"); this.OniNumChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_bGsp", DbType="Int")] public System.Nullable bGsp { get { return this._bGsp; } set { if ((this._bGsp != value)) { this.OnbGspChanging(value); this.SendPropertyChanging(); this._bGsp = value; this.SendPropertyChanged("bGsp"); this.OnbGspChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PORow", DbType="Int")] public System.Nullable PORow { get { return this._PORow; } set { if ((this._PORow != value)) { this.OnPORowChanging(value); this.SendPropertyChanging(); this._PORow = value; this.SendPropertyChanged("PORow"); this.OnPORowChanged(); } } } 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.ICSMaterialPick")] public partial class ICSMaterialPick : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _VouchCode; private string _VouchRow; private string _MOCode; private string _MORow; private string _InvCode; private string _ORDERNO; private string _SubInvCode; private decimal _Quantity; private System.Nullable _DemandQuantity; private System.Nullable _SupplyQuantity; private System.Nullable _BackQuantity; private decimal _HasQuantity; private string _MoveType; private string _Sign; private string _WHCode; private string _ComUnitCode; private string _Did; private string _LotNo; private string _Reservation; private string _ReservationRow; private string _DeleteStatus; private string _VoucherNO; private string _Year; private System.Nullable _VoucherDate; private string _Status; private System.Nullable _Writeback; 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 OnVouchCodeChanging(string value); partial void OnVouchCodeChanged(); partial void OnVouchRowChanging(string value); partial void OnVouchRowChanged(); partial void OnMOCodeChanging(string value); partial void OnMOCodeChanged(); partial void OnMORowChanging(string value); partial void OnMORowChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnORDERNOChanging(string value); partial void OnORDERNOChanged(); partial void OnSubInvCodeChanging(string value); partial void OnSubInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnDemandQuantityChanging(System.Nullable value); partial void OnDemandQuantityChanged(); partial void OnSupplyQuantityChanging(System.Nullable value); partial void OnSupplyQuantityChanged(); partial void OnBackQuantityChanging(System.Nullable value); partial void OnBackQuantityChanged(); partial void OnHasQuantityChanging(decimal value); partial void OnHasQuantityChanged(); partial void OnMoveTypeChanging(string value); partial void OnMoveTypeChanged(); partial void OnSignChanging(string value); partial void OnSignChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnComUnitCodeChanging(string value); partial void OnComUnitCodeChanged(); partial void OnDidChanging(string value); partial void OnDidChanged(); partial void OnLotNoChanging(string value); partial void OnLotNoChanged(); partial void OnReservationChanging(string value); partial void OnReservationChanged(); partial void OnReservationRowChanging(string value); partial void OnReservationRowChanged(); partial void OnDeleteStatusChanging(string value); partial void OnDeleteStatusChanged(); partial void OnVoucherNOChanging(string value); partial void OnVoucherNOChanged(); partial void OnYearChanging(string value); partial void OnYearChanged(); partial void OnVoucherDateChanging(System.Nullable value); partial void OnVoucherDateChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnWritebackChanging(System.Nullable value); partial void OnWritebackChanged(); 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 ICSMaterialPick() { 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="_VouchCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string VouchCode { get { return this._VouchCode; } set { if ((this._VouchCode != value)) { this.OnVouchCodeChanging(value); this.SendPropertyChanging(); this._VouchCode = value; this.SendPropertyChanged("VouchCode"); this.OnVouchCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VouchRow", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string VouchRow { get { return this._VouchRow; } set { if ((this._VouchRow != value)) { this.OnVouchRowChanging(value); this.SendPropertyChanging(); this._VouchRow = value; this.SendPropertyChanged("VouchRow"); this.OnVouchRowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MOCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MOCode { get { return this._MOCode; } set { if ((this._MOCode != value)) { this.OnMOCodeChanging(value); this.SendPropertyChanging(); this._MOCode = value; this.SendPropertyChanged("MOCode"); this.OnMOCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MORow", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MORow { get { return this._MORow; } set { if ((this._MORow != value)) { this.OnMORowChanging(value); this.SendPropertyChanging(); this._MORow = value; this.SendPropertyChanged("MORow"); this.OnMORowChanged(); } } } [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="_ORDERNO", DbType="NVarChar(50)")] public string ORDERNO { get { return this._ORDERNO; } set { if ((this._ORDERNO != value)) { this.OnORDERNOChanging(value); this.SendPropertyChanging(); this._ORDERNO = value; this.SendPropertyChanged("ORDERNO"); this.OnORDERNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SubInvCode { get { return this._SubInvCode; } set { if ((this._SubInvCode != value)) { this.OnSubInvCodeChanging(value); this.SendPropertyChanging(); this._SubInvCode = value; this.SendPropertyChanged("SubInvCode"); this.OnSubInvCodeChanged(); } } } [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="_DemandQuantity", DbType="Decimal(18,3)")] public System.Nullable DemandQuantity { get { return this._DemandQuantity; } set { if ((this._DemandQuantity != value)) { this.OnDemandQuantityChanging(value); this.SendPropertyChanging(); this._DemandQuantity = value; this.SendPropertyChanged("DemandQuantity"); this.OnDemandQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplyQuantity", DbType="Decimal(18,3)")] public System.Nullable SupplyQuantity { get { return this._SupplyQuantity; } set { if ((this._SupplyQuantity != value)) { this.OnSupplyQuantityChanging(value); this.SendPropertyChanging(); this._SupplyQuantity = value; this.SendPropertyChanged("SupplyQuantity"); this.OnSupplyQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackQuantity", DbType="Decimal(18,3)")] public System.Nullable BackQuantity { get { return this._BackQuantity; } set { if ((this._BackQuantity != value)) { this.OnBackQuantityChanging(value); this.SendPropertyChanging(); this._BackQuantity = value; this.SendPropertyChanged("BackQuantity"); this.OnBackQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HasQuantity", DbType="Decimal(18,3) NOT NULL")] public decimal HasQuantity { get { return this._HasQuantity; } set { if ((this._HasQuantity != value)) { this.OnHasQuantityChanging(value); this.SendPropertyChanging(); this._HasQuantity = value; this.SendPropertyChanged("HasQuantity"); this.OnHasQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MoveType { get { return this._MoveType; } set { if ((this._MoveType != value)) { this.OnMoveTypeChanging(value); this.SendPropertyChanging(); this._MoveType = value; this.SendPropertyChanged("MoveType"); this.OnMoveTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sign", DbType="Char(5)")] public string Sign { get { return this._Sign; } set { if ((this._Sign != value)) { this.OnSignChanging(value); this.SendPropertyChanging(); this._Sign = value; this.SendPropertyChanged("Sign"); this.OnSignChanged(); } } } [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="_ComUnitCode", DbType="NVarChar(50)")] public string ComUnitCode { get { return this._ComUnitCode; } set { if ((this._ComUnitCode != value)) { this.OnComUnitCodeChanging(value); this.SendPropertyChanging(); this._ComUnitCode = value; this.SendPropertyChanged("ComUnitCode"); this.OnComUnitCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Did", DbType="NVarChar(50)")] public string Did { get { return this._Did; } set { if ((this._Did != value)) { this.OnDidChanging(value); this.SendPropertyChanging(); this._Did = value; this.SendPropertyChanged("Did"); this.OnDidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50)")] 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="_Reservation", DbType="NVarChar(50)")] public string Reservation { get { return this._Reservation; } set { if ((this._Reservation != value)) { this.OnReservationChanging(value); this.SendPropertyChanging(); this._Reservation = value; this.SendPropertyChanged("Reservation"); this.OnReservationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReservationRow", DbType="NVarChar(50)")] public string ReservationRow { get { return this._ReservationRow; } set { if ((this._ReservationRow != value)) { this.OnReservationRowChanging(value); this.SendPropertyChanging(); this._ReservationRow = value; this.SendPropertyChanged("ReservationRow"); this.OnReservationRowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeleteStatus", DbType="Char(5)")] public string DeleteStatus { get { return this._DeleteStatus; } set { if ((this._DeleteStatus != value)) { this.OnDeleteStatusChanging(value); this.SendPropertyChanging(); this._DeleteStatus = value; this.SendPropertyChanged("DeleteStatus"); this.OnDeleteStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoucherNO", DbType="NVarChar(50)")] public string VoucherNO { get { return this._VoucherNO; } set { if ((this._VoucherNO != value)) { this.OnVoucherNOChanging(value); this.SendPropertyChanging(); this._VoucherNO = value; this.SendPropertyChanged("VoucherNO"); this.OnVoucherNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="Char(5)")] public string Year { get { return this._Year; } set { if ((this._Year != value)) { this.OnYearChanging(value); this.SendPropertyChanging(); this._Year = value; this.SendPropertyChanged("Year"); this.OnYearChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoucherDate", DbType="DateTime")] public System.Nullable VoucherDate { get { return this._VoucherDate; } set { if ((this._VoucherDate != value)) { this.OnVoucherDateChanging(value); this.SendPropertyChanging(); this._VoucherDate = value; this.SendPropertyChanged("VoucherDate"); this.OnVoucherDateChanged(); } } } [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="_Writeback", DbType="Bit")] public System.Nullable Writeback { get { return this._Writeback; } set { if ((this._Writeback != value)) { this.OnWritebackChanging(value); this.SendPropertyChanging(); this._Writeback = value; this.SendPropertyChanged("Writeback"); this.OnWritebackChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40)")] 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.ICSPO_PoMain")] public partial class ICSPO_PoMain : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _POCode; private string _PORow; private System.DateTime _PODate; private string _VenCode; private string _VenName; private string _PersonCode; private string _PersonName; private string _GroupCode; private string _GroupName; private string _POType; private string _ProjectType; private string _SubjectCode; private string _CurrencyName; private string _InvCode; private string _ORDERNO; private System.Nullable _Price; private System.Nullable _PriceQuantity; private string _WHCode; private string _Status; private string _CreatePerson; private decimal _Quantity; private System.Nullable _INQty; private string _ISUrgent; private string _ServerModel; private string _ReleaseState; private System.Nullable _PreArriveDate; private System.Nullable _ArriveDate; private string _Free1; private System.Nullable _Free2; private System.Nullable _Free3; private System.Nullable _Free4; private string _Free5; private string _WorkPoint; private System.Nullable _ReleaseDate; private System.Nullable _VersionStatus; private string _SOCode; private string _SORow; private string _PayCode; private string _MUSER; private string _MUSERName; private System.Nullable _MTIME; #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 OnPOCodeChanging(string value); partial void OnPOCodeChanged(); partial void OnPORowChanging(string value); partial void OnPORowChanged(); partial void OnPODateChanging(System.DateTime value); partial void OnPODateChanged(); partial void OnVenCodeChanging(string value); partial void OnVenCodeChanged(); partial void OnVenNameChanging(string value); partial void OnVenNameChanged(); partial void OnPersonCodeChanging(string value); partial void OnPersonCodeChanged(); partial void OnPersonNameChanging(string value); partial void OnPersonNameChanged(); partial void OnGroupCodeChanging(string value); partial void OnGroupCodeChanged(); partial void OnGroupNameChanging(string value); partial void OnGroupNameChanged(); partial void OnPOTypeChanging(string value); partial void OnPOTypeChanged(); partial void OnProjectTypeChanging(string value); partial void OnProjectTypeChanged(); partial void OnSubjectCodeChanging(string value); partial void OnSubjectCodeChanged(); partial void OnCurrencyNameChanging(string value); partial void OnCurrencyNameChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnORDERNOChanging(string value); partial void OnORDERNOChanged(); partial void OnPriceChanging(System.Nullable value); partial void OnPriceChanged(); partial void OnPriceQuantityChanging(System.Nullable value); partial void OnPriceQuantityChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnINQtyChanging(System.Nullable value); partial void OnINQtyChanged(); partial void OnISUrgentChanging(string value); partial void OnISUrgentChanged(); partial void OnServerModelChanging(string value); partial void OnServerModelChanged(); partial void OnReleaseStateChanging(string value); partial void OnReleaseStateChanged(); partial void OnPreArriveDateChanging(System.Nullable value); partial void OnPreArriveDateChanged(); partial void OnArriveDateChanging(System.Nullable value); partial void OnArriveDateChanged(); partial void OnFree1Changing(string value); partial void OnFree1Changed(); partial void OnFree2Changing(System.Nullable value); partial void OnFree2Changed(); partial void OnFree3Changing(System.Nullable value); partial void OnFree3Changed(); partial void OnFree4Changing(System.Nullable value); partial void OnFree4Changed(); partial void OnFree5Changing(string value); partial void OnFree5Changed(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnReleaseDateChanging(System.Nullable value); partial void OnReleaseDateChanged(); partial void OnVersionStatusChanging(System.Nullable value); partial void OnVersionStatusChanged(); partial void OnSOCodeChanging(string value); partial void OnSOCodeChanged(); partial void OnSORowChanging(string value); partial void OnSORowChanged(); partial void OnPayCodeChanging(string value); partial void OnPayCodeChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.Nullable value); partial void OnMTIMEChanged(); #endregion public ICSPO_PoMain() { 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="_POCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string POCode { get { return this._POCode; } set { if ((this._POCode != value)) { this.OnPOCodeChanging(value); this.SendPropertyChanging(); this._POCode = value; this.SendPropertyChanged("POCode"); this.OnPOCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PORow", DbType="NVarChar(50)")] public string PORow { get { return this._PORow; } set { if ((this._PORow != value)) { this.OnPORowChanging(value); this.SendPropertyChanging(); this._PORow = value; this.SendPropertyChanged("PORow"); this.OnPORowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODate", DbType="DateTime NOT NULL")] public System.DateTime PODate { get { return this._PODate; } set { if ((this._PODate != value)) { this.OnPODateChanging(value); this.SendPropertyChanging(); this._PODate = value; this.SendPropertyChanged("PODate"); this.OnPODateChanged(); } } } [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="_VenName", DbType="NVarChar(200) NOT NULL", CanBeNull=false)] public string VenName { get { return this._VenName; } set { if ((this._VenName != value)) { this.OnVenNameChanging(value); this.SendPropertyChanging(); this._VenName = value; this.SendPropertyChanged("VenName"); this.OnVenNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonCode", DbType="NVarChar(50)")] public string PersonCode { get { return this._PersonCode; } set { if ((this._PersonCode != value)) { this.OnPersonCodeChanging(value); this.SendPropertyChanging(); this._PersonCode = value; this.SendPropertyChanged("PersonCode"); this.OnPersonCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonName", DbType="NVarChar(50)")] public string PersonName { get { return this._PersonName; } set { if ((this._PersonName != value)) { this.OnPersonNameChanging(value); this.SendPropertyChanging(); this._PersonName = value; this.SendPropertyChanged("PersonName"); this.OnPersonNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupCode", DbType="NVarChar(50)")] public string GroupCode { get { return this._GroupCode; } set { if ((this._GroupCode != value)) { this.OnGroupCodeChanging(value); this.SendPropertyChanging(); this._GroupCode = value; this.SendPropertyChanged("GroupCode"); this.OnGroupCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupName", DbType="NVarChar(100)")] public string GroupName { get { return this._GroupName; } set { if ((this._GroupName != value)) { this.OnGroupNameChanging(value); this.SendPropertyChanging(); this._GroupName = value; this.SendPropertyChanged("GroupName"); this.OnGroupNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POType", DbType="NVarChar(50)")] public string POType { get { return this._POType; } set { if ((this._POType != value)) { this.OnPOTypeChanging(value); this.SendPropertyChanging(); this._POType = value; this.SendPropertyChanged("POType"); this.OnPOTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectType", DbType="NVarChar(50)")] public string ProjectType { get { return this._ProjectType; } set { if ((this._ProjectType != value)) { this.OnProjectTypeChanging(value); this.SendPropertyChanging(); this._ProjectType = value; this.SendPropertyChanged("ProjectType"); this.OnProjectTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubjectCode", DbType="NVarChar(50)")] public string SubjectCode { get { return this._SubjectCode; } set { if ((this._SubjectCode != value)) { this.OnSubjectCodeChanging(value); this.SendPropertyChanging(); this._SubjectCode = value; this.SendPropertyChanged("SubjectCode"); this.OnSubjectCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CurrencyName", DbType="NVarChar(50)")] public string CurrencyName { get { return this._CurrencyName; } set { if ((this._CurrencyName != value)) { this.OnCurrencyNameChanging(value); this.SendPropertyChanging(); this._CurrencyName = value; this.SendPropertyChanged("CurrencyName"); this.OnCurrencyNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(60) 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="_ORDERNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ORDERNO { get { return this._ORDERNO; } set { if ((this._ORDERNO != value)) { this.OnORDERNOChanging(value); this.SendPropertyChanging(); this._ORDERNO = value; this.SendPropertyChanged("ORDERNO"); this.OnORDERNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price", DbType="Decimal(18,3)")] public System.Nullable Price { get { return this._Price; } set { if ((this._Price != value)) { this.OnPriceChanging(value); this.SendPropertyChanging(); this._Price = value; this.SendPropertyChanged("Price"); this.OnPriceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriceQuantity", DbType="Decimal(18,3)")] public System.Nullable PriceQuantity { get { return this._PriceQuantity; } set { if ((this._PriceQuantity != value)) { this.OnPriceQuantityChanging(value); this.SendPropertyChanging(); this._PriceQuantity = value; this.SendPropertyChanged("PriceQuantity"); this.OnPriceQuantityChanged(); } } } [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="_Status", DbType="NChar(10)")] 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="_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="_INQty", DbType="Decimal(18,3)")] public System.Nullable INQty { get { return this._INQty; } set { if ((this._INQty != value)) { this.OnINQtyChanging(value); this.SendPropertyChanging(); this._INQty = value; this.SendPropertyChanged("INQty"); this.OnINQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISUrgent", DbType="NVarChar(10) NOT NULL", CanBeNull=false)] public string ISUrgent { get { return this._ISUrgent; } set { if ((this._ISUrgent != value)) { this.OnISUrgentChanging(value); this.SendPropertyChanging(); this._ISUrgent = value; this.SendPropertyChanged("ISUrgent"); this.OnISUrgentChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServerModel", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ServerModel { get { return this._ServerModel; } set { if ((this._ServerModel != value)) { this.OnServerModelChanging(value); this.SendPropertyChanging(); this._ServerModel = value; this.SendPropertyChanged("ServerModel"); this.OnServerModelChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReleaseState", DbType="NVarChar(50)")] public string ReleaseState { get { return this._ReleaseState; } set { if ((this._ReleaseState != value)) { this.OnReleaseStateChanging(value); this.SendPropertyChanging(); this._ReleaseState = value; this.SendPropertyChanged("ReleaseState"); this.OnReleaseStateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreArriveDate", DbType="DateTime")] public System.Nullable PreArriveDate { get { return this._PreArriveDate; } set { if ((this._PreArriveDate != value)) { this.OnPreArriveDateChanging(value); this.SendPropertyChanging(); this._PreArriveDate = value; this.SendPropertyChanged("PreArriveDate"); this.OnPreArriveDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArriveDate", DbType="DateTime")] public System.Nullable 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="_Free1", DbType="NVarChar(50)")] public string Free1 { get { return this._Free1; } set { if ((this._Free1 != value)) { this.OnFree1Changing(value); this.SendPropertyChanging(); this._Free1 = value; this.SendPropertyChanged("Free1"); this.OnFree1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free2", DbType="Int")] public System.Nullable Free2 { get { return this._Free2; } set { if ((this._Free2 != value)) { this.OnFree2Changing(value); this.SendPropertyChanging(); this._Free2 = value; this.SendPropertyChanged("Free2"); this.OnFree2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free3", DbType="Decimal(18,2)")] public System.Nullable Free3 { get { return this._Free3; } set { if ((this._Free3 != value)) { this.OnFree3Changing(value); this.SendPropertyChanging(); this._Free3 = value; this.SendPropertyChanged("Free3"); this.OnFree3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free4", DbType="Decimal(18,2)")] public System.Nullable Free4 { get { return this._Free4; } set { if ((this._Free4 != value)) { this.OnFree4Changing(value); this.SendPropertyChanging(); this._Free4 = value; this.SendPropertyChanged("Free4"); this.OnFree4Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Free5", DbType="NVarChar(50)")] public string Free5 { get { return this._Free5; } set { if ((this._Free5 != value)) { this.OnFree5Changing(value); this.SendPropertyChanging(); this._Free5 = value; this.SendPropertyChanged("Free5"); this.OnFree5Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(10) 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="_ReleaseDate", DbType="DateTime")] public System.Nullable ReleaseDate { get { return this._ReleaseDate; } set { if ((this._ReleaseDate != value)) { this.OnReleaseDateChanging(value); this.SendPropertyChanging(); this._ReleaseDate = value; this.SendPropertyChanged("ReleaseDate"); this.OnReleaseDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VersionStatus", DbType="Int")] public System.Nullable VersionStatus { get { return this._VersionStatus; } set { if ((this._VersionStatus != value)) { this.OnVersionStatusChanging(value); this.SendPropertyChanging(); this._VersionStatus = value; this.SendPropertyChanged("VersionStatus"); this.OnVersionStatusChanged(); } } } [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="_SORow", DbType="NVarChar(50)")] public string SORow { get { return this._SORow; } set { if ((this._SORow != value)) { this.OnSORowChanging(value); this.SendPropertyChanging(); this._SORow = value; this.SendPropertyChanged("SORow"); this.OnSORowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PayCode", DbType="NVarChar(100)")] public string PayCode { get { return this._PayCode; } set { if ((this._PayCode != value)) { this.OnPayCodeChanging(value); this.SendPropertyChanging(); this._PayCode = value; this.SendPropertyChanged("PayCode"); this.OnPayCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50)")] 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")] public System.Nullable MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } 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.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 _INVUOM; private string _INVTYPE; private string _INVCLASS; private string _INVMACHINETYPE; private string _INVVOLUME; private string _INVMODELCODE; private string _INVEXPORTIMPORT; private string _INVMODELGROUP; private string _INVGROUP; private string _INVGROUPDESC; private string _INVCONTROLTYPE; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _INVPARSETYPE; private string _CHECKSTATUS; private string _INVCHECKTYPE; private System.Nullable _SNLENGTH; private string _VENDORCODE; private string _ROHS; private string _NeedVendor; private System.Nullable _INVShelfLife; private System.Nullable _INVCARTONQTY; private System.Nullable _ITEMBURNINQTY; private System.Nullable _ELECTRICCURRENTMINVALUE; private System.Nullable _ELECTRICCURRENTMAXVALUE; private int _PCBACOUNT; private string _CHKITEMOP; private string _ISSMT; private string _INVSTD; private System.Nullable _fInExcess; #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 OnINVUOMChanging(string value); partial void OnINVUOMChanged(); partial void OnINVTYPEChanging(string value); partial void OnINVTYPEChanged(); partial void OnINVCLASSChanging(string value); partial void OnINVCLASSChanged(); partial void OnINVMACHINETYPEChanging(string value); partial void OnINVMACHINETYPEChanged(); partial void OnINVVOLUMEChanging(string value); partial void OnINVVOLUMEChanged(); partial void OnINVMODELCODEChanging(string value); partial void OnINVMODELCODEChanged(); partial void OnINVEXPORTIMPORTChanging(string value); partial void OnINVEXPORTIMPORTChanged(); partial void OnINVMODELGROUPChanging(string value); partial void OnINVMODELGROUPChanged(); partial void OnINVGROUPChanging(string value); partial void OnINVGROUPChanged(); partial void OnINVGROUPDESCChanging(string value); partial void OnINVGROUPDESCChanged(); partial void OnINVCONTROLTYPEChanging(string value); partial void OnINVCONTROLTYPEChanged(); 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 OnINVPARSETYPEChanging(string value); partial void OnINVPARSETYPEChanged(); partial void OnCHECKSTATUSChanging(string value); partial void OnCHECKSTATUSChanged(); partial void OnINVCHECKTYPEChanging(string value); partial void OnINVCHECKTYPEChanged(); partial void OnSNLENGTHChanging(System.Nullable value); partial void OnSNLENGTHChanged(); partial void OnVENDORCODEChanging(string value); partial void OnVENDORCODEChanged(); partial void OnROHSChanging(string value); partial void OnROHSChanged(); partial void OnNeedVendorChanging(string value); partial void OnNeedVendorChanged(); partial void OnINVShelfLifeChanging(System.Nullable value); partial void OnINVShelfLifeChanged(); partial void OnINVCARTONQTYChanging(System.Nullable value); partial void OnINVCARTONQTYChanged(); partial void OnITEMBURNINQTYChanging(System.Nullable value); partial void OnITEMBURNINQTYChanged(); partial void OnELECTRICCURRENTMINVALUEChanging(System.Nullable value); partial void OnELECTRICCURRENTMINVALUEChanged(); partial void OnELECTRICCURRENTMAXVALUEChanging(System.Nullable value); partial void OnELECTRICCURRENTMAXVALUEChanged(); partial void OnPCBACOUNTChanging(int value); partial void OnPCBACOUNTChanged(); partial void OnCHKITEMOPChanging(string value); partial void OnCHKITEMOPChanged(); partial void OnISSMTChanging(string value); partial void OnISSMTChanged(); partial void OnINVSTDChanging(string value); partial void OnINVSTDChanged(); partial void OnfInExcessChanging(System.Nullable value); partial void OnfInExcessChanged(); #endregion public ICSINVENTORY() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(40) 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(120)")] 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(200)")] 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="_INVUOM", DbType="NVarChar(40)")] public string INVUOM { get { return this._INVUOM; } set { if ((this._INVUOM != value)) { this.OnINVUOMChanging(value); this.SendPropertyChanging(); this._INVUOM = value; this.SendPropertyChanged("INVUOM"); this.OnINVUOMChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVTYPE", DbType="NVarChar(80) NOT NULL", CanBeNull=false)] public string INVTYPE { get { return this._INVTYPE; } set { if ((this._INVTYPE != value)) { this.OnINVTYPEChanging(value); this.SendPropertyChanging(); this._INVTYPE = value; this.SendPropertyChanged("INVTYPE"); this.OnINVTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCLASS", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string INVCLASS { get { return this._INVCLASS; } set { if ((this._INVCLASS != value)) { this.OnINVCLASSChanging(value); this.SendPropertyChanging(); this._INVCLASS = value; this.SendPropertyChanged("INVCLASS"); this.OnINVCLASSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVMACHINETYPE", DbType="NVarChar(40)")] public string INVMACHINETYPE { get { return this._INVMACHINETYPE; } set { if ((this._INVMACHINETYPE != value)) { this.OnINVMACHINETYPEChanging(value); this.SendPropertyChanging(); this._INVMACHINETYPE = value; this.SendPropertyChanged("INVMACHINETYPE"); this.OnINVMACHINETYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVVOLUME", DbType="NVarChar(40)")] public string INVVOLUME { get { return this._INVVOLUME; } set { if ((this._INVVOLUME != value)) { this.OnINVVOLUMEChanging(value); this.SendPropertyChanging(); this._INVVOLUME = value; this.SendPropertyChanged("INVVOLUME"); this.OnINVVOLUMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVMODELCODE", DbType="NVarChar(40)")] public string INVMODELCODE { get { return this._INVMODELCODE; } set { if ((this._INVMODELCODE != value)) { this.OnINVMODELCODEChanging(value); this.SendPropertyChanging(); this._INVMODELCODE = value; this.SendPropertyChanged("INVMODELCODE"); this.OnINVMODELCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVEXPORTIMPORT", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string INVEXPORTIMPORT { get { return this._INVEXPORTIMPORT; } set { if ((this._INVEXPORTIMPORT != value)) { this.OnINVEXPORTIMPORTChanging(value); this.SendPropertyChanging(); this._INVEXPORTIMPORT = value; this.SendPropertyChanged("INVEXPORTIMPORT"); this.OnINVEXPORTIMPORTChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVMODELGROUP", DbType="NVarChar(40)")] public string INVMODELGROUP { get { return this._INVMODELGROUP; } set { if ((this._INVMODELGROUP != value)) { this.OnINVMODELGROUPChanging(value); this.SendPropertyChanging(); this._INVMODELGROUP = value; this.SendPropertyChanged("INVMODELGROUP"); this.OnINVMODELGROUPChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVGROUP", DbType="NVarChar(40)")] public string INVGROUP { get { return this._INVGROUP; } set { if ((this._INVGROUP != value)) { this.OnINVGROUPChanging(value); this.SendPropertyChanging(); this._INVGROUP = value; this.SendPropertyChanged("INVGROUP"); this.OnINVGROUPChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVGROUPDESC", DbType="NVarChar(40)")] public string INVGROUPDESC { get { return this._INVGROUPDESC; } set { if ((this._INVGROUPDESC != value)) { this.OnINVGROUPDESCChanging(value); this.SendPropertyChanging(); this._INVGROUPDESC = value; this.SendPropertyChanged("INVGROUPDESC"); this.OnINVGROUPDESCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCONTROLTYPE", DbType="NVarChar(40) NOT NULL", CanBeNull=false)] public string INVCONTROLTYPE { get { return this._INVCONTROLTYPE; } set { if ((this._INVCONTROLTYPE != value)) { this.OnINVCONTROLTYPEChanging(value); this.SendPropertyChanging(); this._INVCONTROLTYPE = value; this.SendPropertyChanged("INVCONTROLTYPE"); this.OnINVCONTROLTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(40) 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(40) 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(40) 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(40)")] 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="_INVPARSETYPE", DbType="NVarChar(100)")] public string INVPARSETYPE { get { return this._INVPARSETYPE; } set { if ((this._INVPARSETYPE != value)) { this.OnINVPARSETYPEChanging(value); this.SendPropertyChanging(); this._INVPARSETYPE = value; this.SendPropertyChanged("INVPARSETYPE"); this.OnINVPARSETYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHECKSTATUS", DbType="NVarChar(40)")] public string CHECKSTATUS { get { return this._CHECKSTATUS; } set { if ((this._CHECKSTATUS != value)) { this.OnCHECKSTATUSChanging(value); this.SendPropertyChanging(); this._CHECKSTATUS = value; this.SendPropertyChanged("CHECKSTATUS"); this.OnCHECKSTATUSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCHECKTYPE", DbType="NVarChar(40)")] public string INVCHECKTYPE { get { return this._INVCHECKTYPE; } set { if ((this._INVCHECKTYPE != value)) { this.OnINVCHECKTYPEChanging(value); this.SendPropertyChanging(); this._INVCHECKTYPE = value; this.SendPropertyChanged("INVCHECKTYPE"); this.OnINVCHECKTYPEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SNLENGTH", DbType="Int")] public System.Nullable SNLENGTH { get { return this._SNLENGTH; } set { if ((this._SNLENGTH != value)) { this.OnSNLENGTHChanging(value); this.SendPropertyChanging(); this._SNLENGTH = value; this.SendPropertyChanged("SNLENGTH"); this.OnSNLENGTHChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VENDORCODE", DbType="NVarChar(40)")] public string VENDORCODE { get { return this._VENDORCODE; } set { if ((this._VENDORCODE != value)) { this.OnVENDORCODEChanging(value); this.SendPropertyChanging(); this._VENDORCODE = value; this.SendPropertyChanged("VENDORCODE"); this.OnVENDORCODEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ROHS", DbType="NVarChar(15)")] public string ROHS { get { return this._ROHS; } set { if ((this._ROHS != value)) { this.OnROHSChanging(value); this.SendPropertyChanging(); this._ROHS = value; this.SendPropertyChanged("ROHS"); this.OnROHSChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedVendor", DbType="NVarChar(40)")] public string NeedVendor { get { return this._NeedVendor; } set { if ((this._NeedVendor != value)) { this.OnNeedVendorChanging(value); this.SendPropertyChanging(); this._NeedVendor = value; this.SendPropertyChanged("NeedVendor"); this.OnNeedVendorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVShelfLife", DbType="Int")] public System.Nullable INVShelfLife { get { return this._INVShelfLife; } set { if ((this._INVShelfLife != value)) { this.OnINVShelfLifeChanging(value); this.SendPropertyChanging(); this._INVShelfLife = value; this.SendPropertyChanged("INVShelfLife"); this.OnINVShelfLifeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCARTONQTY", DbType="Int")] public System.Nullable INVCARTONQTY { get { return this._INVCARTONQTY; } set { if ((this._INVCARTONQTY != value)) { this.OnINVCARTONQTYChanging(value); this.SendPropertyChanging(); this._INVCARTONQTY = value; this.SendPropertyChanged("INVCARTONQTY"); this.OnINVCARTONQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ITEMBURNINQTY", DbType="Int")] public System.Nullable ITEMBURNINQTY { get { return this._ITEMBURNINQTY; } set { if ((this._ITEMBURNINQTY != value)) { this.OnITEMBURNINQTYChanging(value); this.SendPropertyChanging(); this._ITEMBURNINQTY = value; this.SendPropertyChanged("ITEMBURNINQTY"); this.OnITEMBURNINQTYChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ELECTRICCURRENTMINVALUE", DbType="Decimal(18,0)")] public System.Nullable ELECTRICCURRENTMINVALUE { get { return this._ELECTRICCURRENTMINVALUE; } set { if ((this._ELECTRICCURRENTMINVALUE != value)) { this.OnELECTRICCURRENTMINVALUEChanging(value); this.SendPropertyChanging(); this._ELECTRICCURRENTMINVALUE = value; this.SendPropertyChanged("ELECTRICCURRENTMINVALUE"); this.OnELECTRICCURRENTMINVALUEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ELECTRICCURRENTMAXVALUE", DbType="Decimal(18,0)")] public System.Nullable ELECTRICCURRENTMAXVALUE { get { return this._ELECTRICCURRENTMAXVALUE; } set { if ((this._ELECTRICCURRENTMAXVALUE != value)) { this.OnELECTRICCURRENTMAXVALUEChanging(value); this.SendPropertyChanging(); this._ELECTRICCURRENTMAXVALUE = value; this.SendPropertyChanged("ELECTRICCURRENTMAXVALUE"); this.OnELECTRICCURRENTMAXVALUEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PCBACOUNT", DbType="Int NOT NULL")] public int PCBACOUNT { get { return this._PCBACOUNT; } set { if ((this._PCBACOUNT != value)) { this.OnPCBACOUNTChanging(value); this.SendPropertyChanging(); this._PCBACOUNT = value; this.SendPropertyChanged("PCBACOUNT"); this.OnPCBACOUNTChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHKITEMOP", DbType="VarChar(40)")] public string CHKITEMOP { get { return this._CHKITEMOP; } set { if ((this._CHKITEMOP != value)) { this.OnCHKITEMOPChanging(value); this.SendPropertyChanging(); this._CHKITEMOP = value; this.SendPropertyChanged("CHKITEMOP"); this.OnCHKITEMOPChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISSMT", DbType="NVarChar(40)")] public string ISSMT { get { return this._ISSMT; } set { if ((this._ISSMT != value)) { this.OnISSMTChanging(value); this.SendPropertyChanging(); this._ISSMT = value; this.SendPropertyChanged("ISSMT"); this.OnISSMTChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVSTD", DbType="NVarChar(1000)")] 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="_fInExcess", DbType="Decimal(18,4)")] public System.Nullable fInExcess { get { return this._fInExcess; } set { if ((this._fInExcess != value)) { this.OnfInExcessChanging(value); this.SendPropertyChanging(); this._fInExcess = value; this.SendPropertyChanged("fInExcess"); this.OnfInExcessChanged(); } } } 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