dataset2.designer.cs
字号:
[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 物料编号, int 年份, int 计划期, int 开始日期, int 结束日期, decimal 需求数量, string 记帐人, int 修改日期, string 状态, string 备注) {
主需求计划Row row主需求计划Row = ((主需求计划Row)(this.NewRow()));
row主需求计划Row.ItemArray = new object[] {
物料编号,
年份,
计划期,
开始日期,
结束日期,
需求数量,
记帐人,
修改日期,
状态,
备注};
this.Rows.Add(row主需求计划Row);
return row主需求计划Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 主需求计划Row FindBy物料编号年份计划期(string 物料编号, int 年份, int 计划期) {
return ((主需求计划Row)(this.Rows.Find(new object[] {
物料编号,
年份,
计划期})));
}
[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物料编号 = base.Columns["物料编号"];
this.column年份 = base.Columns["年份"];
this.column计划期 = base.Columns["计划期"];
this.column开始日期 = base.Columns["开始日期"];
this.column结束日期 = base.Columns["结束日期"];
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物料编号 = 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.column计划期 = new System.Data.DataColumn("计划期", typeof(int), 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.column结束日期 = new System.Data.DataColumn("结束日期", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column结束日期);
this.column需求数量 = new System.Data.DataColumn("需求数量", typeof(decimal), 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.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.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column物料编号,
this.column年份,
this.column计划期}, true));
this.column物料编号.AllowDBNull = false;
this.column年份.AllowDBNull = false;
this.column计划期.AllowDBNull = false;
this.column需求数量.AllowDBNull = false;
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();
DataSet2 ds = new DataSet2();
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")]
public partial class 物料主文件Row : System.Data.DataRow {
private 物料主文件DataTable table物料主文件;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 物料主文件Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.table物料主文件 = ((物料主文件DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 物料编号 {
get {
return ((string)(this[this.table物料主文件.物料编号Column]));
}
set {
this[this.table物料主文件.物料编号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 条码 {
get {
try {
return ((string)(this[this.table物料主文件.条码Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“物料主文件”中列“条码”的值为 DBNull。", e);
}
}
set {
this[this.table物料主文件.条码Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 物料名称 {
get {
return ((string)(this[this.table物料主文件.物料名称Column]));
}
set {
this[this.table物料主文件.物料名称Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 拼音编码 {
get {
try {
return ((string)(this[this.table物料主文件.拼音编码Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“物料主文件”中列“拼音编码”的值为 DBNull。", e);
}
}
set {
this[this.table物料主文件.拼音编码Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 计量单位 {
get {
return ((string)(this[this.table物料主文件.计量单位Column]));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -