📄 dataset2.designer.cs
字号:
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column供货商号 = new global::System.Data.DataColumn("供货商号", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column供货商号);
this.column货号 = new global::System.Data.DataColumn("货号", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column货号);
this.column进货日期 = new global::System.Data.DataColumn("进货日期", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column进货日期);
this.column业务员 = new global::System.Data.DataColumn("业务员", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column业务员);
this.column制单人 = new global::System.Data.DataColumn("制单人", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column制单人);
this.column进货数量 = new global::System.Data.DataColumn("进货数量", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column进货数量);
this.column进价 = new global::System.Data.DataColumn("进价", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column进价);
this.column税价合计 = new global::System.Data.DataColumn("税价合计", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column税价合计);
this.column税率 = new global::System.Data.DataColumn("税率", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column税率);
this.column不含税价 = new global::System.Data.DataColumn("不含税价", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column不含税价);
this.column税额 = new global::System.Data.DataColumn("税额", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column税额);
this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column名称);
this.column品名 = new global::System.Data.DataColumn("品名", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column品名);
this.column仓库 = new global::System.Data.DataColumn("仓库", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column仓库);
this.column单位 = new global::System.Data.DataColumn("单位", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column单位);
this.column供货商号.AllowDBNull = false;
this.column货号.AllowDBNull = false;
this.column进货数量.AllowDBNull = false;
this.column单位.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 进货单Row New进货单Row() {
return ((进货单Row)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new 进货单Row(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(进货单Row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.进货单RowChanged != null)) {
this.进货单RowChanged(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.进货单RowChanging != null)) {
this.进货单RowChanging(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.进货单RowDeleted != null)) {
this.进货单RowDeleted(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.进货单RowDeleting != null)) {
this.进货单RowDeleting(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove进货单Row(进货单Row row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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();
DataSet2 ds = new DataSet2();
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 = "进货单DataTable";
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>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class 进货单Row : global::System.Data.DataRow {
private 进货单DataTable table进货单;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 进货单Row(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.table进货单 = ((进货单DataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 供货商号 {
get {
return ((string)(this[this.table进货单.供货商号Column]));
}
set {
this[this.table进货单.供货商号Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 货号 {
get {
return ((string)(this[this.table进货单.货号Column]));
}
set {
this[this.table进货单.货号Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 进货日期 {
get {
try {
return ((global::System.DateTime)(this[this.table进货单.进货日期Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“进货单”中列“进货日期”的值为 DBNull。", e);
}
}
set {
this[this.table进货单.进货日期Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 业务员 {
get {
try {
return ((string)(this[this.table进货单.业务员Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“进货单”中列“业务员”的值为 DBNull。", e);
}
}
set {
this[this.table进货单.业务员Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 制单人 {
get {
try {
return ((string)(this[this.table进货单.制单人Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“进货单”中列“制单人”的值为 DBNull。", e);
}
}
set {
this[this.table进货单.制单人Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal 进货数量 {
get {
return ((decimal)(this[this.table进货单.进货数量Column]));
}
set {
this[this.table进货单.进货数量Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal 进价 {
get {
try {
return ((decimal)(this[this.table进货单.进价Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("表“进货单”中列“进价”的值为 DBNull。", e);
}
}
set {
this[this.table进货单.进价Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal 税价合计 {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -