stocklistdataset.designer.cs
来自「c#三层架构项目开发的全过程」· CS 代码 · 共 1,133 行 · 第 1/5 页
CS
1,133 行
this.Rows.Add(rowStockForm_Select_ByIDRow);
return rowStockForm_Select_ByIDRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public StockForm_Select_ByIDRow FindByStockForm_id(string StockForm_id) {
return ((StockForm_Select_ByIDRow)(this.Rows.Find(new object[] {
StockForm_id})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
StockForm_Select_ByIDDataTable cln = ((StockForm_Select_ByIDDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new StockForm_Select_ByIDDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnStockForm_id = base.Columns["StockForm_id"];
this.columnEmployee_ID = base.Columns["Employee_ID"];
this.columnStockCheck_ID = base.Columns["StockCheck_ID"];
this.columnStock_Type_id = base.Columns["Stock_Type_id"];
this.columnStockForm_TotalNum = base.Columns["StockForm_TotalNum"];
this.columnStockForm_TradePrice = base.Columns["StockForm_TradePrice"];
this.columnStockForm_OKText = base.Columns["StockForm_OKText"];
this.columnStockForm_time = base.Columns["StockForm_time"];
this.columnStock_Type_Name = base.Columns["Stock_Type_Name"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnStockForm_id = new global::System.Data.DataColumn("StockForm_id", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockForm_id);
this.columnEmployee_ID = new global::System.Data.DataColumn("Employee_ID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEmployee_ID);
this.columnStockCheck_ID = new global::System.Data.DataColumn("StockCheck_ID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockCheck_ID);
this.columnStock_Type_id = new global::System.Data.DataColumn("Stock_Type_id", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStock_Type_id);
this.columnStockForm_TotalNum = new global::System.Data.DataColumn("StockForm_TotalNum", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockForm_TotalNum);
this.columnStockForm_TradePrice = new global::System.Data.DataColumn("StockForm_TradePrice", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockForm_TradePrice);
this.columnStockForm_OKText = new global::System.Data.DataColumn("StockForm_OKText", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockForm_OKText);
this.columnStockForm_time = new global::System.Data.DataColumn("StockForm_time", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStockForm_time);
this.columnStock_Type_Name = new global::System.Data.DataColumn("Stock_Type_Name", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStock_Type_Name);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnStockForm_id}, true));
this.columnStockForm_id.AllowDBNull = false;
this.columnStockForm_id.Unique = true;
this.columnStockForm_id.MaxLength = 20;
this.columnEmployee_ID.MaxLength = 50;
this.columnStockCheck_ID.MaxLength = 50;
this.columnStockForm_OKText.MaxLength = 10;
this.columnStock_Type_Name.MaxLength = 10;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public StockForm_Select_ByIDRow NewStockForm_Select_ByIDRow() {
return ((StockForm_Select_ByIDRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new StockForm_Select_ByIDRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(StockForm_Select_ByIDRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.StockForm_Select_ByIDRowChanged != null)) {
this.StockForm_Select_ByIDRowChanged(this, new StockForm_Select_ByIDRowChangeEvent(((StockForm_Select_ByIDRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.StockForm_Select_ByIDRowChanging != null)) {
this.StockForm_Select_ByIDRowChanging(this, new StockForm_Select_ByIDRowChangeEvent(((StockForm_Select_ByIDRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.StockForm_Select_ByIDRowDeleted != null)) {
this.StockForm_Select_ByIDRowDeleted(this, new StockForm_Select_ByIDRowChangeEvent(((StockForm_Select_ByIDRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.StockForm_Select_ByIDRowDeleting != null)) {
this.StockForm_Select_ByIDRowDeleting(this, new StockForm_Select_ByIDRowChangeEvent(((StockForm_Select_ByIDRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveStockForm_Select_ByIDRow(StockForm_Select_ByIDRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
StockListDataSet ds = new StockListDataSet();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "StockForm_Select_ByIDDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
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;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class StockForm_Select_ByIDRow : global::System.Data.DataRow {
private StockForm_Select_ByIDDataTable tableStockForm_Select_ByID;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal StockForm_Select_ByIDRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableStockForm_Select_ByID = ((StockForm_Select_ByIDDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string StockForm_id {
get {
return ((string)(this[this.tableStockForm_Select_ByID.StockForm_idColumn]));
}
set {
this[this.tableStockForm_Select_ByID.StockForm_idColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Employee_ID {
get {
try {
return ((string)(this[this.tableStockForm_Select_ByID.Employee_IDColumn]));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?