📄 datasetproducts.designer.cs
字号:
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
public delegate void DataTableProductsRowChangeEventHandler(object sender, DataTableProductsRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class DataTableProductsDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
private global::System.Data.DataColumn columniID;
private global::System.Data.DataColumn columnszName;
private global::System.Data.DataColumn columniCount;
private global::System.Data.DataColumn columnfWeight;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public DataTableProductsDataTable() {
this.TableName = "DataTableProducts";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal DataTableProductsDataTable(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 DataTableProductsDataTable(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 iIDColumn {
get {
return this.columniID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn szNameColumn {
get {
return this.columnszName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn iCountColumn {
get {
return this.columniCount;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn fWeightColumn {
get {
return this.columnfWeight;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public DataTableProductsRow this[int index] {
get {
return ((DataTableProductsRow)(this.Rows[index]));
}
}
public event DataTableProductsRowChangeEventHandler DataTableProductsRowChanging;
public event DataTableProductsRowChangeEventHandler DataTableProductsRowChanged;
public event DataTableProductsRowChangeEventHandler DataTableProductsRowDeleting;
public event DataTableProductsRowChangeEventHandler DataTableProductsRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddDataTableProductsRow(DataTableProductsRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public DataTableProductsRow AddDataTableProductsRow(string iID, string szName, string iCount, string fWeight) {
DataTableProductsRow rowDataTableProductsRow = ((DataTableProductsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
iID,
szName,
iCount,
fWeight};
rowDataTableProductsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDataTableProductsRow);
return rowDataTableProductsRow;
}
[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() {
DataTableProductsDataTable cln = ((DataTableProductsDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new DataTableProductsDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columniID = base.Columns["iID"];
this.columnszName = base.Columns["szName"];
this.columniCount = base.Columns["iCount"];
this.columnfWeight = base.Columns["fWeight"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columniID = new global::System.Data.DataColumn("iID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columniID);
this.columnszName = new global::System.Data.DataColumn("szName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnszName);
this.columniCount = new global::System.Data.DataColumn("iCount", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columniCount);
this.columnfWeight = new global::System.Data.DataColumn("fWeight", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfWeight);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public DataTableProductsRow NewDataTableProductsRow() {
return ((DataTableProductsRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new DataTableProductsRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(DataTableProductsRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.DataTableProductsRowChanged != null)) {
this.DataTableProductsRowChanged(this, new DataTableProductsRowChangeEvent(((DataTableProductsRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.DataTableProductsRowChanging != null)) {
this.DataTableProductsRowChanging(this, new DataTableProductsRowChangeEvent(((DataTableProductsRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.DataTableProductsRowDeleted != null)) {
this.DataTableProductsRowDeleted(this, new DataTableProductsRowChangeEvent(((DataTableProductsRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -