📄 sqldatabase_datadataset.designer.cs
字号:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 库存类型DataTable(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 库存类型DataTable(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.column库存ID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 资产类型Column {
get {
return this.column资产类型;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 型号Column {
get {
return this.column型号;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 规格Column {
get {
return this.column规格;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 等级Column {
get {
return this.column等级;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 数量Column {
get {
return this.column数量;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 库存类型Row this[int index] {
get {
return ((库存类型Row)(this.Rows[index]));
}
}
public event 库存类型RowChangeEventHandler 库存类型RowChanging;
public event 库存类型RowChangeEventHandler 库存类型RowChanged;
public event 库存类型RowChangeEventHandler 库存类型RowDeleting;
public event 库存类型RowChangeEventHandler 库存类型RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Add库存类型Row(库存类型Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 库存类型Row Add库存类型Row(string 库存ID, string 资产类型, string 型号, string 规格, string 等级, int 数量) {
库存类型Row row库存类型Row = ((库存类型Row)(this.NewRow()));
row库存类型Row.ItemArray = new object[] {
库存ID,
资产类型,
型号,
规格,
等级,
数量};
this.Rows.Add(row库存类型Row);
return row库存类型Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 库存类型Row FindBy库存ID(string 库存ID) {
return ((库存类型Row)(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() {
库存类型DataTable cln = ((库存类型DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new 库存类型DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column库存ID = base.Columns["库存ID"];
this.column资产类型 = base.Columns["资产类型"];
this.column型号 = base.Columns["型号"];
this.column规格 = base.Columns["规格"];
this.column等级 = base.Columns["等级"];
this.column数量 = base.Columns["数量"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column库存ID = new System.Data.DataColumn("库存ID", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column库存ID);
this.column资产类型 = new System.Data.DataColumn("资产类型", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column资产类型);
this.column型号 = new System.Data.DataColumn("型号", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column型号);
this.column规格 = new System.Data.DataColumn("规格", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column规格);
this.column等级 = new System.Data.DataColumn("等级", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column等级);
this.column数量 = new System.Data.DataColumn("数量", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column数量);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column库存ID}, true));
this.column库存ID.AllowDBNull = false;
this.column库存ID.Unique = true;
this.column库存ID.MaxLength = 30;
this.column资产类型.AllowDBNull = false;
this.column资产类型.MaxLength = 50;
this.column型号.AllowDBNull = false;
this.column型号.MaxLength = 50;
this.column规格.AllowDBNull = false;
this.column规格.MaxLength = 50;
this.column等级.AllowDBNull = false;
this.column等级.MaxLength = 50;
this.column数量.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 库存类型Row New库存类型Row() {
return ((库存类型Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new 库存类型Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(库存类型Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.库存类型RowChanged != null)) {
this.库存类型RowChanged(this, new 库存类型RowChangeEvent(((库存类型Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.库存类型RowChanging != null)) {
this.库存类型RowChanging(this, new 库存类型RowChangeEvent(((库存类型Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.库存类型RowDeleted != null)) {
this.库存类型RowDeleted(this, new 库存类型RowChangeEvent(((库存类型Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.库存类型RowDeleting != null)) {
this.库存类型RowDeleting(this, new 库存类型RowChangeEvent(((库存类型Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove库存类型Row(库存类型Row row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
sqldatabase_DataDataSet ds = new sqldatabase_DataDataSet();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "库存类型DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class 型号表DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn column型号ID;
private System.Data.DataColumn column资产代号;
private System.Data.DataColumn column资产类型;
private System.Data.DataColumn column表计型号;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -