#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace RezerveBeliteHavaPeimaCS
{
	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="AjencyTravelDB")]
	public partial class LSC_TADataContext : System.Data.Linq.DataContext
	{
		
		private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
		
    #region Extensibility Method Definitions
    partial void OnCreated();
    partial void InserttblCustumer(tblCustumer instance);
    partial void UpdatetblCustumer(tblCustumer instance);
    partial void DeletetblCustumer(tblCustumer instance);
    partial void InserttblUserInfo(tblUserInfo instance);
    partial void UpdatetblUserInfo(tblUserInfo instance);
    partial void DeletetblUserInfo(tblUserInfo instance);
    partial void InserttblRezerveTicket(tblRezerveTicket instance);
    partial void UpdatetblRezerveTicket(tblRezerveTicket instance);
    partial void DeletetblRezerveTicket(tblRezerveTicket instance);
    partial void InserttblServiceType(tblServiceType instance);
    partial void UpdatetblServiceType(tblServiceType instance);
    partial void DeletetblServiceType(tblServiceType instance);
    partial void InserttblStaffsTable(tblStaffsTable instance);
    partial void UpdatetblStaffsTable(tblStaffsTable instance);
    partial void DeletetblStaffsTable(tblStaffsTable instance);
    partial void InserttblServicesDef(tblServicesDef instance);
    partial void UpdatetblServicesDef(tblServicesDef instance);
    partial void DeletetblServicesDef(tblServicesDef instance);
    #endregion
		
		public LSC_TADataContext() : 
				base(global::RezerveBeliteHavaPeimaCS.Properties.Settings.Default.RezerveBelitTotalConnectionString, mappingSource)
		{
			OnCreated();
		}
		
		public LSC_TADataContext(string connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public LSC_TADataContext(System.Data.IDbConnection connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public LSC_TADataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public LSC_TADataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public System.Data.Linq.Table<tblCustumer> tblCustumers
		{
			get
			{
				return this.GetTable<tblCustumer>();
			}
		}
		
		public System.Data.Linq.Table<tblUserInfo> tblUserInfos
		{
			get
			{
				return this.GetTable<tblUserInfo>();
			}
		}
		
		public System.Data.Linq.Table<tblRezerveTicket> tblRezerveTickets
		{
			get
			{
				return this.GetTable<tblRezerveTicket>();
			}
		}
		
		public System.Data.Linq.Table<tblServiceType> tblServiceTypes
		{
			get
			{
				return this.GetTable<tblServiceType>();
			}
		}
		
		public System.Data.Linq.Table<tblStaffsTable> tblStaffsTables
		{
			get
			{
				return this.GetTable<tblStaffsTable>();
			}
		}
		
		public System.Data.Linq.Table<tblServicesDef> tblServicesDefs
		{
			get
			{
				return this.GetTable<tblServicesDef>();
			}
		}
		
		public System.Data.Linq.Table<XtblCustomer> XtblCustomers
		{
			get
			{
				return this.GetTable<XtblCustomer>();
			}
		}
		
		public System.Data.Linq.Table<XtblStaff> XtblStaffs
		{
			get
			{
				return this.GetTable<XtblStaff>();
			}
		}
		
		public System.Data.Linq.Table<XtblReserv> XtblReservs
		{
			get
			{
				return this.GetTable<XtblReserv>();
			}
		}
		
		public System.Data.Linq.Table<XtblServiceDef> XtblServiceDefs
		{
			get
			{
				return this.GetTable<XtblServiceDef>();
			}
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblCustumers")]
	public partial class tblCustumer : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _CustomerID;
		
		private string _NameSname;
		
		private string _PhoneNum;
		
		private string _FaxNum;
		
		private string _Notes;
		
		private EntitySet<tblRezerveTicket> _tblRezerveTickets;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnCustomerIDChanging(int value);
    partial void OnCustomerIDChanged();
    partial void OnNameSnameChanging(string value);
    partial void OnNameSnameChanged();
    partial void OnPhoneNumChanging(string value);
    partial void OnPhoneNumChanged();
    partial void OnFaxNumChanging(string value);
    partial void OnFaxNumChanged();
    partial void OnNotesChanging(string value);
    partial void OnNotesChanged();
    #endregion
		
		public tblCustumer()
		{
			this._tblRezerveTickets = new EntitySet<tblRezerveTicket>(new Action<tblRezerveTicket>(this.attach_tblRezerveTickets), new Action<tblRezerveTicket>(this.detach_tblRezerveTickets));
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CustomerID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int CustomerID
		{
			get
			{
				return this._CustomerID;
			}
			set
			{
				if ((this._CustomerID != value))
				{
					this.OnCustomerIDChanging(value);
					this.SendPropertyChanging();
					this._CustomerID = value;
					this.SendPropertyChanged("CustomerID");
					this.OnCustomerIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NameSname", DbType="NVarChar(100)")]
		public string NameSname
		{
			get
			{
				return this._NameSname;
			}
			set
			{
				if ((this._NameSname != value))
				{
					this.OnNameSnameChanging(value);
					this.SendPropertyChanging();
					this._NameSname = value;
					this.SendPropertyChanged("NameSname");
					this.OnNameSnameChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNum", DbType="NVarChar(100)")]
		public string PhoneNum
		{
			get
			{
				return this._PhoneNum;
			}
			set
			{
				if ((this._PhoneNum != value))
				{
					this.OnPhoneNumChanging(value);
					this.SendPropertyChanging();
					this._PhoneNum = value;
					this.SendPropertyChanged("PhoneNum");
					this.OnPhoneNumChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FaxNum", DbType="NVarChar(100)")]
		public string FaxNum
		{
			get
			{
				return this._FaxNum;
			}
			set
			{
				if ((this._FaxNum != value))
				{
					this.OnFaxNumChanging(value);
					this.SendPropertyChanging();
					this._FaxNum = value;
					this.SendPropertyChanged("FaxNum");
					this.OnFaxNumChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Notes", DbType="NVarChar(500)")]
		public string Notes
		{
			get
			{
				return this._Notes;
			}
			set
			{
				if ((this._Notes != value))
				{
					this.OnNotesChanging(value);
					this.SendPropertyChanging();
					this._Notes = value;
					this.SendPropertyChanged("Notes");
					this.OnNotesChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblCustumer_tblRezerveTicket", Storage="_tblRezerveTickets", ThisKey="CustomerID", OtherKey="RezerverID")]
		public EntitySet<tblRezerveTicket> tblRezerveTickets
		{
			get
			{
				return this._tblRezerveTickets;
			}
			set
			{
				this._tblRezerveTickets.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_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblCustumer = this;
		}
		
		private void detach_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblCustumer = null;
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblUserInfo")]
	public partial class tblUserInfo : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _userID;
		
		private string _UserName;
		
		private string _PassWord;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnuserIDChanging(int value);
    partial void OnuserIDChanged();
    partial void OnUserNameChanging(string value);
    partial void OnUserNameChanged();
    partial void OnPassWordChanging(string value);
    partial void OnPassWordChanged();
    #endregion
		
		public tblUserInfo()
		{
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_userID", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
		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="_UserName", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
		public string UserName
		{
			get
			{
				return this._UserName;
			}
			set
			{
				if ((this._UserName != value))
				{
					this.OnUserNameChanging(value);
					this.SendPropertyChanging();
					this._UserName = value;
					this.SendPropertyChanged("UserName");
					this.OnUserNameChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PassWord", DbType="NVarChar(50)")]
		public string PassWord
		{
			get
			{
				return this._PassWord;
			}
			set
			{
				if ((this._PassWord != value))
				{
					this.OnPassWordChanging(value);
					this.SendPropertyChanging();
					this._PassWord = value;
					this.SendPropertyChanged("PassWord");
					this.OnPassWordChanged();
				}
			}
		}
		
		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.tblRezerveTickets")]
	public partial class tblRezerveTicket : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _RezerveID;
		
		private string _RezerveDate;
		
		private int _StaffID;
		
		private int _RezerverID;
		
		private int _ServiceID;
		
		private int _QuanTity;
		
		private System.Nullable<double> _BianehPardakhti;
		
		private System.Nullable<double> _Mandeh;
		
		private string _Notes;
		
		private EntityRef<tblCustumer> _tblCustumer;
		
		private EntityRef<tblStaffsTable> _tblStaffsTable;
		
		private EntityRef<tblServicesDef> _tblServicesDef;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnRezerveIDChanging(int value);
    partial void OnRezerveIDChanged();
    partial void OnRezerveDateChanging(string value);
    partial void OnRezerveDateChanged();
    partial void OnStaffIDChanging(int value);
    partial void OnStaffIDChanged();
    partial void OnRezerverIDChanging(int value);
    partial void OnRezerverIDChanged();
    partial void OnServiceIDChanging(int value);
    partial void OnServiceIDChanged();
    partial void OnQuanTityChanging(int value);
    partial void OnQuanTityChanged();
    partial void OnBianehPardakhtiChanging(System.Nullable<double> value);
    partial void OnBianehPardakhtiChanged();
    partial void OnMandehChanging(System.Nullable<double> value);
    partial void OnMandehChanged();
    partial void OnNotesChanging(string value);
    partial void OnNotesChanged();
    #endregion
		
		public tblRezerveTicket()
		{
			this._tblCustumer = default(EntityRef<tblCustumer>);
			this._tblStaffsTable = default(EntityRef<tblStaffsTable>);
			this._tblServicesDef = default(EntityRef<tblServicesDef>);
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RezerveID", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
		public int RezerveID
		{
			get
			{
				return this._RezerveID;
			}
			set
			{
				if ((this._RezerveID != value))
				{
					this.OnRezerveIDChanging(value);
					this.SendPropertyChanging();
					this._RezerveID = value;
					this.SendPropertyChanged("RezerveID");
					this.OnRezerveIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RezerveDate", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
		public string RezerveDate
		{
			get
			{
				return this._RezerveDate;
			}
			set
			{
				if ((this._RezerveDate != value))
				{
					this.OnRezerveDateChanging(value);
					this.SendPropertyChanging();
					this._RezerveDate = value;
					this.SendPropertyChanged("RezerveDate");
					this.OnRezerveDateChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StaffID", DbType="Int NOT NULL", IsPrimaryKey=true)]
		public int StaffID
		{
			get
			{
				return this._StaffID;
			}
			set
			{
				if ((this._StaffID != value))
				{
					if (this._tblStaffsTable.HasLoadedOrAssignedValue)
					{
						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
					}
					this.OnStaffIDChanging(value);
					this.SendPropertyChanging();
					this._StaffID = value;
					this.SendPropertyChanged("StaffID");
					this.OnStaffIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RezerverID", DbType="Int NOT NULL", IsPrimaryKey=true)]
		public int RezerverID
		{
			get
			{
				return this._RezerverID;
			}
			set
			{
				if ((this._RezerverID != value))
				{
					if (this._tblCustumer.HasLoadedOrAssignedValue)
					{
						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
					}
					this.OnRezerverIDChanging(value);
					this.SendPropertyChanging();
					this._RezerverID = value;
					this.SendPropertyChanged("RezerverID");
					this.OnRezerverIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceID", DbType="Int NOT NULL", IsPrimaryKey=true)]
		public int ServiceID
		{
			get
			{
				return this._ServiceID;
			}
			set
			{
				if ((this._ServiceID != value))
				{
					if (this._tblServicesDef.HasLoadedOrAssignedValue)
					{
						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
					}
					this.OnServiceIDChanging(value);
					this.SendPropertyChanging();
					this._ServiceID = value;
					this.SendPropertyChanged("ServiceID");
					this.OnServiceIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuanTity", DbType="Int NOT NULL")]
		public int 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="_BianehPardakhti", DbType="Float")]
		public System.Nullable<double> BianehPardakhti
		{
			get
			{
				return this._BianehPardakhti;
			}
			set
			{
				if ((this._BianehPardakhti != value))
				{
					this.OnBianehPardakhtiChanging(value);
					this.SendPropertyChanging();
					this._BianehPardakhti = value;
					this.SendPropertyChanged("BianehPardakhti");
					this.OnBianehPardakhtiChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mandeh", DbType="Float")]
		public System.Nullable<double> Mandeh
		{
			get
			{
				return this._Mandeh;
			}
			set
			{
				if ((this._Mandeh != value))
				{
					this.OnMandehChanging(value);
					this.SendPropertyChanging();
					this._Mandeh = value;
					this.SendPropertyChanged("Mandeh");
					this.OnMandehChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Notes", DbType="NVarChar(500)")]
		public string Notes
		{
			get
			{
				return this._Notes;
			}
			set
			{
				if ((this._Notes != value))
				{
					this.OnNotesChanging(value);
					this.SendPropertyChanging();
					this._Notes = value;
					this.SendPropertyChanged("Notes");
					this.OnNotesChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblCustumer_tblRezerveTicket", Storage="_tblCustumer", ThisKey="RezerverID", OtherKey="CustomerID", IsForeignKey=true)]
		public tblCustumer tblCustumer
		{
			get
			{
				return this._tblCustumer.Entity;
			}
			set
			{
				tblCustumer previousValue = this._tblCustumer.Entity;
				if (((previousValue != value) 
							|| (this._tblCustumer.HasLoadedOrAssignedValue == false)))
				{
					this.SendPropertyChanging();
					if ((previousValue != null))
					{
						this._tblCustumer.Entity = null;
						previousValue.tblRezerveTickets.Remove(this);
					}
					this._tblCustumer.Entity = value;
					if ((value != null))
					{
						value.tblRezerveTickets.Add(this);
						this._RezerverID = value.CustomerID;
					}
					else
					{
						this._RezerverID = default(int);
					}
					this.SendPropertyChanged("tblCustumer");
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblStaffsTable_tblRezerveTicket", Storage="_tblStaffsTable", ThisKey="StaffID", OtherKey="StaffID", IsForeignKey=true)]
		public tblStaffsTable tblStaffsTable
		{
			get
			{
				return this._tblStaffsTable.Entity;
			}
			set
			{
				tblStaffsTable previousValue = this._tblStaffsTable.Entity;
				if (((previousValue != value) 
							|| (this._tblStaffsTable.HasLoadedOrAssignedValue == false)))
				{
					this.SendPropertyChanging();
					if ((previousValue != null))
					{
						this._tblStaffsTable.Entity = null;
						previousValue.tblRezerveTickets.Remove(this);
					}
					this._tblStaffsTable.Entity = value;
					if ((value != null))
					{
						value.tblRezerveTickets.Add(this);
						this._StaffID = value.StaffID;
					}
					else
					{
						this._StaffID = default(int);
					}
					this.SendPropertyChanged("tblStaffsTable");
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblServicesDef_tblRezerveTicket", Storage="_tblServicesDef", ThisKey="ServiceID", OtherKey="ServiceID", IsForeignKey=true)]
		public tblServicesDef tblServicesDef
		{
			get
			{
				return this._tblServicesDef.Entity;
			}
			set
			{
				tblServicesDef previousValue = this._tblServicesDef.Entity;
				if (((previousValue != value) 
							|| (this._tblServicesDef.HasLoadedOrAssignedValue == false)))
				{
					this.SendPropertyChanging();
					if ((previousValue != null))
					{
						this._tblServicesDef.Entity = null;
						previousValue.tblRezerveTickets.Remove(this);
					}
					this._tblServicesDef.Entity = value;
					if ((value != null))
					{
						value.tblRezerveTickets.Add(this);
						this._ServiceID = value.ServiceID;
					}
					else
					{
						this._ServiceID = default(int);
					}
					this.SendPropertyChanged("tblServicesDef");
				}
			}
		}
		
		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.tblServiceTypes")]
	public partial class tblServiceType : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _ServiceTypeID;
		
		private string _ServiceDesCript;
		
		private EntitySet<tblServicesDef> _tblServicesDefs;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnServiceTypeIDChanging(int value);
    partial void OnServiceTypeIDChanged();
    partial void OnServiceDesCriptChanging(string value);
    partial void OnServiceDesCriptChanged();
    #endregion
		
		public tblServiceType()
		{
			this._tblServicesDefs = new EntitySet<tblServicesDef>(new Action<tblServicesDef>(this.attach_tblServicesDefs), new Action<tblServicesDef>(this.detach_tblServicesDefs));
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceTypeID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int ServiceTypeID
		{
			get
			{
				return this._ServiceTypeID;
			}
			set
			{
				if ((this._ServiceTypeID != value))
				{
					this.OnServiceTypeIDChanging(value);
					this.SendPropertyChanging();
					this._ServiceTypeID = value;
					this.SendPropertyChanged("ServiceTypeID");
					this.OnServiceTypeIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDesCript", DbType="NVarChar(50)")]
		public string ServiceDesCript
		{
			get
			{
				return this._ServiceDesCript;
			}
			set
			{
				if ((this._ServiceDesCript != value))
				{
					this.OnServiceDesCriptChanging(value);
					this.SendPropertyChanging();
					this._ServiceDesCript = value;
					this.SendPropertyChanged("ServiceDesCript");
					this.OnServiceDesCriptChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblServiceType_tblServicesDef", Storage="_tblServicesDefs", ThisKey="ServiceTypeID", OtherKey="ServiceTypeID")]
		public EntitySet<tblServicesDef> tblServicesDefs
		{
			get
			{
				return this._tblServicesDefs;
			}
			set
			{
				this._tblServicesDefs.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_tblServicesDefs(tblServicesDef entity)
		{
			this.SendPropertyChanging();
			entity.tblServiceType = this;
		}
		
		private void detach_tblServicesDefs(tblServicesDef entity)
		{
			this.SendPropertyChanging();
			entity.tblServiceType = null;
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblStaffsTable")]
	public partial class tblStaffsTable : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _StaffID;
		
		private string _NameSname;
		
		private string _PhoneNum;
		
		private string _FaxNum;
		
		private string _Notes;
		
		private EntitySet<tblRezerveTicket> _tblRezerveTickets;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnStaffIDChanging(int value);
    partial void OnStaffIDChanged();
    partial void OnNameSnameChanging(string value);
    partial void OnNameSnameChanged();
    partial void OnPhoneNumChanging(string value);
    partial void OnPhoneNumChanged();
    partial void OnFaxNumChanging(string value);
    partial void OnFaxNumChanged();
    partial void OnNotesChanging(string value);
    partial void OnNotesChanged();
    #endregion
		
		public tblStaffsTable()
		{
			this._tblRezerveTickets = new EntitySet<tblRezerveTicket>(new Action<tblRezerveTicket>(this.attach_tblRezerveTickets), new Action<tblRezerveTicket>(this.detach_tblRezerveTickets));
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StaffID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int StaffID
		{
			get
			{
				return this._StaffID;
			}
			set
			{
				if ((this._StaffID != value))
				{
					this.OnStaffIDChanging(value);
					this.SendPropertyChanging();
					this._StaffID = value;
					this.SendPropertyChanged("StaffID");
					this.OnStaffIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NameSname", DbType="NVarChar(100)")]
		public string NameSname
		{
			get
			{
				return this._NameSname;
			}
			set
			{
				if ((this._NameSname != value))
				{
					this.OnNameSnameChanging(value);
					this.SendPropertyChanging();
					this._NameSname = value;
					this.SendPropertyChanged("NameSname");
					this.OnNameSnameChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNum", DbType="NVarChar(100)")]
		public string PhoneNum
		{
			get
			{
				return this._PhoneNum;
			}
			set
			{
				if ((this._PhoneNum != value))
				{
					this.OnPhoneNumChanging(value);
					this.SendPropertyChanging();
					this._PhoneNum = value;
					this.SendPropertyChanged("PhoneNum");
					this.OnPhoneNumChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FaxNum", DbType="NVarChar(100)")]
		public string FaxNum
		{
			get
			{
				return this._FaxNum;
			}
			set
			{
				if ((this._FaxNum != value))
				{
					this.OnFaxNumChanging(value);
					this.SendPropertyChanging();
					this._FaxNum = value;
					this.SendPropertyChanged("FaxNum");
					this.OnFaxNumChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Notes", DbType="NVarChar(500)")]
		public string Notes
		{
			get
			{
				return this._Notes;
			}
			set
			{
				if ((this._Notes != value))
				{
					this.OnNotesChanging(value);
					this.SendPropertyChanging();
					this._Notes = value;
					this.SendPropertyChanged("Notes");
					this.OnNotesChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblStaffsTable_tblRezerveTicket", Storage="_tblRezerveTickets", ThisKey="StaffID", OtherKey="StaffID")]
		public EntitySet<tblRezerveTicket> tblRezerveTickets
		{
			get
			{
				return this._tblRezerveTickets;
			}
			set
			{
				this._tblRezerveTickets.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_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblStaffsTable = this;
		}
		
		private void detach_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblStaffsTable = null;
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblServicesDef")]
	public partial class tblServicesDef : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _ServiceID;
		
		private string _ServiceDescript;
		
		private string _ServiceDate;
		
		private System.Nullable<int> _Quantity;
		
		private System.Nullable<bool> _ExpireBit;
		
		private System.Nullable<int> _ServiceTypeID;
		
		private System.Nullable<decimal> _DefPrice;
		
		private EntitySet<tblRezerveTicket> _tblRezerveTickets;
		
		private EntityRef<tblServiceType> _tblServiceType;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnServiceIDChanging(int value);
    partial void OnServiceIDChanged();
    partial void OnServiceDescriptChanging(string value);
    partial void OnServiceDescriptChanged();
    partial void OnServiceDateChanging(string value);
    partial void OnServiceDateChanged();
    partial void OnQuantityChanging(System.Nullable<int> value);
    partial void OnQuantityChanged();
    partial void OnExpireBitChanging(System.Nullable<bool> value);
    partial void OnExpireBitChanged();
    partial void OnServiceTypeIDChanging(System.Nullable<int> value);
    partial void OnServiceTypeIDChanged();
    partial void OnDefPriceChanging(System.Nullable<decimal> value);
    partial void OnDefPriceChanged();
    #endregion
		
		public tblServicesDef()
		{
			this._tblRezerveTickets = new EntitySet<tblRezerveTicket>(new Action<tblRezerveTicket>(this.attach_tblRezerveTickets), new Action<tblRezerveTicket>(this.detach_tblRezerveTickets));
			this._tblServiceType = default(EntityRef<tblServiceType>);
			OnCreated();
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int ServiceID
		{
			get
			{
				return this._ServiceID;
			}
			set
			{
				if ((this._ServiceID != value))
				{
					this.OnServiceIDChanging(value);
					this.SendPropertyChanging();
					this._ServiceID = value;
					this.SendPropertyChanged("ServiceID");
					this.OnServiceIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDescript", DbType="NVarChar(500)")]
		public string ServiceDescript
		{
			get
			{
				return this._ServiceDescript;
			}
			set
			{
				if ((this._ServiceDescript != value))
				{
					this.OnServiceDescriptChanging(value);
					this.SendPropertyChanging();
					this._ServiceDescript = value;
					this.SendPropertyChanged("ServiceDescript");
					this.OnServiceDescriptChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDate", DbType="NVarChar(10)")]
		public string ServiceDate
		{
			get
			{
				return this._ServiceDate;
			}
			set
			{
				if ((this._ServiceDate != value))
				{
					this.OnServiceDateChanging(value);
					this.SendPropertyChanging();
					this._ServiceDate = value;
					this.SendPropertyChanged("ServiceDate");
					this.OnServiceDateChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Int")]
		public System.Nullable<int> 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="_ExpireBit", DbType="Bit")]
		public System.Nullable<bool> ExpireBit
		{
			get
			{
				return this._ExpireBit;
			}
			set
			{
				if ((this._ExpireBit != value))
				{
					this.OnExpireBitChanging(value);
					this.SendPropertyChanging();
					this._ExpireBit = value;
					this.SendPropertyChanged("ExpireBit");
					this.OnExpireBitChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceTypeID", DbType="Int")]
		public System.Nullable<int> ServiceTypeID
		{
			get
			{
				return this._ServiceTypeID;
			}
			set
			{
				if ((this._ServiceTypeID != value))
				{
					if (this._tblServiceType.HasLoadedOrAssignedValue)
					{
						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
					}
					this.OnServiceTypeIDChanging(value);
					this.SendPropertyChanging();
					this._ServiceTypeID = value;
					this.SendPropertyChanged("ServiceTypeID");
					this.OnServiceTypeIDChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefPrice", DbType="Decimal(18,0)")]
		public System.Nullable<decimal> DefPrice
		{
			get
			{
				return this._DefPrice;
			}
			set
			{
				if ((this._DefPrice != value))
				{
					this.OnDefPriceChanging(value);
					this.SendPropertyChanging();
					this._DefPrice = value;
					this.SendPropertyChanged("DefPrice");
					this.OnDefPriceChanged();
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblServicesDef_tblRezerveTicket", Storage="_tblRezerveTickets", ThisKey="ServiceID", OtherKey="ServiceID")]
		public EntitySet<tblRezerveTicket> tblRezerveTickets
		{
			get
			{
				return this._tblRezerveTickets;
			}
			set
			{
				this._tblRezerveTickets.Assign(value);
			}
		}
		
		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="tblServiceType_tblServicesDef", Storage="_tblServiceType", ThisKey="ServiceTypeID", OtherKey="ServiceTypeID", IsForeignKey=true)]
		public tblServiceType tblServiceType
		{
			get
			{
				return this._tblServiceType.Entity;
			}
			set
			{
				tblServiceType previousValue = this._tblServiceType.Entity;
				if (((previousValue != value) 
							|| (this._tblServiceType.HasLoadedOrAssignedValue == false)))
				{
					this.SendPropertyChanging();
					if ((previousValue != null))
					{
						this._tblServiceType.Entity = null;
						previousValue.tblServicesDefs.Remove(this);
					}
					this._tblServiceType.Entity = value;
					if ((value != null))
					{
						value.tblServicesDefs.Add(this);
						this._ServiceTypeID = value.ServiceTypeID;
					}
					else
					{
						this._ServiceTypeID = default(Nullable<int>);
					}
					this.SendPropertyChanged("tblServiceType");
				}
			}
		}
		
		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_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblServicesDef = this;
		}
		
		private void detach_tblRezerveTickets(tblRezerveTicket entity)
		{
			this.SendPropertyChanging();
			entity.tblServicesDef = null;
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.XtblCustomers")]
	public partial class XtblCustomer
	{
		
		private int _CustomerID;
		
		private string _NameSname;
		
		private string _PhoneNum;
		
		private string _FaxNum;
		
		private string _Notes;
		
		public XtblCustomer()
		{
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CustomerID", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
		public int CustomerID
		{
			get
			{
				return this._CustomerID;
			}
			set
			{
				if ((this._CustomerID != value))
				{
					this._CustomerID = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NameSname", DbType="NVarChar(100)")]
		public string NameSname
		{
			get
			{
				return this._NameSname;
			}
			set
			{
				if ((this._NameSname != value))
				{
					this._NameSname = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNum", DbType="NVarChar(100)")]
		public string PhoneNum
		{
			get
			{
				return this._PhoneNum;
			}
			set
			{
				if ((this._PhoneNum != value))
				{
					this._PhoneNum = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FaxNum", DbType="NVarChar(100)")]
		public string FaxNum
		{
			get
			{
				return this._FaxNum;
			}
			set
			{
				if ((this._FaxNum != value))
				{
					this._FaxNum = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Notes", DbType="NVarChar(500)")]
		public string Notes
		{
			get
			{
				return this._Notes;
			}
			set
			{
				if ((this._Notes != value))
				{
					this._Notes = value;
				}
			}
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.XtblStaffs")]
	public partial class XtblStaff
	{
		
		private int _StaffID;
		
		private string _NameSname;
		
		private string _PhoneNum;
		
		private string _FaxNum;
		
		private string _Notes;
		
		public XtblStaff()
		{
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StaffID", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
		public int StaffID
		{
			get
			{
				return this._StaffID;
			}
			set
			{
				if ((this._StaffID != value))
				{
					this._StaffID = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NameSname", DbType="NVarChar(100)")]
		public string NameSname
		{
			get
			{
				return this._NameSname;
			}
			set
			{
				if ((this._NameSname != value))
				{
					this._NameSname = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNum", DbType="NVarChar(100)")]
		public string PhoneNum
		{
			get
			{
				return this._PhoneNum;
			}
			set
			{
				if ((this._PhoneNum != value))
				{
					this._PhoneNum = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FaxNum", DbType="NVarChar(100)")]
		public string FaxNum
		{
			get
			{
				return this._FaxNum;
			}
			set
			{
				if ((this._FaxNum != value))
				{
					this._FaxNum = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Notes", DbType="NVarChar(500)")]
		public string Notes
		{
			get
			{
				return this._Notes;
			}
			set
			{
				if ((this._Notes != value))
				{
					this._Notes = value;
				}
			}
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.XtblReservs")]
	public partial class XtblReserv
	{
		
		private int _RezerveID;
		
		private string _RezerveDate;
		
		private int _QuanTity;
		
		private System.Nullable<double> _Mandeh;
		
		private System.Nullable<double> _BianehPardakhti;
		
		private string _NameSname;
		
		private string _ServiceDescript;
		
		private string _Expr1;
		
		public XtblReserv()
		{
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RezerveID", DbType="Int NOT NULL")]
		public int RezerveID
		{
			get
			{
				return this._RezerveID;
			}
			set
			{
				if ((this._RezerveID != value))
				{
					this._RezerveID = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RezerveDate", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
		public string RezerveDate
		{
			get
			{
				return this._RezerveDate;
			}
			set
			{
				if ((this._RezerveDate != value))
				{
					this._RezerveDate = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuanTity", DbType="Int NOT NULL")]
		public int QuanTity
		{
			get
			{
				return this._QuanTity;
			}
			set
			{
				if ((this._QuanTity != value))
				{
					this._QuanTity = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mandeh", DbType="Float")]
		public System.Nullable<double> Mandeh
		{
			get
			{
				return this._Mandeh;
			}
			set
			{
				if ((this._Mandeh != value))
				{
					this._Mandeh = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BianehPardakhti", DbType="Float")]
		public System.Nullable<double> BianehPardakhti
		{
			get
			{
				return this._BianehPardakhti;
			}
			set
			{
				if ((this._BianehPardakhti != value))
				{
					this._BianehPardakhti = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NameSname", DbType="NVarChar(100)")]
		public string NameSname
		{
			get
			{
				return this._NameSname;
			}
			set
			{
				if ((this._NameSname != value))
				{
					this._NameSname = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDescript", DbType="NVarChar(500)")]
		public string ServiceDescript
		{
			get
			{
				return this._ServiceDescript;
			}
			set
			{
				if ((this._ServiceDescript != value))
				{
					this._ServiceDescript = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Expr1", DbType="NVarChar(100)")]
		public string Expr1
		{
			get
			{
				return this._Expr1;
			}
			set
			{
				if ((this._Expr1 != value))
				{
					this._Expr1 = value;
				}
			}
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.XtblServiceDef")]
	public partial class XtblServiceDef
	{
		
		private int _ServiceID;
		
		private string _ServiceDescript;
		
		private string _ServiceDate;
		
		private System.Nullable<int> _Quantity;
		
		private System.Nullable<bool> _ExpireBit;
		
		private System.Nullable<decimal> _DefPrice;
		
		private string _Expr1;
		
		public XtblServiceDef()
		{
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceID", DbType="Int NOT NULL")]
		public int ServiceID
		{
			get
			{
				return this._ServiceID;
			}
			set
			{
				if ((this._ServiceID != value))
				{
					this._ServiceID = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDescript", DbType="NVarChar(500)")]
		public string ServiceDescript
		{
			get
			{
				return this._ServiceDescript;
			}
			set
			{
				if ((this._ServiceDescript != value))
				{
					this._ServiceDescript = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDate", DbType="NVarChar(10)")]
		public string ServiceDate
		{
			get
			{
				return this._ServiceDate;
			}
			set
			{
				if ((this._ServiceDate != value))
				{
					this._ServiceDate = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Int")]
		public System.Nullable<int> Quantity
		{
			get
			{
				return this._Quantity;
			}
			set
			{
				if ((this._Quantity != value))
				{
					this._Quantity = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpireBit", DbType="Bit")]
		public System.Nullable<bool> ExpireBit
		{
			get
			{
				return this._ExpireBit;
			}
			set
			{
				if ((this._ExpireBit != value))
				{
					this._ExpireBit = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefPrice", DbType="Decimal(18,0)")]
		public System.Nullable<decimal> DefPrice
		{
			get
			{
				return this._DefPrice;
			}
			set
			{
				if ((this._DefPrice != value))
				{
					this._DefPrice = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Expr1", DbType="NVarChar(50)")]
		public string Expr1
		{
			get
			{
				return this._Expr1;
			}
			set
			{
				if ((this._Expr1 != value))
				{
					this._Expr1 = value;
				}
			}
		}
	}
}
#pragma warning restore 1591
