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

📄 pub_para.designer.cs

📁 很好的技术
💻 CS
字号:
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3521
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;



[System.Data.Linq.Mapping.DatabaseAttribute(Name="pub_para")]
public partial class Pub_paraDataContext : System.Data.Linq.DataContext
{
	
	private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
	
  #region Extensibility Method Definitions
  partial void OnCreated();
  partial void InsertCURR(CURR instance);
  partial void UpdateCURR(CURR instance);
  partial void DeleteCURR(CURR instance);
  partial void InsertCOUNTRY(COUNTRY instance);
  partial void UpdateCOUNTRY(COUNTRY instance);
  partial void DeleteCOUNTRY(COUNTRY instance);
  partial void InsertUNIT(UNIT instance);
  partial void UpdateUNIT(UNIT instance);
  partial void DeleteUNIT(UNIT instance);
  partial void InsertCUSTOM_CODE(CUSTOM_CODE instance);
  partial void UpdateCUSTOM_CODE(CUSTOM_CODE instance);
  partial void DeleteCUSTOM_CODE(CUSTOM_CODE instance);
  #endregion
	
	public Pub_paraDataContext() : 
			base(global::System.Configuration.ConfigurationManager.ConnectionStrings["pub_paraConnectionString"].ConnectionString, mappingSource)
	{
		OnCreated();
	}
	
	public Pub_paraDataContext(string connection) : 
			base(connection, mappingSource)
	{
		OnCreated();
	}
	
	public Pub_paraDataContext(System.Data.IDbConnection connection) : 
			base(connection, mappingSource)
	{
		OnCreated();
	}
	
	public Pub_paraDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
			base(connection, mappingSource)
	{
		OnCreated();
	}
	
	public Pub_paraDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
			base(connection, mappingSource)
	{
		OnCreated();
	}
	
	public System.Data.Linq.Table<CURR> CURRs
	{
		get
		{
			return this.GetTable<CURR>();
		}
	}
	
	public System.Data.Linq.Table<COUNTRY> COUNTRies
	{
		get
		{
			return this.GetTable<COUNTRY>();
		}
	}
	
	public System.Data.Linq.Table<UNIT> UNITs
	{
		get
		{
			return this.GetTable<UNIT>();
		}
	}
	
	public System.Data.Linq.Table<CUSTOM_CODE> CUSTOM_CODEs
	{
		get
		{
			return this.GetTable<CUSTOM_CODE>();
		}
	}
}

[Table(Name="dbo.CURR")]
public partial class CURR : INotifyPropertyChanging, INotifyPropertyChanged
{
	
	private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
	
	private string _CURR_CODE;
	
	private string _CURR_SYMB;
	
	private string _CURR_NAME;
	
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnCURR_CODEChanging(string value);
    partial void OnCURR_CODEChanged();
    partial void OnCURR_SYMBChanging(string value);
    partial void OnCURR_SYMBChanged();
    partial void OnCURR_NAMEChanging(string value);
    partial void OnCURR_NAMEChanged();
    #endregion
	
	public CURR()
	{
		OnCreated();
	}
	
	[Column(Storage="_CURR_CODE", DbType="VarChar(3) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
	public string CURR_CODE
	{
		get
		{
			return this._CURR_CODE;
		}
		set
		{
			if ((this._CURR_CODE != value))
			{
				this.OnCURR_CODEChanging(value);
				this.SendPropertyChanging();
				this._CURR_CODE = value;
				this.SendPropertyChanged("CURR_CODE");
				this.OnCURR_CODEChanged();
			}
		}
	}
	
	[Column(Storage="_CURR_SYMB", DbType="VarChar(6)")]
	public string CURR_SYMB
	{
		get
		{
			return this._CURR_SYMB;
		}
		set
		{
			if ((this._CURR_SYMB != value))
			{
				this.OnCURR_SYMBChanging(value);
				this.SendPropertyChanging();
				this._CURR_SYMB = value;
				this.SendPropertyChanged("CURR_SYMB");
				this.OnCURR_SYMBChanged();
			}
		}
	}
	
	[Column(Storage="_CURR_NAME", DbType="VarChar(24)")]
	public string CURR_NAME
	{
		get
		{
			return this._CURR_NAME;
		}
		set
		{
			if ((this._CURR_NAME != value))
			{
				this.OnCURR_NAMEChanging(value);
				this.SendPropertyChanging();
				this._CURR_NAME = value;
				this.SendPropertyChanged("CURR_NAME");
				this.OnCURR_NAMEChanged();
			}
		}
	}
	
	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.COUNTRY")]
public partial class COUNTRY : INotifyPropertyChanging, INotifyPropertyChanged
{
	
	private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
	
	private string _COUNTRY_CO;
	
	private string _COUNTRY_EN;
	
	private string _COUNTRY_NA;
	
	private string _EXAM_MARK;
	
	private string _HIGH_LOW;
	
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnCOUNTRY_COChanging(string value);
    partial void OnCOUNTRY_COChanged();
    partial void OnCOUNTRY_ENChanging(string value);
    partial void OnCOUNTRY_ENChanged();
    partial void OnCOUNTRY_NAChanging(string value);
    partial void OnCOUNTRY_NAChanged();
    partial void OnEXAM_MARKChanging(string value);
    partial void OnEXAM_MARKChanged();
    partial void OnHIGH_LOWChanging(string value);
    partial void OnHIGH_LOWChanged();
    #endregion
	
	public COUNTRY()
	{
		OnCreated();
	}
	
	[Column(Storage="_COUNTRY_CO", DbType="VarChar(3) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
	public string COUNTRY_CO
	{
		get
		{
			return this._COUNTRY_CO;
		}
		set
		{
			if ((this._COUNTRY_CO != value))
			{
				this.OnCOUNTRY_COChanging(value);
				this.SendPropertyChanging();
				this._COUNTRY_CO = value;
				this.SendPropertyChanged("COUNTRY_CO");
				this.OnCOUNTRY_COChanged();
			}
		}
	}
	
	[Column(Storage="_COUNTRY_EN", DbType="VarChar(32)")]
	public string COUNTRY_EN
	{
		get
		{
			return this._COUNTRY_EN;
		}
		set
		{
			if ((this._COUNTRY_EN != value))
			{
				this.OnCOUNTRY_ENChanging(value);
				this.SendPropertyChanging();
				this._COUNTRY_EN = value;
				this.SendPropertyChanged("COUNTRY_EN");
				this.OnCOUNTRY_ENChanged();
			}
		}
	}
	
	[Column(Storage="_COUNTRY_NA", DbType="NVarChar(260)")]
	public string COUNTRY_NA
	{
		get
		{
			return this._COUNTRY_NA;
		}
		set
		{
			if ((this._COUNTRY_NA != value))
			{
				this.OnCOUNTRY_NAChanging(value);
				this.SendPropertyChanging();
				this._COUNTRY_NA = value;
				this.SendPropertyChanged("COUNTRY_NA");
				this.OnCOUNTRY_NAChanged();
			}
		}
	}
	
	[Column(Storage="_EXAM_MARK", DbType="VarChar(10)")]
	public string EXAM_MARK
	{
		get
		{
			return this._EXAM_MARK;
		}
		set
		{
			if ((this._EXAM_MARK != value))
			{
				this.OnEXAM_MARKChanging(value);
				this.SendPropertyChanging();
				this._EXAM_MARK = value;
				this.SendPropertyChanged("EXAM_MARK");
				this.OnEXAM_MARKChanged();
			}
		}
	}
	
	[Column(Storage="_HIGH_LOW", DbType="VarChar(10)")]
	public string HIGH_LOW
	{
		get
		{
			return this._HIGH_LOW;
		}
		set
		{
			if ((this._HIGH_LOW != value))
			{
				this.OnHIGH_LOWChanging(value);
				this.SendPropertyChanging();
				this._HIGH_LOW = value;
				this.SendPropertyChanged("HIGH_LOW");
				this.OnHIGH_LOWChanged();
			}
		}
	}
	
	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.UNIT")]
public partial class UNIT : INotifyPropertyChanging, INotifyPropertyChanged
{
	
	private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
	
	private string _UNIT_CODE;
	
	private string _CONV_CODE;
	
	private string _CONV_RATIO;
	
	private string _UNIT_NAME;
	
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnUNIT_CODEChanging(string value);
    partial void OnUNIT_CODEChanged();
    partial void OnCONV_CODEChanging(string value);
    partial void OnCONV_CODEChanged();
    partial void OnCONV_RATIOChanging(string value);
    partial void OnCONV_RATIOChanged();
    partial void OnUNIT_NAMEChanging(string value);
    partial void OnUNIT_NAMEChanged();
    #endregion
	
	public UNIT()
	{
		OnCreated();
	}
	
	[Column(Storage="_UNIT_CODE", DbType="VarChar(3) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
	public string UNIT_CODE
	{
		get
		{
			return this._UNIT_CODE;
		}
		set
		{
			if ((this._UNIT_CODE != value))
			{
				this.OnUNIT_CODEChanging(value);
				this.SendPropertyChanging();
				this._UNIT_CODE = value;
				this.SendPropertyChanged("UNIT_CODE");
				this.OnUNIT_CODEChanged();
			}
		}
	}
	
	[Column(Storage="_CONV_CODE", DbType="VarChar(2)")]
	public string CONV_CODE
	{
		get
		{
			return this._CONV_CODE;
		}
		set
		{
			if ((this._CONV_CODE != value))
			{
				this.OnCONV_CODEChanging(value);
				this.SendPropertyChanging();
				this._CONV_CODE = value;
				this.SendPropertyChanged("CONV_CODE");
				this.OnCONV_CODEChanged();
			}
		}
	}
	
	[Column(Storage="_CONV_RATIO", DbType="VarChar(40)")]
	public string CONV_RATIO
	{
		get
		{
			return this._CONV_RATIO;
		}
		set
		{
			if ((this._CONV_RATIO != value))
			{
				this.OnCONV_RATIOChanging(value);
				this.SendPropertyChanging();
				this._CONV_RATIO = value;
				this.SendPropertyChanged("CONV_RATIO");
				this.OnCONV_RATIOChanged();
			}
		}
	}
	
	[Column(Storage="_UNIT_NAME", DbType="VarChar(10)")]
	public string UNIT_NAME
	{
		get
		{
			return this._UNIT_NAME;
		}
		set
		{
			if ((this._UNIT_NAME != value))
			{
				this.OnUNIT_NAMEChanging(value);
				this.SendPropertyChanging();
				this._UNIT_NAME = value;
				this.SendPropertyChanged("UNIT_NAME");
				this.OnUNIT_NAMEChanged();
			}
		}
	}
	
	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.CUSTOM_CODE")]
public partial class CUSTOM_CODE : INotifyPropertyChanging, INotifyPropertyChanged
{
	
	private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
	
	private string _CUSTOM_CO;
	
	private string _CUSTOM_NA;
	
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnCUSTOM_COChanging(string value);
    partial void OnCUSTOM_COChanged();
    partial void OnCUSTOM_NAChanging(string value);
    partial void OnCUSTOM_NAChanged();
    #endregion
	
	public CUSTOM_CODE()
	{
		OnCreated();
	}
	
	[Column(Storage="_CUSTOM_CO", DbType="VarChar(4) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
	public string CUSTOM_CO
	{
		get
		{
			return this._CUSTOM_CO;
		}
		set
		{
			if ((this._CUSTOM_CO != value))
			{
				this.OnCUSTOM_COChanging(value);
				this.SendPropertyChanging();
				this._CUSTOM_CO = value;
				this.SendPropertyChanged("CUSTOM_CO");
				this.OnCUSTOM_COChanged();
			}
		}
	}
	
	[Column(Storage="_CUSTOM_NA", DbType="VarChar(50)")]
	public string CUSTOM_NA
	{
		get
		{
			return this._CUSTOM_NA;
		}
		set
		{
			if ((this._CUSTOM_NA != value))
			{
				this.OnCUSTOM_NAChanging(value);
				this.SendPropertyChanging();
				this._CUSTOM_NA = value;
				this.SendPropertyChanged("CUSTOM_NA");
				this.OnCUSTOM_NAChanged();
			}
		}
	}
	
	public event PropertyChangingEventHandler PropertyChanging;
	
	public event PropertyChangedEventHandler PropertyChanged;
	
	protected virtual void SendPropertyChanging()
	{
		if ((this.PropertyChanging != null))
		{
			this.PropertyChanging(this, emptyChangingEventArgs);
		}
	}
	
	protected virtual void SendPropertyChanged(String propertyName)
	{
		if ((this.PropertyChanged != null))
		{
			this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
		}
	}
}
#pragma warning restore 1591

⌨️ 快捷键说明

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