📄 northwinddataset.designer.cs
字号:
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class EmployeesDataTable : global::System.Data.TypedTableBase<EmployeesRow> {
private global::System.Data.DataColumn columnEmployee_ID;
private global::System.Data.DataColumn columnLast_Name;
private global::System.Data.DataColumn columnFirst_Name;
private global::System.Data.DataColumn columnTitle;
private global::System.Data.DataColumn columnBirth_Date;
private global::System.Data.DataColumn columnHire_Date;
private global::System.Data.DataColumn columnAddress;
private global::System.Data.DataColumn columnCity;
private global::System.Data.DataColumn columnRegion;
private global::System.Data.DataColumn columnPostal_Code;
private global::System.Data.DataColumn columnCountry;
private global::System.Data.DataColumn columnHome_Phone;
private global::System.Data.DataColumn columnExtension;
private global::System.Data.DataColumn columnPhoto;
private global::System.Data.DataColumn columnNotes;
private global::System.Data.DataColumn columnReports_To;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesDataTable() {
this.TableName = "Employees";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal EmployeesDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Employee_IDColumn {
get {
return this.columnEmployee_ID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Last_NameColumn {
get {
return this.columnLast_Name;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn First_NameColumn {
get {
return this.columnFirst_Name;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn TitleColumn {
get {
return this.columnTitle;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Birth_DateColumn {
get {
return this.columnBirth_Date;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Hire_DateColumn {
get {
return this.columnHire_Date;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn AddressColumn {
get {
return this.columnAddress;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn CityColumn {
get {
return this.columnCity;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn RegionColumn {
get {
return this.columnRegion;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Postal_CodeColumn {
get {
return this.columnPostal_Code;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn CountryColumn {
get {
return this.columnCountry;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Home_PhoneColumn {
get {
return this.columnHome_Phone;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn ExtensionColumn {
get {
return this.columnExtension;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PhotoColumn {
get {
return this.columnPhoto;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn NotesColumn {
get {
return this.columnNotes;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn Reports_ToColumn {
get {
return this.columnReports_To;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow this[int index] {
get {
return ((EmployeesRow)(this.Rows[index]));
}
}
public event EmployeesRowChangeEventHandler EmployeesRowChanging;
public event EmployeesRowChangeEventHandler EmployeesRowChanged;
public event EmployeesRowChangeEventHandler EmployeesRowDeleting;
public event EmployeesRowChangeEventHandler EmployeesRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddEmployeesRow(EmployeesRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow AddEmployeesRow(string Last_Name, string First_Name, string Title, System.DateTime Birth_Date, System.DateTime Hire_Date, string Address, string City, string Region, string Postal_Code, string Country, string Home_Phone, string Extension, byte[] Photo, string Notes, int Reports_To) {
EmployeesRow rowEmployeesRow = ((EmployeesRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
Last_Name,
First_Name,
Title,
Birth_Date,
Hire_Date,
Address,
City,
Region,
Postal_Code,
Country,
Home_Phone,
Extension,
Photo,
Notes,
Reports_To};
rowEmployeesRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEmployeesRow);
return rowEmployeesRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow FindByEmployee_ID(int Employee_ID) {
return ((EmployeesRow)(this.Rows.Find(new object[] {
Employee_ID})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
EmployeesDataTable cln = ((EmployeesDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new EmployeesDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnEmployee_ID = base.Columns["Employee ID"];
this.columnLast_Name = base.Columns["Last Name"];
this.columnFirst_Name = base.Columns["First Name"];
this.columnTitle = base.Columns["Title"];
this.columnBirth_Date = base.Columns["Birth Date"];
this.columnHire_Date = base.Columns["Hire Date"];
this.columnAddress = base.Columns["Address"];
this.columnCity = base.Columns["City"];
this.columnRegion = base.Columns["Region"];
this.columnPostal_Code = base.Columns["Postal Code"];
this.columnCountry = base.Columns["Country"];
this.columnHome_Phone = base.Columns["Home Phone"];
this.columnExtension = base.Columns["Extension"];
this.columnPhoto = base.Columns["Photo"];
this.columnNotes = base.Columns["Notes"];
this.columnReports_To = base.Columns["Reports To"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnEmployee_ID = new g
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -