📄 datadataset.designer.cs
字号:
if ((initTable == true)) {
if ((this.tablegongneng != null)) {
this.tablegongneng.InitVars();
}
}
this.tableproducts = ((productsDataTable)(base.Tables["products"]));
if ((initTable == true)) {
if ((this.tableproducts != null)) {
this.tableproducts.InitVars();
}
}
this.tableuser = ((userDataTable)(base.Tables["user"]));
if ((initTable == true)) {
if ((this.tableuser != null)) {
this.tableuser.InitVars();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "dataDataSet";
this.Prefix = "";
this.Namespace = "http://tempuri.org/dataDataSet.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.tablecankao = new cankaoDataTable();
base.Tables.Add(this.tablecankao);
this.tablecanku = new cankuDataTable();
base.Tables.Add(this.tablecanku);
this.tabledianlutu = new dianlutuDataTable();
base.Tables.Add(this.tabledianlutu);
this.tablegongneng = new gongnengDataTable();
base.Tables.Add(this.tablegongneng);
this.tableproducts = new productsDataTable();
base.Tables.Add(this.tableproducts);
this.tableuser = new userDataTable();
base.Tables.Add(this.tableuser);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializecankao() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializecanku() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializedianlutu() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializegongneng() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeproducts() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeuser() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
dataDataSet ds = new dataDataSet();
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void cankaoRowChangeEventHandler(object sender, cankaoRowChangeEvent e);
public delegate void cankuRowChangeEventHandler(object sender, cankuRowChangeEvent e);
public delegate void dianlutuRowChangeEventHandler(object sender, dianlutuRowChangeEvent e);
public delegate void gongnengRowChangeEventHandler(object sender, gongnengRowChangeEvent e);
public delegate void productsRowChangeEventHandler(object sender, productsRowChangeEvent e);
public delegate void userRowChangeEventHandler(object sender, userRowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class cankaoDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnid;
private System.Data.DataColumn columnmingcheng;
private System.Data.DataColumn columncanshu;
private System.Data.DataColumn columntupian;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public cankaoDataTable() {
this.TableName = "cankao";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal cankaoDataTable(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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected cankaoDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn idColumn {
get {
return this.columnid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn mingchengColumn {
get {
return this.columnmingcheng;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn canshuColumn {
get {
return this.columncanshu;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn tupianColumn {
get {
return this.columntupian;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public cankaoRow this[int index] {
get {
return ((cankaoRow)(this.Rows[index]));
}
}
public event cankaoRowChangeEventHandler cankaoRowChanging;
public event cankaoRowChangeEventHandler cankaoRowChanged;
public event cankaoRowChangeEventHandler cankaoRowDeleting;
public event cankaoRowChangeEventHandler cankaoRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddcankaoRow(cankaoRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public cankaoRow AddcankaoRow(string mingcheng, string canshu, string tupian) {
cankaoRow rowcankaoRow = ((cankaoRow)(this.NewRow()));
rowcankaoRow.ItemArray = new object[] {
null,
mingcheng,
canshu,
tupian};
this.Rows.Add(rowcankaoRow);
return rowcankaoRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public cankaoRow FindByid(int id) {
return ((cankaoRow)(this.Rows.Find(new object[] {
id})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
cankaoDataTable cln = ((cankaoDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new cankaoDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnid = base.Columns["id"];
this.columnmingcheng = base.Columns["mingcheng"];
this.columncanshu = base.Columns["canshu"];
this.columntupian = base.Columns["tupian"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnid = new System.Data.DataColumn("id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnid);
this.columnmingcheng = new System.Data.DataColumn("mingcheng", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnmingcheng);
this.columncanshu = new System.Data.DataColumn("canshu", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columncanshu);
this.columntupian = new System.Data.DataColumn("tupian", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columntupian);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnid}, true));
this.columnid.AutoIncrement = true;
this.columnid.AllowDBNull = false;
this.columnid.Unique = true;
this.columnmingcheng.MaxLength = 50;
this.columncanshu.MaxLength = 50;
this.columntupian.MaxLength = 50;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public cankaoRow NewcankaoRow() {
return ((cankaoRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new cankaoRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(cankaoRow);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -