⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 player.designer.cs

📁 简单的cI真的是很简单 你想要就下载吧
💻 CS
📖 第 1 页 / 共 2 页
字号:
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     このコードはツールによって生成されました。



//     ランタイム バージョン:2.0.50727.1433
//
//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、



//     コードが再生成されるときに損失したりします。



// </auto-generated>
//------------------------------------------------------------------------------

namespace BRISDataAccess.Linq
{
	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;
	
	
	[System.Data.Linq.Mapping.DatabaseAttribute(Name="EnterpriseDB")]
	public partial class PlayerDataContext : System.Data.Linq.DataContext
	{
		
		private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
		
    #region Extensibility Method Definitions
    partial void OnCreated();
    partial void InsertOrganizations(Organizations instance);
    partial void UpdateOrganizations(Organizations instance);
    partial void DeleteOrganizations(Organizations instance);
    partial void InsertRegions(Regions instance);
    partial void UpdateRegions(Regions instance);
    partial void DeleteRegions(Regions instance);
    partial void InsertUsers(Users instance);
    partial void UpdateUsers(Users instance);
    partial void DeleteUsers(Users instance);
    partial void InsertEmployees(Employees instance);
    partial void UpdateEmployees(Employees instance);
    partial void DeleteEmployees(Employees instance);
    #endregion
		
		public PlayerDataContext() : 
				base(global::BRISDataAccess.Properties.Settings.Default.EnterpriseDBConnectionString2, mappingSource)
		{
			OnCreated();
		}
		
		public PlayerDataContext(string connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public PlayerDataContext(System.Data.IDbConnection connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public PlayerDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public PlayerDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public System.Data.Linq.Table<Organizations> Organizations
		{
			get
			{
				return this.GetTable<Organizations>();
			}
		}
		
		public System.Data.Linq.Table<Regions> Regions
		{
			get
			{
				return this.GetTable<Regions>();
			}
		}
		
		public System.Data.Linq.Table<Users> Users
		{
			get
			{
				return this.GetTable<Users>();
			}
		}
		
		public System.Data.Linq.Table<Employees> Employees
		{
			get
			{
				return this.GetTable<Employees>();
			}
		}
	}
	
	[Table(Name="dbo.Organizations")]
	public partial class Organizations : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _OrgID;
		
		private string _OrgName;
		
		private int _IsSubOrg;
		
		private int _RegionID;
		
		private int _ReportTo;
		
		private int _CanCreateOrder;
		
		private int _CanReplayRequire;
		
		private int _CanInputTransportInfo;
		
		private int _CanConfirmReceive;
		
		private int _CanCloseOrder;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnOrgIDChanging(int value);
    partial void OnOrgIDChanged();
    partial void OnOrgNameChanging(string value);
    partial void OnOrgNameChanged();
    partial void OnIsSubOrgChanging(int value);
    partial void OnIsSubOrgChanged();
    partial void OnRegionIDChanging(int value);
    partial void OnRegionIDChanged();
    partial void OnReportToChanging(int value);
    partial void OnReportToChanged();
    partial void OnCanCreateOrderChanging(int value);
    partial void OnCanCreateOrderChanged();
    partial void OnCanReplayRequireChanging(int value);
    partial void OnCanReplayRequireChanged();
    partial void OnCanInputTransportInfoChanging(int value);
    partial void OnCanInputTransportInfoChanged();
    partial void OnCanConfirmReceiveChanging(int value);
    partial void OnCanConfirmReceiveChanged();
    partial void OnCanCloseOrderChanging(int value);
    partial void OnCanCloseOrderChanged();
    #endregion
		
		public Organizations()
		{
			OnCreated();
		}
		
		[Column(Storage="_OrgID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int OrgID
		{
			get
			{
				return this._OrgID;
			}
			set
			{
				if ((this._OrgID != value))
				{
					this.OnOrgIDChanging(value);
					this.SendPropertyChanging();
					this._OrgID = value;
					this.SendPropertyChanged("OrgID");
					this.OnOrgIDChanged();
				}
			}
		}
		
		[Column(Storage="_OrgName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
		public string OrgName
		{
			get
			{
				return this._OrgName;
			}
			set
			{
				if ((this._OrgName != value))
				{
					this.OnOrgNameChanging(value);
					this.SendPropertyChanging();
					this._OrgName = value;
					this.SendPropertyChanged("OrgName");
					this.OnOrgNameChanged();
				}
			}
		}
		
		[Column(Storage="_IsSubOrg", DbType="Int NOT NULL")]
		public int IsSubOrg
		{
			get
			{
				return this._IsSubOrg;
			}
			set
			{
				if ((this._IsSubOrg != value))
				{
					this.OnIsSubOrgChanging(value);
					this.SendPropertyChanging();
					this._IsSubOrg = value;
					this.SendPropertyChanged("IsSubOrg");
					this.OnIsSubOrgChanged();
				}
			}
		}
		
		[Column(Storage="_RegionID", DbType="Int NOT NULL")]
		public int RegionID
		{
			get
			{
				return this._RegionID;
			}
			set
			{
				if ((this._RegionID != value))
				{
					this.OnRegionIDChanging(value);
					this.SendPropertyChanging();
					this._RegionID = value;
					this.SendPropertyChanged("RegionID");
					this.OnRegionIDChanged();
				}
			}
		}
		
		[Column(Storage="_ReportTo", DbType="Int NOT NULL")]
		public int ReportTo
		{
			get
			{
				return this._ReportTo;
			}
			set
			{
				if ((this._ReportTo != value))
				{
					this.OnReportToChanging(value);
					this.SendPropertyChanging();
					this._ReportTo = value;
					this.SendPropertyChanged("ReportTo");
					this.OnReportToChanged();
				}
			}
		}
		
		[Column(Storage="_CanCreateOrder", DbType="Int NOT NULL")]
		public int CanCreateOrder
		{
			get
			{
				return this._CanCreateOrder;
			}
			set
			{
				if ((this._CanCreateOrder != value))
				{
					this.OnCanCreateOrderChanging(value);
					this.SendPropertyChanging();
					this._CanCreateOrder = value;
					this.SendPropertyChanged("CanCreateOrder");
					this.OnCanCreateOrderChanged();
				}
			}
		}
		
		[Column(Storage="_CanReplayRequire", DbType="Int NOT NULL")]
		public int CanReplayRequire
		{
			get
			{
				return this._CanReplayRequire;
			}
			set
			{
				if ((this._CanReplayRequire != value))
				{
					this.OnCanReplayRequireChanging(value);
					this.SendPropertyChanging();
					this._CanReplayRequire = value;
					this.SendPropertyChanged("CanReplayRequire");
					this.OnCanReplayRequireChanged();
				}
			}
		}
		
		[Column(Storage="_CanInputTransportInfo", DbType="Int NOT NULL")]
		public int CanInputTransportInfo
		{
			get
			{
				return this._CanInputTransportInfo;
			}
			set
			{
				if ((this._CanInputTransportInfo != value))
				{
					this.OnCanInputTransportInfoChanging(value);
					this.SendPropertyChanging();
					this._CanInputTransportInfo = value;
					this.SendPropertyChanged("CanInputTransportInfo");
					this.OnCanInputTransportInfoChanged();
				}
			}
		}
		
		[Column(Storage="_CanConfirmReceive", DbType="Int NOT NULL")]
		public int CanConfirmReceive
		{
			get
			{
				return this._CanConfirmReceive;
			}
			set
			{
				if ((this._CanConfirmReceive != value))
				{
					this.OnCanConfirmReceiveChanging(value);
					this.SendPropertyChanging();
					this._CanConfirmReceive = value;
					this.SendPropertyChanged("CanConfirmReceive");
					this.OnCanConfirmReceiveChanged();
				}
			}
		}
		
		[Column(Storage="_CanCloseOrder", DbType="Int NOT NULL")]
		public int CanCloseOrder
		{
			get
			{
				return this._CanCloseOrder;
			}
			set
			{
				if ((this._CanCloseOrder != value))
				{
					this.OnCanCloseOrderChanging(value);
					this.SendPropertyChanging();
					this._CanCloseOrder = value;
					this.SendPropertyChanged("CanCloseOrder");
					this.OnCanCloseOrderChanged();
				}
			}
		}
		
		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));
			}
		}
	}
	
	[Table(Name="dbo.Regions")]
	public partial class Regions : INotifyPropertyChanging, INotifyPropertyChanged
	{
		
		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
		
		private int _RegionID;
		
		private string _RegionDescription;
		
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnRegionIDChanging(int value);
    partial void OnRegionIDChanged();
    partial void OnRegionDescriptionChanging(string value);
    partial void OnRegionDescriptionChanged();
    #endregion
		
		public Regions()
		{
			OnCreated();
		}
		
		[Column(Storage="_RegionID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
		public int RegionID
		{
			get
			{
				return this._RegionID;
			}
			set
			{
				if ((this._RegionID != value))
				{
					this.OnRegionIDChanging(value);
					this.SendPropertyChanging();
					this._RegionID = value;
					this.SendPropertyChanged("RegionID");
					this.OnRegionIDChanged();
				}
			}
		}
		
		[Column(Storage="_RegionDescription", DbType="NVarChar(50)")]
		public string RegionDescription
		{
			get
			{
				return this._RegionDescription;
			}
			set
			{
				if ((this._RegionDescription != value))
				{
					this.OnRegionDescriptionChanging(value);
					this.SendPropertyChanging();
					this._RegionDescription = value;
					this.SendPropertyChanged("RegionDescription");
					this.OnRegionDescriptionChanged();
				}
			}
		}
		
		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)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -