📄 dsauthors.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.2914.16
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace VSOverView {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class dsAuthors : System.Data.DataSet {
private authorsDataTable tableauthors;
public dsAuthors() {
this.InitClass();
}
private dsAuthors(SerializationInfo info, StreamingContext context) {
this.InitClass();
this.GetSerializationData(info, context);
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public authorsDataTable authors {
get {
return this.tableauthors;
}
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.ReadXml(reader, XmlReadMode.IgnoreSchema);
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
private void InitClass() {
this.DataSetName = "dsAuthors";
this.Namespace = "http://www.tempuri.org/dsAuthors.xsd";
this.tableauthors = new authorsDataTable();
this.Tables.Add(this.tableauthors);
}
private bool ShouldSerializeauthors() {
return false;
}
public delegate void authorsRowChangeEventHandler(object sender, authorsRowChangeEvent e);
public class authorsDataTable : DataTable, System.Collections.IEnumerable {
private DataColumn columnau_id;
private DataColumn columnau_lname;
private DataColumn columnau_fname;
private DataColumn columnphone;
private DataColumn columnaddress;
private DataColumn columncity;
private DataColumn columnstate;
private DataColumn columnzip;
private DataColumn columncontract;
internal authorsDataTable() :
base("authors") {
this.InitClass();
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn au_idColumn {
get {
return this.columnau_id;
}
}
internal DataColumn au_lnameColumn {
get {
return this.columnau_lname;
}
}
internal DataColumn au_fnameColumn {
get {
return this.columnau_fname;
}
}
internal DataColumn phoneColumn {
get {
return this.columnphone;
}
}
internal DataColumn addressColumn {
get {
return this.columnaddress;
}
}
internal DataColumn cityColumn {
get {
return this.columncity;
}
}
internal DataColumn stateColumn {
get {
return this.columnstate;
}
}
internal DataColumn zipColumn {
get {
return this.columnzip;
}
}
internal DataColumn contractColumn {
get {
return this.columncontract;
}
}
public authorsRow this[int index] {
get {
return ((authorsRow)(this.Rows[index]));
}
}
public event authorsRowChangeEventHandler authorsRowChanged;
public event authorsRowChangeEventHandler authorsRowChanging;
public event authorsRowChangeEventHandler authorsRowDeleted;
public event authorsRowChangeEventHandler authorsRowDeleting;
public void AddauthorsRow(authorsRow row) {
this.Rows.Add(row);
}
public authorsRow AddauthorsRow(string au_id, string au_lname, string au_fname, string phone, string address, string city, string state, string zip, bool contract) {
authorsRow rowauthorsRow = ((authorsRow)(this.NewRow()));
rowauthorsRow.ItemArray = new object[] {
au_id,
au_lname,
au_fname,
phone,
address,
city,
state,
zip,
contract};
this.Rows.Add(rowauthorsRow);
return rowauthorsRow;
}
public authorsRow FindByau_id(string au_id) {
return ((authorsRow)(this.Rows.Find(new object[] {
au_id})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
private void InitClass() {
this.columnau_id = new DataColumn("au_id", typeof(string), "", System.Data.MappingType.Element);
this.columnau_id.AllowDBNull = false;
this.columnau_id.Unique = true;
this.Columns.Add(this.columnau_id);
this.columnau_lname = new DataColumn("au_lname", typeof(string), "", System.Data.MappingType.Element);
this.columnau_lname.AllowDBNull = false;
this.Columns.Add(this.columnau_lname);
this.columnau_fname = new DataColumn("au_fname", typeof(string), "", System.Data.MappingType.Element);
this.columnau_fname.AllowDBNull = false;
this.Columns.Add(this.columnau_fname);
this.columnphone = new DataColumn("phone", typeof(string), "", System.Data.MappingType.Element);
this.columnphone.AllowDBNull = false;
this.Columns.Add(this.columnphone);
this.columnaddress = new DataColumn("address", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.columnaddress);
this.columncity = new DataColumn("city", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.columncity);
this.columnstate = new DataColumn("state", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.columnstate);
this.columnzip = new DataColumn("zip", typeof(string), "", System.Data.MappingType.Element);
this.Columns.Add(this.columnzip);
this.columncontract = new DataColumn("contract", typeof(bool), "", System.Data.MappingType.Element);
this.columncontract.AllowDBNull = false;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -