📄 dataset1.designer.cs
字号:
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class infoTabDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columnguid;
private global::System.Data.DataColumn columnstate;
private global::System.Data.DataColumn columnproposer;
private global::System.Data.DataColumn columncontent;
private global::System.Data.DataColumn columnapprover;
private global::System.Data.DataColumn columnresult;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public infoTabDataTable() {
this.TableName = "infoTab";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal infoTabDataTable(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()]
protected infoTabDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn guidColumn {
get {
return this.columnguid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn stateColumn {
get {
return this.columnstate;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn proposerColumn {
get {
return this.columnproposer;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn contentColumn {
get {
return this.columncontent;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn approverColumn {
get {
return this.columnapprover;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn resultColumn {
get {
return this.columnresult;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public infoTabRow this[int index] {
get {
return ((infoTabRow)(this.Rows[index]));
}
}
public event infoTabRowChangeEventHandler infoTabRowChanging;
public event infoTabRowChangeEventHandler infoTabRowChanged;
public event infoTabRowChangeEventHandler infoTabRowDeleting;
public event infoTabRowChangeEventHandler infoTabRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddinfoTabRow(infoTabRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public infoTabRow AddinfoTabRow(string guid, int state, string proposer, string content, string approver, string result) {
infoTabRow rowinfoTabRow = ((infoTabRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
guid,
state,
proposer,
content,
approver,
result};
rowinfoTabRow.ItemArray = columnValuesArray;
this.Rows.Add(rowinfoTabRow);
return rowinfoTabRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public infoTabRow FindByguid(string guid) {
return ((infoTabRow)(this.Rows.Find(new object[] {
guid})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual global::System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
infoTabDataTable cln = ((infoTabDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new infoTabDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnguid = base.Columns["guid"];
this.columnstate = base.Columns["state"];
this.columnproposer = base.Columns["proposer"];
this.columncontent = base.Columns["content"];
this.columnapprover = base.Columns["approver"];
this.columnresult = base.Columns["result"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnguid = new global::System.Data.DataColumn("guid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnguid);
this.columnstate = new global::System.Data.DataColumn("state", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstate);
this.columnproposer = new global::System.Data.DataColumn("proposer", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnproposer);
this.columncontent = new global::System.Data.DataColumn("content", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncontent);
this.columnapprover = new global::System.Data.DataColumn("approver", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnapprover);
this.columnresult = new global::System.Data.DataColumn("result", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnresult);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnguid}, true));
this.columnguid.AllowDBNull = false;
this.columnguid.Unique = true;
this.columnstate.DefaultValue = ((int)(0));
this.columnproposer.DefaultValue = ((string)(""));
this.columncontent.DefaultValue = ((string)(""));
this.columnapprover.DefaultValue = ((string)(""));
this.columnresult.DefaultValue = ((string)(""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public infoTabRow NewinfoTabRow() {
return ((infoTabRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new infoTabRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(infoTabRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.infoTabRowChanged != null)) {
this.infoTabRowChanged(this, new infoTabRowChangeEvent(((infoTabRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.infoTabRowChanging != null)) {
this.infoTabRowChanging(this, new infoTabRowChangeEvent(((infoTabRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.infoTabRowDeleted != null)) {
this.infoTabRowDeleted(this, new infoTabRowChangeEvent(((infoTabRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -