/App_Code/StaffRmb/StaffRmb.designer.cs
https://github.com/mailekah/AgapeConnect1 · C# · 3642 lines · 3280 code · 353 blank · 9 comment · 307 complexity · 3cacd2d5cf2493d59f2f0f9333d281de MD5 · raw file
Large files are truncated click here to view the full file
- #pragma warning disable 1591
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.18046
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace StaffRmb
- {
- 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="AgapeConnect")]
- public partial class StaffRmbDataContext : System.Data.Linq.DataContext
- {
-
- private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
-
- #region Extensibility Method Definitions
- partial void OnCreated();
- partial void InsertAP_Staff_RmbLineType(AP_Staff_RmbLineType instance);
- partial void UpdateAP_Staff_RmbLineType(AP_Staff_RmbLineType instance);
- partial void DeleteAP_Staff_RmbLineType(AP_Staff_RmbLineType instance);
- partial void InsertAP_StaffRmb_PortalLineType(AP_StaffRmb_PortalLineType instance);
- partial void UpdateAP_StaffRmb_PortalLineType(AP_StaffRmb_PortalLineType instance);
- partial void DeleteAP_StaffRmb_PortalLineType(AP_StaffRmb_PortalLineType instance);
- partial void InsertAP_StaffBroker_Department(AP_StaffBroker_Department instance);
- partial void UpdateAP_StaffBroker_Department(AP_StaffBroker_Department instance);
- partial void DeleteAP_StaffBroker_Department(AP_StaffBroker_Department instance);
- partial void InsertAP_StaffBroker_CostCenter(AP_StaffBroker_CostCenter instance);
- partial void UpdateAP_StaffBroker_CostCenter(AP_StaffBroker_CostCenter instance);
- partial void DeleteAP_StaffBroker_CostCenter(AP_StaffBroker_CostCenter instance);
- partial void InsertAP_StaffBroker_AccountCode(AP_StaffBroker_AccountCode instance);
- partial void UpdateAP_StaffBroker_AccountCode(AP_StaffBroker_AccountCode instance);
- partial void DeleteAP_StaffBroker_AccountCode(AP_StaffBroker_AccountCode instance);
- partial void InsertAP_Staff_Rmb(AP_Staff_Rmb instance);
- partial void UpdateAP_Staff_Rmb(AP_Staff_Rmb instance);
- partial void DeleteAP_Staff_Rmb(AP_Staff_Rmb instance);
- partial void InsertAP_Staff_AdvanceRequest(AP_Staff_AdvanceRequest instance);
- partial void UpdateAP_Staff_AdvanceRequest(AP_Staff_AdvanceRequest instance);
- partial void DeleteAP_Staff_AdvanceRequest(AP_Staff_AdvanceRequest instance);
- partial void InsertAP_Staff_Rmb_PerDeimMuliType(AP_Staff_Rmb_PerDeimMuliType instance);
- partial void UpdateAP_Staff_Rmb_PerDeimMuliType(AP_Staff_Rmb_PerDeimMuliType instance);
- partial void DeleteAP_Staff_Rmb_PerDeimMuliType(AP_Staff_Rmb_PerDeimMuliType instance);
- partial void InsertAP_Staff_RmbLine(AP_Staff_RmbLine instance);
- partial void UpdateAP_Staff_RmbLine(AP_Staff_RmbLine instance);
- partial void DeleteAP_Staff_RmbLine(AP_Staff_RmbLine instance);
- #endregion
-
- public StaffRmbDataContext() :
- base(global::System.Configuration.ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString, mappingSource)
- {
- OnCreated();
- }
-
- public StaffRmbDataContext(string connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public StaffRmbDataContext(System.Data.IDbConnection connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public StaffRmbDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public StaffRmbDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public System.Data.Linq.Table<AP_Staff_RmbLineType> AP_Staff_RmbLineTypes
- {
- get
- {
- return this.GetTable<AP_Staff_RmbLineType>();
- }
- }
-
- public System.Data.Linq.Table<AP_StaffRmb_PortalLineType> AP_StaffRmb_PortalLineTypes
- {
- get
- {
- return this.GetTable<AP_StaffRmb_PortalLineType>();
- }
- }
-
- public System.Data.Linq.Table<AP_StaffBroker_Department> AP_StaffBroker_Departments
- {
- get
- {
- return this.GetTable<AP_StaffBroker_Department>();
- }
- }
-
- public System.Data.Linq.Table<AP_StaffBroker_CostCenter> AP_StaffBroker_CostCenters
- {
- get
- {
- return this.GetTable<AP_StaffBroker_CostCenter>();
- }
- }
-
- public System.Data.Linq.Table<AP_StaffBroker_AccountCode> AP_StaffBroker_AccountCodes
- {
- get
- {
- return this.GetTable<AP_StaffBroker_AccountCode>();
- }
- }
-
- public System.Data.Linq.Table<AP_Staff_Rmb> AP_Staff_Rmbs
- {
- get
- {
- return this.GetTable<AP_Staff_Rmb>();
- }
- }
-
- public System.Data.Linq.Table<AP_Staff_AdvanceRequest> AP_Staff_AdvanceRequests
- {
- get
- {
- return this.GetTable<AP_Staff_AdvanceRequest>();
- }
- }
-
- public System.Data.Linq.Table<AP_Staff_Rmb_PerDeimMuliType> AP_Staff_Rmb_PerDeimMuliTypes
- {
- get
- {
- return this.GetTable<AP_Staff_Rmb_PerDeimMuliType>();
- }
- }
-
- public System.Data.Linq.Table<AP_Staff_RmbLine> AP_Staff_RmbLines
- {
- get
- {
- return this.GetTable<AP_Staff_RmbLine>();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AP_Staff_RmbLineType")]
- public partial class AP_Staff_RmbLineType : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private short _LineTypeId;
-
- private string _TypeName;
-
- private string _ControlPath;
-
- private string _SpareField1;
-
- private string _SpareField2;
-
- private EntitySet<AP_StaffRmb_PortalLineType> _AP_StaffRmb_PortalLineTypes;
-
- private EntitySet<AP_Staff_RmbLine> _AP_Staff_RmbLines;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnLineTypeIdChanging(short value);
- partial void OnLineTypeIdChanged();
- partial void OnTypeNameChanging(string value);
- partial void OnTypeNameChanged();
- partial void OnControlPathChanging(string value);
- partial void OnControlPathChanged();
- partial void OnSpareField1Changing(string value);
- partial void OnSpareField1Changed();
- partial void OnSpareField2Changing(string value);
- partial void OnSpareField2Changed();
- #endregion
-
- public AP_Staff_RmbLineType()
- {
- this._AP_StaffRmb_PortalLineTypes = new EntitySet<AP_StaffRmb_PortalLineType>(new Action<AP_StaffRmb_PortalLineType>(this.attach_AP_StaffRmb_PortalLineTypes), new Action<AP_StaffRmb_PortalLineType>(this.detach_AP_StaffRmb_PortalLineTypes));
- this._AP_Staff_RmbLines = new EntitySet<AP_Staff_RmbLine>(new Action<AP_Staff_RmbLine>(this.attach_AP_Staff_RmbLines), new Action<AP_Staff_RmbLine>(this.detach_AP_Staff_RmbLines));
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LineTypeId", AutoSync=AutoSync.OnInsert, DbType="SmallInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public short LineTypeId
- {
- get
- {
- return this._LineTypeId;
- }
- set
- {
- if ((this._LineTypeId != value))
- {
- this.OnLineTypeIdChanging(value);
- this.SendPropertyChanging();
- this._LineTypeId = value;
- this.SendPropertyChanged("LineTypeId");
- this.OnLineTypeIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
- public string TypeName
- {
- get
- {
- return this._TypeName;
- }
- set
- {
- if ((this._TypeName != value))
- {
- this.OnTypeNameChanging(value);
- this.SendPropertyChanging();
- this._TypeName = value;
- this.SendPropertyChanged("TypeName");
- this.OnTypeNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlPath", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
- public string ControlPath
- {
- get
- {
- return this._ControlPath;
- }
- set
- {
- if ((this._ControlPath != value))
- {
- this.OnControlPathChanging(value);
- this.SendPropertyChanging();
- this._ControlPath = value;
- this.SendPropertyChanged("ControlPath");
- this.OnControlPathChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField1", DbType="NVarChar(50)")]
- public string SpareField1
- {
- get
- {
- return this._SpareField1;
- }
- set
- {
- if ((this._SpareField1 != value))
- {
- this.OnSpareField1Changing(value);
- this.SendPropertyChanging();
- this._SpareField1 = value;
- this.SendPropertyChanged("SpareField1");
- this.OnSpareField1Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField2", DbType="NVarChar(50)")]
- public string SpareField2
- {
- get
- {
- return this._SpareField2;
- }
- set
- {
- if ((this._SpareField2 != value))
- {
- this.OnSpareField2Changing(value);
- this.SendPropertyChanging();
- this._SpareField2 = value;
- this.SendPropertyChanged("SpareField2");
- this.OnSpareField2Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="AP_Staff_RmbLineType_AP_StaffRmb_PortalLineType", Storage="_AP_StaffRmb_PortalLineTypes", ThisKey="LineTypeId", OtherKey="LineTypeId")]
- public EntitySet<AP_StaffRmb_PortalLineType> AP_StaffRmb_PortalLineTypes
- {
- get
- {
- return this._AP_StaffRmb_PortalLineTypes;
- }
- set
- {
- this._AP_StaffRmb_PortalLineTypes.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="AP_Staff_RmbLineType_AP_Staff_RmbLine", Storage="_AP_Staff_RmbLines", ThisKey="LineTypeId", OtherKey="LineType")]
- public EntitySet<AP_Staff_RmbLine> AP_Staff_RmbLines
- {
- get
- {
- return this._AP_Staff_RmbLines;
- }
- set
- {
- this._AP_Staff_RmbLines.Assign(value);
- }
- }
-
- public event PropertyChangingEventHandler PropertyChanging;
-
- public event PropertyChangedEventHandler PropertyChanged;
-
- protected virtual void SendPropertyChanging()
- {
- if ((this.PropertyChanging != null))
- {
- this.PropertyChanging(this, emptyChangingEventArgs);
- }
- }
-
- protected virtual void SendPropertyChanged(String propertyName)
- {
- if ((this.PropertyChanged != null))
- {
- this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
- }
- }
-
- private void attach_AP_StaffRmb_PortalLineTypes(AP_StaffRmb_PortalLineType entity)
- {
- this.SendPropertyChanging();
- entity.AP_Staff_RmbLineType = this;
- }
-
- private void detach_AP_StaffRmb_PortalLineTypes(AP_StaffRmb_PortalLineType entity)
- {
- this.SendPropertyChanging();
- entity.AP_Staff_RmbLineType = null;
- }
-
- private void attach_AP_Staff_RmbLines(AP_Staff_RmbLine entity)
- {
- this.SendPropertyChanging();
- entity.AP_Staff_RmbLineType = this;
- }
-
- private void detach_AP_Staff_RmbLines(AP_Staff_RmbLine entity)
- {
- this.SendPropertyChanging();
- entity.AP_Staff_RmbLineType = null;
- }
- }
-
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AP_StaffRmb_PortalLineType")]
- public partial class AP_StaffRmb_PortalLineType : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _PortalLineTypeId;
-
- private short _LineTypeId;
-
- private int _PortalId;
-
- private string _LocalName;
-
- private string _PCode;
-
- private string _DCode;
-
- private System.Nullable<short> _ViewOrder;
-
- private EntityRef<AP_Staff_RmbLineType> _AP_Staff_RmbLineType;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnPortalLineTypeIdChanging(int value);
- partial void OnPortalLineTypeIdChanged();
- partial void OnLineTypeIdChanging(short value);
- partial void OnLineTypeIdChanged();
- partial void OnPortalIdChanging(int value);
- partial void OnPortalIdChanged();
- partial void OnLocalNameChanging(string value);
- partial void OnLocalNameChanged();
- partial void OnPCodeChanging(string value);
- partial void OnPCodeChanged();
- partial void OnDCodeChanging(string value);
- partial void OnDCodeChanged();
- partial void OnViewOrderChanging(System.Nullable<short> value);
- partial void OnViewOrderChanged();
- #endregion
-
- public AP_StaffRmb_PortalLineType()
- {
- this._AP_Staff_RmbLineType = default(EntityRef<AP_Staff_RmbLineType>);
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalLineTypeId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int PortalLineTypeId
- {
- get
- {
- return this._PortalLineTypeId;
- }
- set
- {
- if ((this._PortalLineTypeId != value))
- {
- this.OnPortalLineTypeIdChanging(value);
- this.SendPropertyChanging();
- this._PortalLineTypeId = value;
- this.SendPropertyChanged("PortalLineTypeId");
- this.OnPortalLineTypeIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LineTypeId", DbType="SmallInt NOT NULL")]
- public short LineTypeId
- {
- get
- {
- return this._LineTypeId;
- }
- set
- {
- if ((this._LineTypeId != value))
- {
- if (this._AP_Staff_RmbLineType.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnLineTypeIdChanging(value);
- this.SendPropertyChanging();
- this._LineTypeId = value;
- this.SendPropertyChanged("LineTypeId");
- this.OnLineTypeIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalId", DbType="Int NOT NULL")]
- public int PortalId
- {
- get
- {
- return this._PortalId;
- }
- set
- {
- if ((this._PortalId != value))
- {
- this.OnPortalIdChanging(value);
- this.SendPropertyChanging();
- this._PortalId = value;
- this.SendPropertyChanged("PortalId");
- this.OnPortalIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocalName", DbType="NVarChar(50)")]
- public string LocalName
- {
- get
- {
- return this._LocalName;
- }
- set
- {
- if ((this._LocalName != value))
- {
- this.OnLocalNameChanging(value);
- this.SendPropertyChanging();
- this._LocalName = value;
- this.SendPropertyChanged("LocalName");
- this.OnLocalNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PCode", DbType="NVarChar(20)")]
- public string PCode
- {
- get
- {
- return this._PCode;
- }
- set
- {
- if ((this._PCode != value))
- {
- this.OnPCodeChanging(value);
- this.SendPropertyChanging();
- this._PCode = value;
- this.SendPropertyChanged("PCode");
- this.OnPCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DCode", DbType="NVarChar(20)")]
- public string DCode
- {
- get
- {
- return this._DCode;
- }
- set
- {
- if ((this._DCode != value))
- {
- this.OnDCodeChanging(value);
- this.SendPropertyChanging();
- this._DCode = value;
- this.SendPropertyChanged("DCode");
- this.OnDCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViewOrder", DbType="SmallInt")]
- public System.Nullable<short> ViewOrder
- {
- get
- {
- return this._ViewOrder;
- }
- set
- {
- if ((this._ViewOrder != value))
- {
- this.OnViewOrderChanging(value);
- this.SendPropertyChanging();
- this._ViewOrder = value;
- this.SendPropertyChanged("ViewOrder");
- this.OnViewOrderChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="AP_Staff_RmbLineType_AP_StaffRmb_PortalLineType", Storage="_AP_Staff_RmbLineType", ThisKey="LineTypeId", OtherKey="LineTypeId", IsForeignKey=true)]
- public AP_Staff_RmbLineType AP_Staff_RmbLineType
- {
- get
- {
- return this._AP_Staff_RmbLineType.Entity;
- }
- set
- {
- AP_Staff_RmbLineType previousValue = this._AP_Staff_RmbLineType.Entity;
- if (((previousValue != value)
- || (this._AP_Staff_RmbLineType.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._AP_Staff_RmbLineType.Entity = null;
- previousValue.AP_StaffRmb_PortalLineTypes.Remove(this);
- }
- this._AP_Staff_RmbLineType.Entity = value;
- if ((value != null))
- {
- value.AP_StaffRmb_PortalLineTypes.Add(this);
- this._LineTypeId = value.LineTypeId;
- }
- else
- {
- this._LineTypeId = default(short);
- }
- this.SendPropertyChanged("AP_Staff_RmbLineType");
- }
- }
- }
-
- 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.AP_StaffBroker_Departments")]
- public partial class AP_StaffBroker_Department : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _CostCenterId;
-
- private string _Name;
-
- private string _CostCentre;
-
- private System.Nullable<int> _CostCentreManager;
-
- private System.Nullable<int> _CostCentreDelegate;
-
- private bool _CanRmb;
-
- private bool _CanCharge;
-
- private bool _CanGiveTo;
-
- private string _GivingText;
-
- private string _GivingShortcut;
-
- private System.Nullable<int> _PortalId;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnCostCenterIdChanging(int value);
- partial void OnCostCenterIdChanged();
- partial void OnNameChanging(string value);
- partial void OnNameChanged();
- partial void OnCostCentreChanging(string value);
- partial void OnCostCentreChanged();
- partial void OnCostCentreManagerChanging(System.Nullable<int> value);
- partial void OnCostCentreManagerChanged();
- partial void OnCostCentreDelegateChanging(System.Nullable<int> value);
- partial void OnCostCentreDelegateChanged();
- partial void OnCanRmbChanging(bool value);
- partial void OnCanRmbChanged();
- partial void OnCanChargeChanging(bool value);
- partial void OnCanChargeChanged();
- partial void OnCanGiveToChanging(bool value);
- partial void OnCanGiveToChanged();
- partial void OnGivingTextChanging(string value);
- partial void OnGivingTextChanged();
- partial void OnGivingShortcutChanging(string value);
- partial void OnGivingShortcutChanged();
- partial void OnPortalIdChanging(System.Nullable<int> value);
- partial void OnPortalIdChanged();
- #endregion
-
- public AP_StaffBroker_Department()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCenterId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int CostCenterId
- {
- get
- {
- return this._CostCenterId;
- }
- set
- {
- if ((this._CostCenterId != value))
- {
- this.OnCostCenterIdChanging(value);
- this.SendPropertyChanging();
- this._CostCenterId = value;
- this.SendPropertyChanged("CostCenterId");
- this.OnCostCenterIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
- public string Name
- {
- get
- {
- return this._Name;
- }
- set
- {
- if ((this._Name != value))
- {
- this.OnNameChanging(value);
- this.SendPropertyChanging();
- this._Name = value;
- this.SendPropertyChanged("Name");
- this.OnNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentre", DbType="NVarChar(20) NOT NULL", CanBeNull=false)]
- public string CostCentre
- {
- get
- {
- return this._CostCentre;
- }
- set
- {
- if ((this._CostCentre != value))
- {
- this.OnCostCentreChanging(value);
- this.SendPropertyChanging();
- this._CostCentre = value;
- this.SendPropertyChanged("CostCentre");
- this.OnCostCentreChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentreManager", DbType="Int")]
- public System.Nullable<int> CostCentreManager
- {
- get
- {
- return this._CostCentreManager;
- }
- set
- {
- if ((this._CostCentreManager != value))
- {
- this.OnCostCentreManagerChanging(value);
- this.SendPropertyChanging();
- this._CostCentreManager = value;
- this.SendPropertyChanged("CostCentreManager");
- this.OnCostCentreManagerChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentreDelegate", DbType="Int")]
- public System.Nullable<int> CostCentreDelegate
- {
- get
- {
- return this._CostCentreDelegate;
- }
- set
- {
- if ((this._CostCentreDelegate != value))
- {
- this.OnCostCentreDelegateChanging(value);
- this.SendPropertyChanging();
- this._CostCentreDelegate = value;
- this.SendPropertyChanged("CostCentreDelegate");
- this.OnCostCentreDelegateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanRmb", DbType="Bit NOT NULL")]
- public bool CanRmb
- {
- get
- {
- return this._CanRmb;
- }
- set
- {
- if ((this._CanRmb != value))
- {
- this.OnCanRmbChanging(value);
- this.SendPropertyChanging();
- this._CanRmb = value;
- this.SendPropertyChanged("CanRmb");
- this.OnCanRmbChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanCharge", DbType="Bit NOT NULL")]
- public bool CanCharge
- {
- get
- {
- return this._CanCharge;
- }
- set
- {
- if ((this._CanCharge != value))
- {
- this.OnCanChargeChanging(value);
- this.SendPropertyChanging();
- this._CanCharge = value;
- this.SendPropertyChanged("CanCharge");
- this.OnCanChargeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanGiveTo", DbType="Bit NOT NULL")]
- public bool CanGiveTo
- {
- get
- {
- return this._CanGiveTo;
- }
- set
- {
- if ((this._CanGiveTo != value))
- {
- this.OnCanGiveToChanging(value);
- this.SendPropertyChanging();
- this._CanGiveTo = value;
- this.SendPropertyChanged("CanGiveTo");
- this.OnCanGiveToChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GivingText", DbType="NVarChar(MAX)")]
- public string GivingText
- {
- get
- {
- return this._GivingText;
- }
- set
- {
- if ((this._GivingText != value))
- {
- this.OnGivingTextChanging(value);
- this.SendPropertyChanging();
- this._GivingText = value;
- this.SendPropertyChanged("GivingText");
- this.OnGivingTextChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GivingShortcut", DbType="NVarChar(50)")]
- public string GivingShortcut
- {
- get
- {
- return this._GivingShortcut;
- }
- set
- {
- if ((this._GivingShortcut != value))
- {
- this.OnGivingShortcutChanging(value);
- this.SendPropertyChanging();
- this._GivingShortcut = value;
- this.SendPropertyChanged("GivingShortcut");
- this.OnGivingShortcutChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalId", DbType="Int")]
- public System.Nullable<int> PortalId
- {
- get
- {
- return this._PortalId;
- }
- set
- {
- if ((this._PortalId != value))
- {
- this.OnPortalIdChanging(value);
- this.SendPropertyChanging();
- this._PortalId = value;
- this.SendPropertyChanged("PortalId");
- this.OnPortalIdChanged();
- }
- }
- }
-
- 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.AP_StaffBroker_CostCenters")]
- public partial class AP_StaffBroker_CostCenter : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private long _CostCentreId;
-
- private string _CostCentreCode;
-
- private string _CostCentreName;
-
- private int _PortalId;
-
- private System.Nullable<byte> _Type;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnCostCentreIdChanging(long value);
- partial void OnCostCentreIdChanged();
- partial void OnCostCentreCodeChanging(string value);
- partial void OnCostCentreCodeChanged();
- partial void OnCostCentreNameChanging(string value);
- partial void OnCostCentreNameChanged();
- partial void OnPortalIdChanging(int value);
- partial void OnPortalIdChanged();
- partial void OnTypeChanging(System.Nullable<byte> value);
- partial void OnTypeChanged();
- #endregion
-
- public AP_StaffBroker_CostCenter()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentreId", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public long CostCentreId
- {
- get
- {
- return this._CostCentreId;
- }
- set
- {
- if ((this._CostCentreId != value))
- {
- this.OnCostCentreIdChanging(value);
- this.SendPropertyChanging();
- this._CostCentreId = value;
- this.SendPropertyChanged("CostCentreId");
- this.OnCostCentreIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentreCode", DbType="NVarChar(12) NOT NULL", CanBeNull=false)]
- public string CostCentreCode
- {
- get
- {
- return this._CostCentreCode;
- }
- set
- {
- if ((this._CostCentreCode != value))
- {
- this.OnCostCentreCodeChanging(value);
- this.SendPropertyChanging();
- this._CostCentreCode = value;
- this.SendPropertyChanged("CostCentreCode");
- this.OnCostCentreCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCentreName", DbType="NVarChar(120) NOT NULL", CanBeNull=false)]
- public string CostCentreName
- {
- get
- {
- return this._CostCentreName;
- }
- set
- {
- if ((this._CostCentreName != value))
- {
- this.OnCostCentreNameChanging(value);
- this.SendPropertyChanging();
- this._CostCentreName = value;
- this.SendPropertyChanged("CostCentreName");
- this.OnCostCentreNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalId", DbType="Int NOT NULL")]
- public int PortalId
- {
- get
- {
- return this._PortalId;
- }
- set
- {
- if ((this._PortalId != value))
- {
- this.OnPortalIdChanging(value);
- this.SendPropertyChanging();
- this._PortalId = value;
- this.SendPropertyChanged("PortalId");
- this.OnPortalIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="tinyint")]
- public System.Nullable<byte> Type
- {
- get
- {
- return this._Type;
- }
- set
- {
- if ((this._Type != value))
- {
- this.OnTypeChanging(value);
- this.SendPropertyChanging();
- this._Type = value;
- this.SendPropertyChanged("Type");
- this.OnTypeChanged();
- }
- }
- }
-
- 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.AP_StaffBroker_AccountCodes")]
- public partial class AP_StaffBroker_AccountCode : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private long _AccountCodeId;
-
- private string _AccountCode;
-
- private string _AccountCodeName;
-
- private System.Nullable<byte> _AccountCodeType;
-
- private int _PortalId;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnAccountCodeIdChanging(long value);
- partial void OnAccountCodeIdChanged();
- partial void OnAccountCodeChanging(string value);
- partial void OnAccountCodeChanged();
- partial void OnAccountCodeNameChanging(string value);
- partial void OnAccountCodeNameChanged();
- partial void OnAccountCodeTypeChanging(System.Nullable<byte> value);
- partial void OnAccountCodeTypeChanged();
- partial void OnPortalIdChanging(int value);
- partial void OnPortalIdChanged();
- #endregion
-
- public AP_StaffBroker_AccountCode()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountCodeId", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public long AccountCodeId
- {
- get
- {
- return this._AccountCodeId;
- }
- set
- {
- if ((this._AccountCodeId != value))
- {
- this.OnAccountCodeIdChanging(value);
- this.SendPropertyChanging();
- this._AccountCodeId = value;
- this.SendPropertyChanged("AccountCodeId");
- this.OnAccountCodeIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountCode", DbType="NVarChar(12) NOT NULL", CanBeNull=false)]
- public string AccountCode
- {
- get
- {
- return this._AccountCode;
- }
- set
- {
- if ((this._AccountCode != value))
- {
- this.OnAccountCodeChanging(value);
- this.SendPropertyChanging();
- this._AccountCode = value;
- this.SendPropertyChanged("AccountCode");
- this.OnAccountCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountCodeName", DbType="NVarChar(120) NOT NULL", CanBeNull=false)]
- public string AccountCodeName
- {
- get
- {
- return this._AccountCodeName;
- }
- set
- {
- if ((this._AccountCodeName != value))
- {
- this.OnAccountCodeNameChanging(value);
- this.SendPropertyChanging();
- this._AccountCodeName = value;
- this.SendPropertyChanged("AccountCodeName");
- this.OnAccountCodeNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountCodeType", DbType="TinyInt")]
- public System.Nullable<byte> AccountCodeType
- {
- get
- {
- return this._AccountCodeType;
- }
- set
- {
- if ((this._AccountCodeType != value))
- {
- this.OnAccountCodeTypeChanging(value);
- this.SendPropertyChanging();
- this._AccountCodeType = value;
- this.SendPropertyChanged("AccountCodeType");
- this.OnAccountCodeTypeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalId", DbType="Int NOT NULL")]
- public int PortalId
- {
- get
- {
- return this._PortalId;
- }
- set
- {
- if ((this._PortalId != value))
- {
- this.OnPortalIdChanging(value);
- this.SendPropertyChanging();
- this._PortalId = value;
- this.SendPropertyChanged("PortalId");
- this.OnPortalIdChanged();
- }
- }
- }
-
- 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.AP_Staff_Rmb")]
- public partial class AP_Staff_Rmb : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private long _RMBNo;
-
- private int _UserId;
-
- private string _CostCenter;
-
- private string _UserRef;
-
- private System.Nullable<System.DateTime> _RmbDate;
-
- private int _Status;
-
- private string _UserComment;
-
- private string _ApprComment;
-
- private string _AcctComment;
-
- private System.Nullable<int> _ApprUserId;
-
- private bool _Locked;
-
- private int _PortalId;
-
- private System.Nullable<System.DateTime> _ApprDate;
-
- private System.Nullable<System.DateTime> _ProcDate;
-
- private System.Nullable<byte> _Period;
-
- private System.Nullable<short> _Year;
-
- private string _SupplierCode;
-
- private bool _EmailSent;
-
- private bool _Changed;
-
- private decimal _AdvanceRequest;
-
- private bool _Department;
-
- private string _SpareField1;
-
- private string _SpareField2;
-
- private string _SpareField3;
-
- private string _SpareField4;
-
- private string _SpareField5;
-
- private int _RID;
-
- private bool _Error;
-
- private string _ErrorMessage;
-
- private System.Nullable<System.DateTime> _DownloadDate;
-
- private string _DownloadMode;
-
- private System.Nullable<bool> _MoreInfoRequested;
-
- private System.Nullable<int> _ProcUserId;
-
- private EntitySet<AP_Staff_RmbLine> _AP_Staff_RmbLines;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnRMBNoChanging(long value);
- partial void OnRMBNoChanged();
- partial void OnUserIdChanging(int value);
- partial void OnUserIdChanged();
- partial void OnCostCenterChanging(string value);
- partial void OnCostCenterChanged();
- partial void OnUserRefChanging(string value);
- partial void OnUserRefChanged();
- partial void OnRmbDateChanging(System.Nullable<System.DateTime> value);
- partial void OnRmbDateChanged();
- partial void OnStatusChanging(int value);
- partial void OnStatusChanged();
- partial void OnUserCommentChanging(string value);
- partial void OnUserCommentChanged();
- partial void OnApprCommentChanging(string value);
- partial void OnApprCommentChanged();
- partial void OnAcctCommentChanging(string value);
- partial void OnAcctCommentChanged();
- partial void OnApprUserIdChanging(System.Nullable<int> value);
- partial void OnApprUserIdChanged();
- partial void OnLockedChanging(bool value);
- partial void OnLockedChanged();
- partial void OnPortalIdChanging(int value);
- partial void OnPortalIdChanged();
- partial void OnApprDateChanging(System.Nullable<System.DateTime> value);
- partial void OnApprDateChanged();
- partial void OnProcDateChanging(System.Nullable<System.DateTime> value);
- partial void OnProcDateChanged();
- partial void OnPeriodChanging(System.Nullable<byte> value);
- partial void OnPeriodChanged();
- partial void OnYearChanging(System.Nullable<short> value);
- partial void OnYearChanged();
- partial void OnSupplierCodeChanging(string value);
- partial void OnSupplierCodeChanged();
- partial void OnEmailSentChanging(bool value);
- partial void OnEmailSentChanged();
- partial void OnChangedChanging(bool value);
- partial void OnChangedChanged();
- partial void OnAdvanceRequestChanging(decimal value);
- partial void OnAdvanceRequestChanged();
- partial void OnDepartmentChanging(bool value);
- partial void OnDepartmentChanged();
- partial void OnSpareField1Changing(string value);
- partial void OnSpareField1Changed();
- partial void OnSpareField2Changing(string value);
- partial void OnSpareField2Changed();
- partial void OnSpareField3Changing(string value);
- partial void OnSpareField3Changed();
- partial void OnSpareField4Changing(string value);
- partial void OnSpareField4Changed();
- partial void OnSpareField5Changing(string value);
- partial void OnSpareField5Changed();
- partial void OnRIDChanging(int value);
- partial void OnRIDChanged();
- partial void OnErrorChanging(bool value);
- partial void OnErrorChanged();
- partial void OnErrorMessageChanging(string value);
- partial void OnErrorMessageChanged();
- partial void OnDownloadDateChanging(System.Nullable<System.DateTime> value);
- partial void OnDownloadDateChanged();
- partial void OnDownloadModeChanging(string value);
- partial void OnDownloadModeChanged();
- partial void OnMoreInfoRequestedChanging(System.Nullable<bool> value);
- partial void OnMoreInfoRequestedChanged();
- partial void OnProcUserIdChanging(System.Nullable<int> value);
- partial void OnProcUserIdChanged();
- #endregion
-
- public AP_Staff_Rmb()
- {
- this._AP_Staff_RmbLines = new EntitySet<AP_Staff_RmbLine>(new Action<AP_Staff_RmbLine>(this.attach_AP_Staff_RmbLines), new Action<AP_Staff_RmbLine>(this.detach_AP_Staff_RmbLines));
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMBNo", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public long RMBNo
- {
- get
- {
- return this._RMBNo;
- }
- set
- {
- if ((this._RMBNo != value))
- {
- this.OnRMBNoChanging(value);
- this.SendPropertyChanging();
- this._RMBNo = value;
- this.SendPropertyChanged("RMBNo");
- this.OnRMBNoChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="Int NOT NULL")]
- public int UserId
- {
- get
- {
- return this._UserId;
- }
- set
- {
- if ((this._UserId != value))
- {
- this.OnUserIdChanging(value);
- this.SendPropertyChanging();
- this._UserId = value;
- this.SendPropertyChanged("UserId");
- this.OnUserIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCenter", DbType="NVarChar(30) NOT NULL", CanBeNull=false)]
- public string CostCenter
- {
- get
- {
- return this._CostCenter;
- }
- set
- {
- if ((this._CostCenter != value))
- {
- this.OnCostCenterChanging(value);
- this.SendPropertyChanging();
- this._CostCenter = value;
- this.SendPropertyChanged("CostCenter");
- this.OnCostCenterChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserRef", DbType="NVarChar(100)")]
- public string UserRef
- {
- get
- {
- return this._UserRef;
- }
- set
- {
- if ((this._UserRef != value))
- {
- this.OnUserRefChanging(value);
- this.SendPropertyChanging();
- this._UserRef = value;
- this.SendPropertyChanged("UserRef");
- this.OnUserRefChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RmbDate", DbType="Date")]
- public System.Nullable<System.DateTime> RmbDate
- {
- get
- {
- return this._RmbDate;
- }
- set
- {
- if ((this._RmbDate != value))
- {
- this.OnRmbDateChanging(value);
- this.SendPropertyChanging();
- this._RmbDate = value;
- this.SendPropertyChanged("RmbDate");
- this.OnRmbDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")]
- public int 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="_UserComment", DbType="NVarChar(MAX)")]
- public string UserComment
- {
- get
- {
- return this._UserComment;
- }
- set
- {
- if ((this._UserComment != value))
- {
- this.OnUserCommentChanging(value);
- this.SendPropertyChanging();
- this._UserComment = value;
- this.SendPropertyChanged("UserComment");
- this.OnUserCommentChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprComment", DbType="NVarChar(MAX)")]
- public string ApprComment
- {
- get
- {
- return this._ApprComment;
- }
- set
- {
- if ((this._ApprComment != value))
- {
- this.OnApprCommentChanging(value);
- this.SendPropertyChanging();
- this._ApprComment = value;
- this.SendPropertyChanged("ApprComment");
- this.OnApprCommentChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcctComment", DbType="NVarChar(MAX)")]
- public string AcctComment
- {
- get
- {
- return this._AcctComment;
- }
- set
- {
- if ((this._AcctComment != value))
- {
- this.OnAcctCommentChanging(value);
- this.SendPropertyChanging();
- this._AcctComment = value;
- this.SendPropertyChanged("AcctComment");
- this.OnAcctCommentChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprUserId", DbType="Int")]
- public System.Nullable<int> ApprUserId
- {
- get
- {
- return this._ApprUserId;
- }
- set
- {
- if ((this._ApprUserId != value))
- {
- this.OnApprUserIdChanging(value);
- this.SendPropertyChanging();
- this._ApprUserId = value;
- this.SendPropertyChanged("ApprUserId");
- this.OnApprUserIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Locked", DbType="Bit NOT NULL")]
- public bool Locked
- {
- get
- {
- return this._Locked;
- }
- set
- {
- if ((this._Locked != value))
- {
- this.OnLockedChanging(value);
- this.SendPropertyChanging();
- this._Locked = value;
- this.SendPropertyChanged("Locked");
- this.OnLockedChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PortalId", DbType="Int NOT NULL")]
- public int PortalId
- {
- get
- {
- return this._PortalId;
- }
- set
- {
- if ((this._PortalId != value))
- {
- this.OnPortalIdChanging(value);
- this.SendPropertyChanging();
- this._PortalId = value;
- this.SendPropertyChanged("PortalId");
- this.OnPortalIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprDate", DbType="Date")]
- public System.Nullable<System.DateTime> ApprDate
- {
- get
- {
- return this._ApprDate;
- }
- set
- {
- if ((this._ApprDate != value))
- {
- this.OnApprDateChanging(value);
- this.SendPropertyChanging();
- this._ApprDate = value;
- this.SendPropertyChanged("ApprDate");
- this.OnApprDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcDate", DbType="Date")]
- public System.Nullable<System.DateTime> ProcDate
- {
- get
- {
- return this._ProcDate;
- }
- set
- {
- if ((this._ProcDate != value))
- {
- this.OnProcDateChanging(value);
- this.SendPropertyChanging();
- this._ProcDate = value;
- this.SendPropertyChanged("ProcDate");
- this.OnProcDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Period", DbType="TinyInt")]
- public System.Nullable<byte> Period
- {
- get
- {
- return this._Period;
- }
- set
- {
- if ((this._Period != value))
- {
- this.OnPeriodChanging(value);
- this.SendPropertyChanging();
- this._Period = value;
- this.SendPropertyChanged("Period");
- this.OnPeriodChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="SmallInt")]
- public System.Nullable<short> Year
- {
- get
- {
- return this._Year;
- }
- set
- {
- if ((this._Year != value))
- {
- this.OnYearChanging(value);
- this.SendPropertyChanging();
- this._Year = value;
- this.SendPropertyChanged("Year");
- this.OnYearChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierCode", DbType="VarChar(8)")]
- public string SupplierCode
- {
- get
- {
- return this._SupplierCode;
- }
- set
- {
- if ((this._SupplierCode != value))
- {
- this.OnSupplierCodeChanging(value);
- this.SendPropertyChanging();
- this._SupplierCode = value;
- this.SendPropertyChanged("SupplierCode");
- this.OnSupplierCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailSent", DbType="Bit NOT NULL")]
- public bool EmailSent
- {
- get
- {
- return this._EmailSent;
- }
- set
- {
- if ((this._EmailSent != value))
- {
- this.OnEmailSentChanging(value);
- this.SendPropertyChanging();
- this._EmailSent = value;
- this.SendPropertyChanged("EmailSent");
- this.OnEmailSentChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Changed", DbType="Bit NOT NULL")]
- public bool Changed
- {
- get
- {
- return this._Changed;
- }
- set
- {
- if ((this._Changed != value))
- {
- this.OnChangedChanging(value);
- this.SendPropertyChanging();
- this._Changed = value;
- this.SendPropertyChanged("Changed");
- this.OnChangedChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdvanceRequest", DbType="Money NOT NULL")]
- public decimal AdvanceRequest
- {
- get
- {
- return this._AdvanceRequest;
- }
- set
- {
- if ((this._AdvanceRequest != value))
- {
- this.OnAdvanceRequestChanging(value);
- this.SendPropertyChanging();
- this._AdvanceRequest = value;
- this.SendPropertyChanged("AdvanceRequest");
- this.OnAdvanceRequestChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Department", DbType="Bit NOT NULL")]
- public bool Department
- {
- get
- {
- return this._Department;
- }
- set
- {
- if ((this._Department != value))
- {
- this.OnDepartmentChanging(value);
- this.SendPropertyChanging();
- this._Department = value;
- this.SendPropertyChanged("Department");
- this.OnDepartmentChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField1", DbType="NVarChar(50)")]
- public string SpareField1
- {
- get
- {
- return this._SpareField1;
- }
- set
- {
- if ((this._SpareField1 != value))
- {
- this.OnSpareField1Changing(value);
- this.SendPropertyChanging();
- this._SpareField1 = value;
- this.SendPropertyChanged("SpareField1");
- this.OnSpareField1Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField2", DbType="NVarChar(50)")]
- public string SpareField2
- {
- get
- {
- return this._SpareField2;
- }
- set
- {
- if ((this._SpareField2 != value))
- {
- this.OnSpareField2Changing(value);
- this.SendPropertyChanging();
- this._SpareField2 = value;
- this.SendPropertyChanged("SpareField2");
- this.OnSpareField2Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField3", DbType="NVarChar(50)")]
- public string SpareField3
- {
- get
- {
- return this._SpareField3;
- }
- set
- {
- if ((this._SpareField3 != value))
- {
- this.OnSpareField3Changing(value);
- this.SendPropertyChanging();
- this._SpareField3 = value;
- this.SendPropertyChanged("SpareField3");
- this.OnSpareField3Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField4", DbType="NVarChar(50)")]
- public string SpareField4
- {
- get
- {
- return this._SpareField4;
- }
- set
- {
- if ((this._SpareField4 != value))
- {
- this.OnSpareField4Changing(value);
- this.SendPropertyChanging();
- this._SpareField4 = value;
- this.SendPropertyChanged("SpareField4");
- this.OnSpareField4Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpareField5", DbType="NVarChar(50)")]
- public string SpareField5
- {
- get
- {
- return this._SpareField5;
- }
- set
- {
- if ((this._SpareField5 != value))
- {
- this.OnSpareField5Changing(value);
- this.SendPropertyChanging();
- this._SpareField5 = value;
- this.SendPropertyChanged("SpareField5");
- this.OnSpareField5Changed();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RID", DbType="Int NOT NULL")]
- public int RID
- {
- get
- {
- return this._RID;
- }
- set
- {
- if ((this._RID != value))
- {
- this.OnRIDChanging(value);
- this.SendPropertyChanging();
- this._RID = value;
- this.SendPropertyChanged("RID");
- this.OnRIDChange…