📄 productinds1.cs
字号:
internal view_产成品入库单明细历史DataTable(DataTable table) :
base(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;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn 入库单号Column {
get {
return this.column入库单号;
}
}
internal DataColumn 产成品编号Column {
get {
return this.column产成品编号;
}
}
internal DataColumn 拼音编码Column {
get {
return this.column拼音编码;
}
}
internal DataColumn 产成品名Column {
get {
return this.column产成品名;
}
}
internal DataColumn 规格Column {
get {
return this.column规格;
}
}
internal DataColumn 单位Column {
get {
return this.column单位;
}
}
internal DataColumn 入库数量Column {
get {
return this.column入库数量;
}
}
internal DataColumn 订单号Column {
get {
return this.column订单号;
}
}
internal DataColumn 仓库Column {
get {
return this.column仓库;
}
}
internal DataColumn 生产批号Column {
get {
return this.column生产批号;
}
}
internal DataColumn 验收人Column {
get {
return this.column验收人;
}
}
internal DataColumn 状态Column {
get {
return this.column状态;
}
}
public view_产成品入库单明细历史Row this[int index] {
get {
return ((view_产成品入库单明细历史Row)(this.Rows[index]));
}
}
public event view_产成品入库单明细历史RowChangeEventHandler view_产成品入库单明细历史RowChanged;
public event view_产成品入库单明细历史RowChangeEventHandler view_产成品入库单明细历史RowChanging;
public event view_产成品入库单明细历史RowChangeEventHandler view_产成品入库单明细历史RowDeleted;
public event view_产成品入库单明细历史RowChangeEventHandler view_产成品入库单明细历史RowDeleting;
public void Addview_产成品入库单明细历史Row(view_产成品入库单明细历史Row row) {
this.Rows.Add(row);
}
public view_产成品入库单明细历史Row Addview_产成品入库单明细历史Row(string 入库单号, string 产成品编号, string 拼音编码, string 产成品名, string 规格, string 单位, System.Decimal 入库数量, string 订单号, string 仓库, string 生产批号, string 验收人, string 状态) {
view_产成品入库单明细历史Row rowview_产成品入库单明细历史Row = ((view_产成品入库单明细历史Row)(this.NewRow()));
rowview_产成品入库单明细历史Row.ItemArray = new object[] {
入库单号,
产成品编号,
拼音编码,
产成品名,
规格,
单位,
入库数量,
订单号,
仓库,
生产批号,
验收人,
状态};
this.Rows.Add(rowview_产成品入库单明细历史Row);
return rowview_产成品入库单明细历史Row;
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
view_产成品入库单明细历史DataTable cln = ((view_产成品入库单明细历史DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new view_产成品入库单明细历史DataTable();
}
internal void InitVars() {
this.column入库单号 = this.Columns["入库单号"];
this.column产成品编号 = this.Columns["产成品编号"];
this.column拼音编码 = this.Columns["拼音编码"];
this.column产成品名 = this.Columns["产成品名"];
this.column规格 = this.Columns["规格"];
this.column单位 = this.Columns["单位"];
this.column入库数量 = this.Columns["入库数量"];
this.column订单号 = this.Columns["订单号"];
this.column仓库 = this.Columns["仓库"];
this.column生产批号 = this.Columns["生产批号"];
this.column验收人 = this.Columns["验收人"];
this.column状态 = this.Columns["状态"];
}
private void InitClass() {
this.column入库单号 = new DataColumn("入库单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column入库单号);
this.column产成品编号 = new DataColumn("产成品编号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column产成品编号);
this.column拼音编码 = new DataColumn("拼音编码", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column拼音编码);
this.column产成品名 = new DataColumn("产成品名", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column产成品名);
this.column规格 = new DataColumn("规格", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column规格);
this.column单位 = new DataColumn("单位", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column单位);
this.column入库数量 = new DataColumn("入库数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.column入库数量);
this.column订单号 = new DataColumn("订单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column订单号);
this.column仓库 = new DataColumn("仓库", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column仓库);
this.column生产批号 = new DataColumn("生产批号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column生产批号);
this.column验收人 = new DataColumn("验收人", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column验收人);
this.column状态 = new DataColumn("状态", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column状态);
this.column单位.AllowDBNull = false;
}
public view_产成品入库单明细历史Row Newview_产成品入库单明细历史Row() {
return ((view_产成品入库单明细历史Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new view_产成品入库单明细历史Row(builder);
}
protected override System.Type GetRowType() {
return typeof(view_产成品入库单明细历史Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.view_产成品入库单明细历史RowChanged != null)) {
this.view_产成品入库单明细历史RowChanged(this, new view_产成品入库单明细历史RowChangeEvent(((view_产成品入库单明细历史Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.view_产成品入库单明细历史RowChanging != null)) {
this.view_产成品入库单明细历史RowChanging(this, new view_产成品入库单明细历史RowChangeEvent(((view_产成品入库单明细历史Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.view_产成品入库单明细历史RowDeleted != null)) {
this.view_产成品入库单明细历史RowDeleted(this, new view_产成品入库单明细历史RowChangeEvent(((view_产成品入库单明细历史Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.view_产成品入库单明细历史RowDeleting != null)) {
this.view_产成品入库单明细历史RowDeleting(this, new view_产成品入库单明细历史RowChangeEvent(((view_产成品入库单明细历史Row)(e.Row)), e.Action));
}
}
public void Removeview_产成品入库单明细历史Row(view_产成品入库单明细历史Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class view_产成品入库单明细历史Row : DataRow {
private view_产成品入库单明细历史DataTable tableview_产成品入库单明细历史;
internal view_产成品入库单明细历史Row(DataRowBuilder rb) :
base(rb) {
this.tableview_产成品入库单明细历史 = ((view_产成品入库单明细历史DataTable)(this.Table));
}
public string 入库单号 {
get {
try {
return ((string)(this[this.tableview_产成品入库单明细历史.入库单号Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tableview_产成品入库单明细历史.入库单号Column] = value;
}
}
public string 产成品编号 {
get {
try {
return ((string)(this[this.tableview_产成品入库单明细历史.产成品编号Column]));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -