📄 saleorderds1.cs
字号:
return this.IsNull(this.table销售定单历史.票号Column);
}
public void Set票号Null() {
this[this.table销售定单历史.票号Column] = System.Convert.DBNull;
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 销售定单历史RowChangeEvent : EventArgs {
private 销售定单历史Row eventRow;
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税额;
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税额;
}
}
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 单位, string 类别, System.Decimal 定货数量, System.Decimal 税价合计, System.Decimal 扣率, System.Decimal 税率, System.Decimal 不含税价, System.Decimal 税额) {
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["税额"];
}
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(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定单编号.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));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -