📄 materielinds1.cs
字号:
private DataRowAction eventAction;
public 进货单历史RowChangeEvent(进货单历史Row row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public 进货单历史Row Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class view_进货单明细历史DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column进货单号;
private DataColumn column物料编号;
private DataColumn column拼音编码;
private DataColumn column品名;
private DataColumn column规格;
private DataColumn column单位;
private DataColumn column进货数量;
private DataColumn column税价合计;
private DataColumn column扣率;
private DataColumn column税率;
private DataColumn column不含税价;
private DataColumn column税额;
private DataColumn column仓库;
private DataColumn column货物质量;
private DataColumn column订单号;
internal view_进货单明细历史DataTable() :
base("view_进货单明细历史") {
this.InitClass();
}
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税额;
}
}
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 进货数量, System.Decimal 税价合计, System.Decimal 扣率, System.Decimal 税率, System.Decimal 不含税价, System.Decimal 税额, 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["税额"];
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(System.Decimal), 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(System.Decimal), 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(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进货单号.AllowDBNull = false;
this.column物料编号.AllowDBNull = false;
this.column单位.AllowDBNull = false;
this.column进货数量.AllowDBNull = false;
this.column仓库.AllowDBNull = false;
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) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -