|
|
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ICSSoft.Frame.Data.Entity { using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="ICS_WMS_NW")] public partial class FramDataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); #region 可扩展性方法定义
partial void OnCreated(); partial void InsertICSInventory(ICSInventory instance); partial void UpdateICSInventory(ICSInventory instance); partial void DeleteICSInventory(ICSInventory instance); partial void InsertICSExtension(ICSExtension instance); partial void UpdateICSExtension(ICSExtension instance); partial void DeleteICSExtension(ICSExtension instance); partial void InsertICSOApply(ICSOApply instance); partial void UpdateICSOApply(ICSOApply instance); partial void DeleteICSOApply(ICSOApply instance); partial void InsertICSMOApply(ICSMOApply instance); partial void UpdateICSMOApply(ICSMOApply instance); partial void DeleteICSMOApply(ICSMOApply instance); partial void InsertICSMOApplyNeg(ICSMOApplyNeg instance); partial void UpdateICSMOApplyNeg(ICSMOApplyNeg instance); partial void DeleteICSMOApplyNeg(ICSMOApplyNeg instance); partial void InsertICSMOApplyNegDetail(ICSMOApplyNegDetail instance); partial void UpdateICSMOApplyNegDetail(ICSMOApplyNegDetail instance); partial void DeleteICSMOApplyNegDetail(ICSMOApplyNegDetail instance); partial void InsertICSTransfer(ICSTransfer instance); partial void UpdateICSTransfer(ICSTransfer instance); partial void DeleteICSTransfer(ICSTransfer instance); partial void InsertICSMTDOC(ICSMTDOC instance); partial void UpdateICSMTDOC(ICSMTDOC instance); partial void DeleteICSMTDOC(ICSMTDOC instance); partial void InsertICSManufactureReceive(ICSManufactureReceive instance); partial void UpdateICSManufactureReceive(ICSManufactureReceive instance); partial void DeleteICSManufactureReceive(ICSManufactureReceive instance); partial void InsertICSDeliveryNotice(ICSDeliveryNotice instance); partial void UpdateICSDeliveryNotice(ICSDeliveryNotice instance); partial void DeleteICSDeliveryNotice(ICSDeliveryNotice instance); partial void InsertICSSDN(ICSSDN instance); partial void UpdateICSSDN(ICSSDN instance); partial void DeleteICSSDN(ICSSDN instance); #endregion
public FramDataContext() : base(global::ICSSoft.Frame.Data.Entity.Properties.Settings.Default.ICS_WMS_NWConnectionString, mappingSource) { OnCreated(); } public FramDataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public FramDataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public FramDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public FramDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public System.Data.Linq.Table<ICSInventory> ICSInventory { get { return this.GetTable<ICSInventory>(); } } public System.Data.Linq.Table<ICSExtension> ICSExtension { get { return this.GetTable<ICSExtension>(); } } public System.Data.Linq.Table<ICSOApply> ICSOApply { get { return this.GetTable<ICSOApply>(); } } public System.Data.Linq.Table<ICSMOApply> ICSMOApply { get { return this.GetTable<ICSMOApply>(); } } public System.Data.Linq.Table<ICSMOApplyNeg> ICSMOApplyNeg { get { return this.GetTable<ICSMOApplyNeg>(); } } public System.Data.Linq.Table<ICSMOApplyNegDetail> ICSMOApplyNegDetail { get { return this.GetTable<ICSMOApplyNegDetail>(); } } public System.Data.Linq.Table<ICSTransfer> ICSTransfer { get { return this.GetTable<ICSTransfer>(); } } public System.Data.Linq.Table<ICSMTDOC> ICSMTDOC { get { return this.GetTable<ICSMTDOC>(); } } public System.Data.Linq.Table<ICSManufactureReceive> ICSManufactureReceive { get { return this.GetTable<ICSManufactureReceive>(); } } public System.Data.Linq.Table<ICSDeliveryNotice> ICSDeliveryNotice { get { return this.GetTable<ICSDeliveryNotice>(); } } public System.Data.Linq.Table<ICSSDN> ICSSDN { get { return this.GetTable<ICSSDN>(); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventory")] public partial class ICSInventory : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _InvCode; private string _InvName; private string _InvDesc; private string _InvStd; private string _InvUnit; private string _AmountUnit; private string _ClassCode; private string _ClassName; private decimal _InvRate; private string _InvVersion; private string _InvBrand; private bool _InvIQC; private bool _InvFQC; private bool _EffectiveEnable; private decimal _EffectiveDays; private bool _BatchEnable; private bool _LotEnable; private bool _PrintEnable; private string _WHUser; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnInvNameChanging(string value); partial void OnInvNameChanged(); partial void OnInvDescChanging(string value); partial void OnInvDescChanged(); partial void OnInvStdChanging(string value); partial void OnInvStdChanged(); partial void OnInvUnitChanging(string value); partial void OnInvUnitChanged(); partial void OnAmountUnitChanging(string value); partial void OnAmountUnitChanged(); partial void OnClassCodeChanging(string value); partial void OnClassCodeChanged(); partial void OnClassNameChanging(string value); partial void OnClassNameChanged(); partial void OnInvRateChanging(decimal value); partial void OnInvRateChanged(); partial void OnInvVersionChanging(string value); partial void OnInvVersionChanged(); partial void OnInvBrandChanging(string value); partial void OnInvBrandChanged(); partial void OnInvIQCChanging(bool value); partial void OnInvIQCChanged(); partial void OnInvFQCChanging(bool value); partial void OnInvFQCChanged(); partial void OnEffectiveEnableChanging(bool value); partial void OnEffectiveEnableChanged(); partial void OnEffectiveDaysChanging(decimal value); partial void OnEffectiveDaysChanged(); partial void OnBatchEnableChanging(bool value); partial void OnBatchEnableChanged(); partial void OnLotEnableChanging(bool value); partial void OnLotEnableChanged(); partial void OnPrintEnableChanging(bool value); partial void OnPrintEnableChanged(); partial void OnWHUserChanging(string value); partial void OnWHUserChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion
public ICSInventory() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)] public string InvName { get { return this._InvName; } set { if ((this._InvName != value)) { this.OnInvNameChanging(value); this.SendPropertyChanging(); this._InvName = value; this.SendPropertyChanged("InvName"); this.OnInvNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDesc", DbType="NVarChar(500)")] public string InvDesc { get { return this._InvDesc; } set { if ((this._InvDesc != value)) { this.OnInvDescChanging(value); this.SendPropertyChanging(); this._InvDesc = value; this.SendPropertyChanged("InvDesc"); this.OnInvDescChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvStd", DbType="NVarChar(500)")] public string InvStd { get { return this._InvStd; } set { if ((this._InvStd != value)) { this.OnInvStdChanging(value); this.SendPropertyChanging(); this._InvStd = value; this.SendPropertyChanged("InvStd"); this.OnInvStdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvUnit", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvUnit { get { return this._InvUnit; } set { if ((this._InvUnit != value)) { this.OnInvUnitChanging(value); this.SendPropertyChanging(); this._InvUnit = value; this.SendPropertyChanged("InvUnit"); this.OnInvUnitChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountUnit", DbType="NVarChar(50)")] public string AmountUnit { get { return this._AmountUnit; } set { if ((this._AmountUnit != value)) { this.OnAmountUnitChanging(value); this.SendPropertyChanging(); this._AmountUnit = value; this.SendPropertyChanged("AmountUnit"); this.OnAmountUnitChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ClassCode { get { return this._ClassCode; } set { if ((this._ClassCode != value)) { this.OnClassCodeChanging(value); this.SendPropertyChanging(); this._ClassCode = value; this.SendPropertyChanged("ClassCode"); this.OnClassCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(80) NOT NULL", CanBeNull=false)] public string ClassName { get { return this._ClassName; } set { if ((this._ClassName != value)) { this.OnClassNameChanging(value); this.SendPropertyChanging(); this._ClassName = value; this.SendPropertyChanged("ClassName"); this.OnClassNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvRate", DbType="Decimal(18,6) NOT NULL")] public decimal InvRate { get { return this._InvRate; } set { if ((this._InvRate != value)) { this.OnInvRateChanging(value); this.SendPropertyChanging(); this._InvRate = value; this.SendPropertyChanged("InvRate"); this.OnInvRateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvVersion", DbType="NVarChar(50)")] public string InvVersion { get { return this._InvVersion; } set { if ((this._InvVersion != value)) { this.OnInvVersionChanging(value); this.SendPropertyChanging(); this._InvVersion = value; this.SendPropertyChanged("InvVersion"); this.OnInvVersionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvBrand", DbType="NVarChar(50)")] public string InvBrand { get { return this._InvBrand; } set { if ((this._InvBrand != value)) { this.OnInvBrandChanging(value); this.SendPropertyChanging(); this._InvBrand = value; this.SendPropertyChanged("InvBrand"); this.OnInvBrandChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvIQC", DbType="Bit NOT NULL")] public bool InvIQC { get { return this._InvIQC; } set { if ((this._InvIQC != value)) { this.OnInvIQCChanging(value); this.SendPropertyChanging(); this._InvIQC = value; this.SendPropertyChanged("InvIQC"); this.OnInvIQCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvFQC", DbType="Bit NOT NULL")] public bool InvFQC { get { return this._InvFQC; } set { if ((this._InvFQC != value)) { this.OnInvFQCChanging(value); this.SendPropertyChanging(); this._InvFQC = value; this.SendPropertyChanged("InvFQC"); this.OnInvFQCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveEnable", DbType="Bit NOT NULL")] public bool EffectiveEnable { get { return this._EffectiveEnable; } set { if ((this._EffectiveEnable != value)) { this.OnEffectiveEnableChanging(value); this.SendPropertyChanging(); this._EffectiveEnable = value; this.SendPropertyChanged("EffectiveEnable"); this.OnEffectiveEnableChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveDays", DbType="Decimal(18,6) NOT NULL")] public decimal EffectiveDays { get { return this._EffectiveDays; } set { if ((this._EffectiveDays != value)) { this.OnEffectiveDaysChanging(value); this.SendPropertyChanging(); this._EffectiveDays = value; this.SendPropertyChanged("EffectiveDays"); this.OnEffectiveDaysChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")] public bool BatchEnable { get { return this._BatchEnable; } set { if ((this._BatchEnable != value)) { this.OnBatchEnableChanging(value); this.SendPropertyChanging(); this._BatchEnable = value; this.SendPropertyChanged("BatchEnable"); this.OnBatchEnableChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotEnable", DbType="Bit NOT NULL")] public bool LotEnable { get { return this._LotEnable; } set { if ((this._LotEnable != value)) { this.OnLotEnableChanging(value); this.SendPropertyChanging(); this._LotEnable = value; this.SendPropertyChanged("LotEnable"); this.OnLotEnableChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintEnable", DbType="Bit NOT NULL")] public bool PrintEnable { get { return this._PrintEnable; } set { if ((this._PrintEnable != value)) { this.OnPrintEnableChanging(value); this.SendPropertyChanging(); this._PrintEnable = value; this.SendPropertyChanged("PrintEnable"); this.OnPrintEnableChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHUser", DbType="NVarChar(50)")] public string WHUser { get { return this._WHUser; } set { if ((this._WHUser != value)) { this.OnWHUserChanging(value); this.SendPropertyChanging(); this._WHUser = value; this.SendPropertyChanged("WHUser"); this.OnWHUserChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSExtension")] public partial class ICSExtension : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _Colspan; private string _ProjectCode; private string _BatchCode; private string _Version; private string _Brand; private string _cFree1; private string _cFree2; private string _cFree3; private string _cFree4; private string _cFree5; private string _cFree6; private string _cFree7; private string _cFree8; private string _cFree9; private string _cFree10; private System.DateTime _MTIME; private string _MUSER; private string _MUSERName; private string _WorkPoint; private string _EATTRIBUTE1; private string _EATTRIBUTE2; private string _EATTRIBUTE3; private string _EATTRIBUTE4; private string _EATTRIBUTE5; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnColspanChanging(string value); partial void OnColspanChanged(); partial void OnProjectCodeChanging(string value); partial void OnProjectCodeChanged(); partial void OnBatchCodeChanging(string value); partial void OnBatchCodeChanged(); partial void OnVersionChanging(string value); partial void OnVersionChanged(); partial void OnBrandChanging(string value); partial void OnBrandChanged(); partial void OncFree1Changing(string value); partial void OncFree1Changed(); partial void OncFree2Changing(string value); partial void OncFree2Changed(); partial void OncFree3Changing(string value); partial void OncFree3Changed(); partial void OncFree4Changing(string value); partial void OncFree4Changed(); partial void OncFree5Changing(string value); partial void OncFree5Changed(); partial void OncFree6Changing(string value); partial void OncFree6Changed(); partial void OncFree7Changing(string value); partial void OncFree7Changed(); partial void OncFree8Changing(string value); partial void OncFree8Changed(); partial void OncFree9Changing(string value); partial void OncFree9Changed(); partial void OncFree10Changing(string value); partial void OncFree10Changed(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); partial void OnEATTRIBUTE2Changing(string value); partial void OnEATTRIBUTE2Changed(); partial void OnEATTRIBUTE3Changing(string value); partial void OnEATTRIBUTE3Changed(); partial void OnEATTRIBUTE4Changing(string value); partial void OnEATTRIBUTE4Changed(); partial void OnEATTRIBUTE5Changing(string value); partial void OnEATTRIBUTE5Changed(); #endregion
public ICSExtension() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Colspan", DbType="NVarChar(500) NOT NULL", CanBeNull=false)] public string Colspan { get { return this._Colspan; } set { if ((this._Colspan != value)) { this.OnColspanChanging(value); this.SendPropertyChanging(); this._Colspan = value; this.SendPropertyChanged("Colspan"); this.OnColspanChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(100)")] public string ProjectCode { get { return this._ProjectCode; } set { if ((this._ProjectCode != value)) { this.OnProjectCodeChanging(value); this.SendPropertyChanging(); this._ProjectCode = value; this.SendPropertyChanged("ProjectCode"); this.OnProjectCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] public string BatchCode { get { return this._BatchCode; } set { if ((this._BatchCode != value)) { this.OnBatchCodeChanging(value); this.SendPropertyChanging(); this._BatchCode = value; this.SendPropertyChanged("BatchCode"); this.OnBatchCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Version", DbType="NVarChar(100)")] public string Version { get { return this._Version; } set { if ((this._Version != value)) { this.OnVersionChanging(value); this.SendPropertyChanging(); this._Version = value; this.SendPropertyChanged("Version"); this.OnVersionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brand", DbType="NVarChar(100)")] public string Brand { get { return this._Brand; } set { if ((this._Brand != value)) { this.OnBrandChanging(value); this.SendPropertyChanging(); this._Brand = value; this.SendPropertyChanged("Brand"); this.OnBrandChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree1", DbType="NVarChar(100)")] public string cFree1 { get { return this._cFree1; } set { if ((this._cFree1 != value)) { this.OncFree1Changing(value); this.SendPropertyChanging(); this._cFree1 = value; this.SendPropertyChanged("cFree1"); this.OncFree1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree2", DbType="NVarChar(100)")] public string cFree2 { get { return this._cFree2; } set { if ((this._cFree2 != value)) { this.OncFree2Changing(value); this.SendPropertyChanging(); this._cFree2 = value; this.SendPropertyChanged("cFree2"); this.OncFree2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree3", DbType="NVarChar(100)")] public string cFree3 { get { return this._cFree3; } set { if ((this._cFree3 != value)) { this.OncFree3Changing(value); this.SendPropertyChanging(); this._cFree3 = value; this.SendPropertyChanged("cFree3"); this.OncFree3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree4", DbType="NVarChar(100)")] public string cFree4 { get { return this._cFree4; } set { if ((this._cFree4 != value)) { this.OncFree4Changing(value); this.SendPropertyChanging(); this._cFree4 = value; this.SendPropertyChanged("cFree4"); this.OncFree4Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree5", DbType="NVarChar(100)")] public string cFree5 { get { return this._cFree5; } set { if ((this._cFree5 != value)) { this.OncFree5Changing(value); this.SendPropertyChanging(); this._cFree5 = value; this.SendPropertyChanged("cFree5"); this.OncFree5Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree6", DbType="NVarChar(100)")] public string cFree6 { get { return this._cFree6; } set { if ((this._cFree6 != value)) { this.OncFree6Changing(value); this.SendPropertyChanging(); this._cFree6 = value; this.SendPropertyChanged("cFree6"); this.OncFree6Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree7", DbType="NVarChar(100)")] public string cFree7 { get { return this._cFree7; } set { if ((this._cFree7 != value)) { this.OncFree7Changing(value); this.SendPropertyChanging(); this._cFree7 = value; this.SendPropertyChanged("cFree7"); this.OncFree7Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree8", DbType="NVarChar(100)")] public string cFree8 { get { return this._cFree8; } set { if ((this._cFree8 != value)) { this.OncFree8Changing(value); this.SendPropertyChanging(); this._cFree8 = value; this.SendPropertyChanged("cFree8"); this.OncFree8Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree9", DbType="NVarChar(100)")] public string cFree9 { get { return this._cFree9; } set { if ((this._cFree9 != value)) { this.OncFree9Changing(value); this.SendPropertyChanging(); this._cFree9 = value; this.SendPropertyChanged("cFree9"); this.OncFree9Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree10", DbType="NVarChar(100)")] public string cFree10 { get { return this._cFree10; } set { if ((this._cFree10 != value)) { this.OncFree10Changing(value); this.SendPropertyChanging(); this._cFree10 = value; this.SendPropertyChanged("cFree10"); this.OncFree10Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")] public string EATTRIBUTE2 { get { return this._EATTRIBUTE2; } set { if ((this._EATTRIBUTE2 != value)) { this.OnEATTRIBUTE2Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE2 = value; this.SendPropertyChanged("EATTRIBUTE2"); this.OnEATTRIBUTE2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")] public string EATTRIBUTE3 { get { return this._EATTRIBUTE3; } set { if ((this._EATTRIBUTE3 != value)) { this.OnEATTRIBUTE3Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE3 = value; this.SendPropertyChanged("EATTRIBUTE3"); this.OnEATTRIBUTE3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE4", DbType="NVarChar(50)")] public string EATTRIBUTE4 { get { return this._EATTRIBUTE4; } set { if ((this._EATTRIBUTE4 != value)) { this.OnEATTRIBUTE4Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE4 = value; this.SendPropertyChanged("EATTRIBUTE4"); this.OnEATTRIBUTE4Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE5", DbType="NVarChar(50)")] public string EATTRIBUTE5 { get { return this._EATTRIBUTE5; } set { if ((this._EATTRIBUTE5 != value)) { this.OnEATTRIBUTE5Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE5 = value; this.SendPropertyChanged("EATTRIBUTE5"); this.OnEATTRIBUTE5Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOApply")] public partial class ICSOApply : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ApplyCode; private string _Sequence; private string _SourceCode; private string _SourceSequence; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _IssueQuantity; private string _WHCode; private string _Type; private string _Status; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _ApplyID; private string _ApplyDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnApplyCodeChanging(string value); partial void OnApplyCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnSourceCodeChanging(string value); partial void OnSourceCodeChanged(); partial void OnSourceSequenceChanging(string value); partial void OnSourceSequenceChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnIssueQuantityChanging(System.Nullable<decimal> value); partial void OnIssueQuantityChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnApplyIDChanging(string value); partial void OnApplyIDChanged(); partial void OnApplyDetailIDChanging(string value); partial void OnApplyDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTEChanging(string value); partial void OnEATTRIBUTEChanged(); #endregion
public ICSOApply() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyCode { get { return this._ApplyCode; } set { if ((this._ApplyCode != value)) { this.OnApplyCodeChanging(value); this.SendPropertyChanging(); this._ApplyCode = value; this.SendPropertyChanged("ApplyCode"); this.OnApplyCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")] public string SourceCode { get { return this._SourceCode; } set { if ((this._SourceCode != value)) { this.OnSourceCodeChanging(value); this.SendPropertyChanging(); this._SourceCode = value; this.SendPropertyChanged("SourceCode"); this.OnSourceCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")] public string SourceSequence { get { return this._SourceSequence; } set { if ((this._SourceSequence != value)) { this.OnSourceSequenceChanging(value); this.SendPropertyChanging(); this._SourceSequence = value; this.SendPropertyChanged("SourceSequence"); this.OnSourceSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> IssueQuantity { get { return this._IssueQuantity; } set { if ((this._IssueQuantity != value)) { this.OnIssueQuantityChanging(value); this.SendPropertyChanging(); this._IssueQuantity = value; this.SendPropertyChanged("IssueQuantity"); this.OnIssueQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyID { get { return this._ApplyID; } set { if ((this._ApplyID != value)) { this.OnApplyIDChanging(value); this.SendPropertyChanging(); this._ApplyID = value; this.SendPropertyChanged("ApplyID"); this.OnApplyIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyDetailID { get { return this._ApplyDetailID; } set { if ((this._ApplyDetailID != value)) { this.OnApplyDetailIDChanging(value); this.SendPropertyChanging(); this._ApplyDetailID = value; this.SendPropertyChanged("ApplyDetailID"); this.OnApplyDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")] public string EATTRIBUTE { get { return this._EATTRIBUTE; } set { if ((this._EATTRIBUTE != value)) { this.OnEATTRIBUTEChanging(value); this.SendPropertyChanging(); this._EATTRIBUTE = value; this.SendPropertyChanged("EATTRIBUTE"); this.OnEATTRIBUTEChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApply")] public partial class ICSMOApply : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ApplyCode; private string _Sequence; private string _SourceCode; private string _SourceSequence; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _IssueQuantity; private string _WHCode; private string _Type; private string _Status; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _ApplyID; private string _ApplyDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnApplyCodeChanging(string value); partial void OnApplyCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnSourceCodeChanging(string value); partial void OnSourceCodeChanged(); partial void OnSourceSequenceChanging(string value); partial void OnSourceSequenceChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnIssueQuantityChanging(System.Nullable<decimal> value); partial void OnIssueQuantityChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnApplyIDChanging(string value); partial void OnApplyIDChanged(); partial void OnApplyDetailIDChanging(string value); partial void OnApplyDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTEChanging(string value); partial void OnEATTRIBUTEChanged(); #endregion
public ICSMOApply() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyCode { get { return this._ApplyCode; } set { if ((this._ApplyCode != value)) { this.OnApplyCodeChanging(value); this.SendPropertyChanging(); this._ApplyCode = value; this.SendPropertyChanged("ApplyCode"); this.OnApplyCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")] public string SourceCode { get { return this._SourceCode; } set { if ((this._SourceCode != value)) { this.OnSourceCodeChanging(value); this.SendPropertyChanging(); this._SourceCode = value; this.SendPropertyChanged("SourceCode"); this.OnSourceCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")] public string SourceSequence { get { return this._SourceSequence; } set { if ((this._SourceSequence != value)) { this.OnSourceSequenceChanging(value); this.SendPropertyChanging(); this._SourceSequence = value; this.SendPropertyChanged("SourceSequence"); this.OnSourceSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> IssueQuantity { get { return this._IssueQuantity; } set { if ((this._IssueQuantity != value)) { this.OnIssueQuantityChanging(value); this.SendPropertyChanging(); this._IssueQuantity = value; this.SendPropertyChanged("IssueQuantity"); this.OnIssueQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyID { get { return this._ApplyID; } set { if ((this._ApplyID != value)) { this.OnApplyIDChanging(value); this.SendPropertyChanging(); this._ApplyID = value; this.SendPropertyChanged("ApplyID"); this.OnApplyIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyDetailID { get { return this._ApplyDetailID; } set { if ((this._ApplyDetailID != value)) { this.OnApplyDetailIDChanging(value); this.SendPropertyChanging(); this._ApplyDetailID = value; this.SendPropertyChanged("ApplyDetailID"); this.OnApplyDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")] public string EATTRIBUTE { get { return this._EATTRIBUTE; } set { if ((this._EATTRIBUTE != value)) { this.OnEATTRIBUTEChanging(value); this.SendPropertyChanging(); this._EATTRIBUTE = value; this.SendPropertyChanged("EATTRIBUTE"); this.OnEATTRIBUTEChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNeg")] public partial class ICSMOApplyNeg : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ApplyNegCode; private string _WHCode; private string _Status; private string _Type; private string _Memo; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnApplyNegCodeChanging(string value); partial void OnApplyNegCodeChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnMemoChanging(string value); partial void OnMemoChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion
public ICSMOApplyNeg() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ApplyNegCode { get { return this._ApplyNegCode; } set { if ((this._ApplyNegCode != value)) { this.OnApplyNegCodeChanging(value); this.SendPropertyChanging(); this._ApplyNegCode = value; this.SendPropertyChanged("ApplyNegCode"); this.OnApplyNegCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_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="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")] public string Memo { get { return this._Memo; } set { if ((this._Memo != value)) { this.OnMemoChanging(value); this.SendPropertyChanging(); this._Memo = value; this.SendPropertyChanged("Memo"); this.OnMemoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNegDetail")] public partial class ICSMOApplyNegDetail : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _ApplyNegCode; private string _Sequence; private string _SourceDetailID; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _IssueNegQuantity; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnApplyNegCodeChanging(string value); partial void OnApplyNegCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnSourceDetailIDChanging(string value); partial void OnSourceDetailIDChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnIssueNegQuantityChanging(System.Nullable<decimal> value); partial void OnIssueNegQuantityChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTEChanging(string value); partial void OnEATTRIBUTEChanged(); #endregion
public ICSMOApplyNegDetail() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ApplyNegCode { get { return this._ApplyNegCode; } set { if ((this._ApplyNegCode != value)) { this.OnApplyNegCodeChanging(value); this.SendPropertyChanging(); this._ApplyNegCode = value; this.SendPropertyChanged("ApplyNegCode"); this.OnApplyNegCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDetailID", DbType="NVarChar(50)")] public string SourceDetailID { get { return this._SourceDetailID; } set { if ((this._SourceDetailID != value)) { this.OnSourceDetailIDChanging(value); this.SendPropertyChanging(); this._SourceDetailID = value; this.SendPropertyChanged("SourceDetailID"); this.OnSourceDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueNegQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> IssueNegQuantity { get { return this._IssueNegQuantity; } set { if ((this._IssueNegQuantity != value)) { this.OnIssueNegQuantityChanging(value); this.SendPropertyChanging(); this._IssueNegQuantity = value; this.SendPropertyChanged("IssueNegQuantity"); this.OnIssueNegQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")] public string EATTRIBUTE { get { return this._EATTRIBUTE; } set { if ((this._EATTRIBUTE != value)) { this.OnEATTRIBUTEChanging(value); this.SendPropertyChanging(); this._EATTRIBUTE = value; this.SendPropertyChanged("EATTRIBUTE"); this.OnEATTRIBUTEChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSTransfer")] public partial class ICSTransfer : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _TransferNO; private string _Sequence; private string _FromWarehouseCode; private string _FromLocationCode; private string _ToWarehouseCode; private string _ToLocationCode; private string _Status; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _TransferQuantity; private string _Type; private string _Memo; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _TransferID; private string _TransferDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnTransferNOChanging(string value); partial void OnTransferNOChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnFromWarehouseCodeChanging(string value); partial void OnFromWarehouseCodeChanged(); partial void OnFromLocationCodeChanging(string value); partial void OnFromLocationCodeChanged(); partial void OnToWarehouseCodeChanging(string value); partial void OnToWarehouseCodeChanged(); partial void OnToLocationCodeChanging(string value); partial void OnToLocationCodeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnTransferQuantityChanging(System.Nullable<decimal> value); partial void OnTransferQuantityChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnMemoChanging(string value); partial void OnMemoChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnTransferIDChanging(string value); partial void OnTransferIDChanged(); partial void OnTransferDetailIDChanging(string value); partial void OnTransferDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion
public ICSTransfer() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string TransferNO { get { return this._TransferNO; } set { if ((this._TransferNO != value)) { this.OnTransferNOChanging(value); this.SendPropertyChanging(); this._TransferNO = value; this.SendPropertyChanged("TransferNO"); this.OnTransferNOChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string FromWarehouseCode { get { return this._FromWarehouseCode; } set { if ((this._FromWarehouseCode != value)) { this.OnFromWarehouseCodeChanging(value); this.SendPropertyChanging(); this._FromWarehouseCode = value; this.SendPropertyChanged("FromWarehouseCode"); this.OnFromWarehouseCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")] public string FromLocationCode { get { return this._FromLocationCode; } set { if ((this._FromLocationCode != value)) { this.OnFromLocationCodeChanging(value); this.SendPropertyChanging(); this._FromLocationCode = value; this.SendPropertyChanged("FromLocationCode"); this.OnFromLocationCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ToWarehouseCode { get { return this._ToWarehouseCode; } set { if ((this._ToWarehouseCode != value)) { this.OnToWarehouseCodeChanging(value); this.SendPropertyChanging(); this._ToWarehouseCode = value; this.SendPropertyChanged("ToWarehouseCode"); this.OnToWarehouseCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")] public string ToLocationCode { get { return this._ToLocationCode; } set { if ((this._ToLocationCode != value)) { this.OnToLocationCodeChanging(value); this.SendPropertyChanging(); this._ToLocationCode = value; this.SendPropertyChanged("ToLocationCode"); this.OnToLocationCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> TransferQuantity { get { return this._TransferQuantity; } set { if ((this._TransferQuantity != value)) { this.OnTransferQuantityChanging(value); this.SendPropertyChanging(); this._TransferQuantity = value; this.SendPropertyChanged("TransferQuantity"); this.OnTransferQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")] public string Memo { get { return this._Memo; } set { if ((this._Memo != value)) { this.OnMemoChanging(value); this.SendPropertyChanging(); this._Memo = value; this.SendPropertyChanged("Memo"); this.OnMemoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string TransferID { get { return this._TransferID; } set { if ((this._TransferID != value)) { this.OnTransferIDChanging(value); this.SendPropertyChanging(); this._TransferID = value; this.SendPropertyChanged("TransferID"); this.OnTransferIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string TransferDetailID { get { return this._TransferDetailID; } set { if ((this._TransferDetailID != value)) { this.OnTransferDetailIDChanging(value); this.SendPropertyChanging(); this._TransferDetailID = value; this.SendPropertyChanged("TransferDetailID"); this.OnTransferDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMTDOC")] public partial class ICSMTDOC : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _MTDOCCode; private string _DepCode; private string _WHCode; private string _Sequence; private string _INVCode; private string _SOCode; private string _SOSequence; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _MTDOCQuantity; private string _MTDOCType; private string _Memo; private string _Status; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _MTDOCID; private string _MTDOCDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnMTDOCCodeChanging(string value); partial void OnMTDOCCodeChanged(); partial void OnDepCodeChanging(string value); partial void OnDepCodeChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnINVCodeChanging(string value); partial void OnINVCodeChanged(); partial void OnSOCodeChanging(string value); partial void OnSOCodeChanged(); partial void OnSOSequenceChanging(string value); partial void OnSOSequenceChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnMTDOCQuantityChanging(System.Nullable<decimal> value); partial void OnMTDOCQuantityChanged(); partial void OnMTDOCTypeChanging(string value); partial void OnMTDOCTypeChanged(); partial void OnMemoChanging(string value); partial void OnMemoChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnMTDOCIDChanging(string value); partial void OnMTDOCIDChanged(); partial void OnMTDOCDetailIDChanging(string value); partial void OnMTDOCDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion
public ICSMTDOC() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MTDOCCode { get { return this._MTDOCCode; } set { if ((this._MTDOCCode != value)) { this.OnMTDOCCodeChanging(value); this.SendPropertyChanging(); this._MTDOCCode = value; this.SendPropertyChanged("MTDOCCode"); this.OnMTDOCCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")] public string DepCode { get { return this._DepCode; } set { if ((this._DepCode != value)) { this.OnDepCodeChanging(value); this.SendPropertyChanging(); this._DepCode = value; this.SendPropertyChanged("DepCode"); this.OnDepCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string INVCode { get { return this._INVCode; } set { if ((this._INVCode != value)) { this.OnINVCodeChanging(value); this.SendPropertyChanging(); this._INVCode = value; this.SendPropertyChanged("INVCode"); this.OnINVCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50)")] public string SOCode { get { return this._SOCode; } set { if ((this._SOCode != value)) { this.OnSOCodeChanging(value); this.SendPropertyChanging(); this._SOCode = value; this.SendPropertyChanged("SOCode"); this.OnSOCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50)")] public string SOSequence { get { return this._SOSequence; } set { if ((this._SOSequence != value)) { this.OnSOSequenceChanging(value); this.SendPropertyChanging(); this._SOSequence = value; this.SendPropertyChanged("SOSequence"); this.OnSOSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCQuantity", DbType="Decimal(18,2)")] public System.Nullable<decimal> MTDOCQuantity { get { return this._MTDOCQuantity; } set { if ((this._MTDOCQuantity != value)) { this.OnMTDOCQuantityChanging(value); this.SendPropertyChanging(); this._MTDOCQuantity = value; this.SendPropertyChanged("MTDOCQuantity"); this.OnMTDOCQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MTDOCType { get { return this._MTDOCType; } set { if ((this._MTDOCType != value)) { this.OnMTDOCTypeChanging(value); this.SendPropertyChanging(); this._MTDOCType = value; this.SendPropertyChanged("MTDOCType"); this.OnMTDOCTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(500)")] public string Memo { get { return this._Memo; } set { if ((this._Memo != value)) { this.OnMemoChanging(value); this.SendPropertyChanging(); this._Memo = value; this.SendPropertyChanged("Memo"); this.OnMemoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MTDOCID { get { return this._MTDOCID; } set { if ((this._MTDOCID != value)) { this.OnMTDOCIDChanging(value); this.SendPropertyChanging(); this._MTDOCID = value; this.SendPropertyChanged("MTDOCID"); this.OnMTDOCIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MTDOCDetailID { get { return this._MTDOCDetailID; } set { if ((this._MTDOCDetailID != value)) { this.OnMTDOCDetailIDChanging(value); this.SendPropertyChanging(); this._MTDOCDetailID = value; this.SendPropertyChanged("MTDOCDetailID"); this.OnMTDOCDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSManufactureReceive")] public partial class ICSManufactureReceive : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _RCVCode; private string _Sequence; private string _SourceCode; private string _SourceSequence; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _RCVQuantity; private string _WHCode; private string _Type; private string _Status; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _RCVID; private string _RCVDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnRCVCodeChanging(string value); partial void OnRCVCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnSourceCodeChanging(string value); partial void OnSourceCodeChanged(); partial void OnSourceSequenceChanging(string value); partial void OnSourceSequenceChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnRCVQuantityChanging(System.Nullable<decimal> value); partial void OnRCVQuantityChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnRCVIDChanging(string value); partial void OnRCVIDChanged(); partial void OnRCVDetailIDChanging(string value); partial void OnRCVDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTEChanging(string value); partial void OnEATTRIBUTEChanged(); #endregion
public ICSManufactureReceive() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string RCVCode { get { return this._RCVCode; } set { if ((this._RCVCode != value)) { this.OnRCVCodeChanging(value); this.SendPropertyChanging(); this._RCVCode = value; this.SendPropertyChanged("RCVCode"); this.OnRCVCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")] public string SourceCode { get { return this._SourceCode; } set { if ((this._SourceCode != value)) { this.OnSourceCodeChanging(value); this.SendPropertyChanging(); this._SourceCode = value; this.SendPropertyChanged("SourceCode"); this.OnSourceCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")] public string SourceSequence { get { return this._SourceSequence; } set { if ((this._SourceSequence != value)) { this.OnSourceSequenceChanging(value); this.SendPropertyChanging(); this._SourceSequence = value; this.SendPropertyChanged("SourceSequence"); this.OnSourceSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> RCVQuantity { get { return this._RCVQuantity; } set { if ((this._RCVQuantity != value)) { this.OnRCVQuantityChanging(value); this.SendPropertyChanging(); this._RCVQuantity = value; this.SendPropertyChanged("RCVQuantity"); this.OnRCVQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string RCVID { get { return this._RCVID; } set { if ((this._RCVID != value)) { this.OnRCVIDChanging(value); this.SendPropertyChanging(); this._RCVID = value; this.SendPropertyChanged("RCVID"); this.OnRCVIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string RCVDetailID { get { return this._RCVDetailID; } set { if ((this._RCVDetailID != value)) { this.OnRCVDetailIDChanging(value); this.SendPropertyChanging(); this._RCVDetailID = value; this.SendPropertyChanged("RCVDetailID"); this.OnRCVDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")] public string EATTRIBUTE { get { return this._EATTRIBUTE; } set { if ((this._EATTRIBUTE != value)) { this.OnEATTRIBUTEChanging(value); this.SendPropertyChanging(); this._EATTRIBUTE = value; this.SendPropertyChanged("EATTRIBUTE"); this.OnEATTRIBUTEChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSDeliveryNotice")] public partial class ICSDeliveryNotice : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _DNCode; private string _Sequence; private string _VenCode; private string _DepCode; private string _DNType; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _RCVQuantity; private System.Nullable<decimal> _UnitPrice; private string _Currency; private string _Status; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _POID; private string _PODetailID; private string _DNID; private string _DNDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; private string _ASNCode; private string _WHCode; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnDNCodeChanging(string value); partial void OnDNCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnVenCodeChanging(string value); partial void OnVenCodeChanged(); partial void OnDepCodeChanging(string value); partial void OnDepCodeChanged(); partial void OnDNTypeChanging(string value); partial void OnDNTypeChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnRCVQuantityChanging(System.Nullable<decimal> value); partial void OnRCVQuantityChanged(); partial void OnUnitPriceChanging(System.Nullable<decimal> value); partial void OnUnitPriceChanged(); partial void OnCurrencyChanging(string value); partial void OnCurrencyChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnPOIDChanging(string value); partial void OnPOIDChanged(); partial void OnPODetailIDChanging(string value); partial void OnPODetailIDChanged(); partial void OnDNIDChanging(string value); partial void OnDNIDChanged(); partial void OnDNDetailIDChanging(string value); partial void OnDNDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); partial void OnASNCodeChanging(string value); partial void OnASNCodeChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); #endregion
public ICSDeliveryNotice() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string DNCode { get { return this._DNCode; } set { if ((this._DNCode != value)) { this.OnDNCodeChanging(value); this.SendPropertyChanging(); this._DNCode = value; this.SendPropertyChanged("DNCode"); this.OnDNCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50)")] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string VenCode { get { return this._VenCode; } set { if ((this._VenCode != value)) { this.OnVenCodeChanging(value); this.SendPropertyChanging(); this._VenCode = value; this.SendPropertyChanged("VenCode"); this.OnVenCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")] public string DepCode { get { return this._DepCode; } set { if ((this._DepCode != value)) { this.OnDepCodeChanging(value); this.SendPropertyChanging(); this._DepCode = value; this.SendPropertyChanged("DepCode"); this.OnDepCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string DNType { get { return this._DNType; } set { if ((this._DNType != value)) { this.OnDNTypeChanging(value); this.SendPropertyChanging(); this._DNType = value; this.SendPropertyChanged("DNType"); this.OnDNTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> RCVQuantity { get { return this._RCVQuantity; } set { if ((this._RCVQuantity != value)) { this.OnRCVQuantityChanging(value); this.SendPropertyChanging(); this._RCVQuantity = value; this.SendPropertyChanged("RCVQuantity"); this.OnRCVQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,6)")] public System.Nullable<decimal> UnitPrice { get { return this._UnitPrice; } set { if ((this._UnitPrice != value)) { this.OnUnitPriceChanging(value); this.SendPropertyChanging(); this._UnitPrice = value; this.SendPropertyChanged("UnitPrice"); this.OnUnitPriceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Currency", DbType="NVarChar(50)")] public string Currency { get { return this._Currency; } set { if ((this._Currency != value)) { this.OnCurrencyChanging(value); this.SendPropertyChanging(); this._Currency = value; this.SendPropertyChanged("Currency"); this.OnCurrencyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POID", DbType="NVarChar(50)")] public string POID { get { return this._POID; } set { if ((this._POID != value)) { this.OnPOIDChanging(value); this.SendPropertyChanging(); this._POID = value; this.SendPropertyChanged("POID"); this.OnPOIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODetailID", DbType="NVarChar(50)")] public string PODetailID { get { return this._PODetailID; } set { if ((this._PODetailID != value)) { this.OnPODetailIDChanging(value); this.SendPropertyChanging(); this._PODetailID = value; this.SendPropertyChanged("PODetailID"); this.OnPODetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNID", DbType="NVarChar(50)")] public string DNID { get { return this._DNID; } set { if ((this._DNID != value)) { this.OnDNIDChanging(value); this.SendPropertyChanging(); this._DNID = value; this.SendPropertyChanged("DNID"); this.OnDNIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDetailID", DbType="NVarChar(50)")] public string DNDetailID { get { return this._DNDetailID; } set { if ((this._DNDetailID != value)) { this.OnDNDetailIDChanging(value); this.SendPropertyChanging(); this._DNDetailID = value; this.SendPropertyChanged("DNDetailID"); this.OnDNDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ASNCode", DbType="NVarChar(50)")] public string ASNCode { get { return this._ASNCode; } set { if ((this._ASNCode != value)) { this.OnASNCodeChanging(value); this.SendPropertyChanging(); this._ASNCode = value; this.SendPropertyChanged("ASNCode"); this.OnASNCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="VarChar(50)")] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSSDN")] public partial class ICSSDN : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ID; private string _SDNCode; private string _Sequence; private string _SOCode; private string _SOSequence; private string _CusCode; private string _CusName; private string _Type; private System.DateTime _ArriveDate; private string _WHCode; private string _InvCode; private decimal _Quantity; private System.Nullable<decimal> _Amount; private System.Nullable<decimal> _SDNQuantity; private string _CreatePerson; private System.DateTime _CreateDateTime; private string _Status; private string _SDNID; private string _SDNDetailID; private string _ExtensionID; private string _MUSER; private string _MUSERName; private System.DateTime _MTIME; private string _WorkPoint; private string _EATTRIBUTE1; #region 可扩展性方法定义
partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIDChanging(string value); partial void OnIDChanged(); partial void OnSDNCodeChanging(string value); partial void OnSDNCodeChanged(); partial void OnSequenceChanging(string value); partial void OnSequenceChanged(); partial void OnSOCodeChanging(string value); partial void OnSOCodeChanged(); partial void OnSOSequenceChanging(string value); partial void OnSOSequenceChanged(); partial void OnCusCodeChanging(string value); partial void OnCusCodeChanged(); partial void OnCusNameChanging(string value); partial void OnCusNameChanged(); partial void OnTypeChanging(string value); partial void OnTypeChanged(); partial void OnArriveDateChanging(System.DateTime value); partial void OnArriveDateChanged(); partial void OnWHCodeChanging(string value); partial void OnWHCodeChanged(); partial void OnInvCodeChanging(string value); partial void OnInvCodeChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnAmountChanging(System.Nullable<decimal> value); partial void OnAmountChanged(); partial void OnSDNQuantityChanging(System.Nullable<decimal> value); partial void OnSDNQuantityChanged(); partial void OnCreatePersonChanging(string value); partial void OnCreatePersonChanged(); partial void OnCreateDateTimeChanging(System.DateTime value); partial void OnCreateDateTimeChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnSDNIDChanging(string value); partial void OnSDNIDChanged(); partial void OnSDNDetailIDChanging(string value); partial void OnSDNDetailIDChanged(); partial void OnExtensionIDChanging(string value); partial void OnExtensionIDChanged(); partial void OnMUSERChanging(string value); partial void OnMUSERChanged(); partial void OnMUSERNameChanging(string value); partial void OnMUSERNameChanged(); partial void OnMTIMEChanging(System.DateTime value); partial void OnMTIMEChanged(); partial void OnWorkPointChanging(string value); partial void OnWorkPointChanged(); partial void OnEATTRIBUTE1Changing(string value); partial void OnEATTRIBUTE1Changed(); #endregion
public ICSSDN() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string ID { get { return this._ID; } set { if ((this._ID != value)) { this.OnIDChanging(value); this.SendPropertyChanging(); this._ID = value; this.SendPropertyChanged("ID"); this.OnIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SDNCode { get { return this._SDNCode; } set { if ((this._SDNCode != value)) { this.OnSDNCodeChanging(value); this.SendPropertyChanging(); this._SDNCode = value; this.SendPropertyChanged("SDNCode"); this.OnSDNCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Sequence { get { return this._Sequence; } set { if ((this._Sequence != value)) { this.OnSequenceChanging(value); this.SendPropertyChanging(); this._Sequence = value; this.SendPropertyChanged("Sequence"); this.OnSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SOCode { get { return this._SOCode; } set { if ((this._SOCode != value)) { this.OnSOCodeChanging(value); this.SendPropertyChanging(); this._SOCode = value; this.SendPropertyChanged("SOCode"); this.OnSOCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SOSequence { get { return this._SOSequence; } set { if ((this._SOSequence != value)) { this.OnSOSequenceChanging(value); this.SendPropertyChanging(); this._SOSequence = value; this.SendPropertyChanged("SOSequence"); this.OnSOSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CusCode { get { return this._CusCode; } set { if ((this._CusCode != value)) { this.OnCusCodeChanging(value); this.SendPropertyChanging(); this._CusCode = value; this.SendPropertyChanged("CusCode"); this.OnCusCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)] public string CusName { get { return this._CusName; } set { if ((this._CusName != value)) { this.OnCusNameChanging(value); this.SendPropertyChanging(); this._CusName = value; this.SendPropertyChanged("CusName"); this.OnCusNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Type { get { return this._Type; } set { if ((this._Type != value)) { this.OnTypeChanging(value); this.SendPropertyChanging(); this._Type = value; this.SendPropertyChanged("Type"); this.OnTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArriveDate", DbType="DateTime NOT NULL")] public System.DateTime ArriveDate { get { return this._ArriveDate; } set { if ((this._ArriveDate != value)) { this.OnArriveDateChanging(value); this.SendPropertyChanging(); this._ArriveDate = value; this.SendPropertyChanged("ArriveDate"); this.OnArriveDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WHCode { get { return this._WHCode; } set { if ((this._WHCode != value)) { this.OnWHCodeChanging(value); this.SendPropertyChanging(); this._WHCode = value; this.SendPropertyChanged("WHCode"); this.OnWHCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string InvCode { get { return this._InvCode; } set { if ((this._InvCode != value)) { this.OnInvCodeChanging(value); this.SendPropertyChanging(); this._InvCode = value; this.SendPropertyChanged("InvCode"); this.OnInvCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")] public System.Nullable<decimal> Amount { get { return this._Amount; } set { if ((this._Amount != value)) { this.OnAmountChanging(value); this.SendPropertyChanging(); this._Amount = value; this.SendPropertyChanged("Amount"); this.OnAmountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNQuantity", DbType="Decimal(18,6)")] public System.Nullable<decimal> SDNQuantity { get { return this._SDNQuantity; } set { if ((this._SDNQuantity != value)) { this.OnSDNQuantityChanging(value); this.SendPropertyChanging(); this._SDNQuantity = value; this.SendPropertyChanged("SDNQuantity"); this.OnSDNQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string CreatePerson { get { return this._CreatePerson; } set { if ((this._CreatePerson != value)) { this.OnCreatePersonChanging(value); this.SendPropertyChanging(); this._CreatePerson = value; this.SendPropertyChanged("CreatePerson"); this.OnCreatePersonChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")] public System.DateTime CreateDateTime { get { return this._CreateDateTime; } set { if ((this._CreateDateTime != value)) { this.OnCreateDateTimeChanging(value); this.SendPropertyChanging(); this._CreateDateTime = value; this.SendPropertyChanged("CreateDateTime"); this.OnCreateDateTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SDNID { get { return this._SDNID; } set { if ((this._SDNID != value)) { this.OnSDNIDChanging(value); this.SendPropertyChanging(); this._SDNID = value; this.SendPropertyChanged("SDNID"); this.OnSDNIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string SDNDetailID { get { return this._SDNDetailID; } set { if ((this._SDNDetailID != value)) { this.OnSDNDetailIDChanging(value); this.SendPropertyChanging(); this._SDNDetailID = value; this.SendPropertyChanged("SDNDetailID"); this.OnSDNDetailIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string ExtensionID { get { return this._ExtensionID; } set { if ((this._ExtensionID != value)) { this.OnExtensionIDChanging(value); this.SendPropertyChanging(); this._ExtensionID = value; this.SendPropertyChanged("ExtensionID"); this.OnExtensionIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSER { get { return this._MUSER; } set { if ((this._MUSER != value)) { this.OnMUSERChanging(value); this.SendPropertyChanging(); this._MUSER = value; this.SendPropertyChanged("MUSER"); this.OnMUSERChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string MUSERName { get { return this._MUSERName; } set { if ((this._MUSERName != value)) { this.OnMUSERNameChanging(value); this.SendPropertyChanging(); this._MUSERName = value; this.SendPropertyChanged("MUSERName"); this.OnMUSERNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")] public System.DateTime MTIME { get { return this._MTIME; } set { if ((this._MTIME != value)) { this.OnMTIMEChanging(value); this.SendPropertyChanging(); this._MTIME = value; this.SendPropertyChanged("MTIME"); this.OnMTIMEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] public string WorkPoint { get { return this._WorkPoint; } set { if ((this._WorkPoint != value)) { this.OnWorkPointChanging(value); this.SendPropertyChanging(); this._WorkPoint = value; this.SendPropertyChanged("WorkPoint"); this.OnWorkPointChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")] public string EATTRIBUTE1 { get { return this._EATTRIBUTE1; } set { if ((this._EATTRIBUTE1 != value)) { this.OnEATTRIBUTE1Changing(value); this.SendPropertyChanging(); this._EATTRIBUTE1 = value; this.SendPropertyChanged("EATTRIBUTE1"); this.OnEATTRIBUTE1Changed(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } } #pragma warning restore 1591
|