📄 dataset2.cs
字号:
}
public void Set性别Null() {
this[this.table门诊划价.性别Column] = System.Convert.DBNull;
}
public bool Is编号Null() {
return this.IsNull(this.table门诊划价.编号Column);
}
public void Set编号Null() {
this[this.table门诊划价.编号Column] = System.Convert.DBNull;
}
public bool Is科室Null() {
return this.IsNull(this.table门诊划价.科室Column);
}
public void Set科室Null() {
this[this.table门诊划价.科室Column] = System.Convert.DBNull;
}
public bool Is医生Null() {
return this.IsNull(this.table门诊划价.医生Column);
}
public void Set医生Null() {
this[this.table门诊划价.医生Column] = System.Convert.DBNull;
}
public bool Is划价时间Null() {
return this.IsNull(this.table门诊划价.划价时间Column);
}
public void Set划价时间Null() {
this[this.table门诊划价.划价时间Column] = System.Convert.DBNull;
}
public bool Is划价员Null() {
return this.IsNull(this.table门诊划价.划价员Column);
}
public void Set划价员Null() {
this[this.table门诊划价.划价员Column] = System.Convert.DBNull;
}
public bool Is是否收费Null() {
return this.IsNull(this.table门诊划价.是否收费Column);
}
public void Set是否收费Null() {
this[this.table门诊划价.是否收费Column] = System.Convert.DBNull;
}
public bool Is收费时间Null() {
return this.IsNull(this.table门诊划价.收费时间Column);
}
public void Set收费时间Null() {
this[this.table门诊划价.收费时间Column] = System.Convert.DBNull;
}
public bool Is划价金额Null() {
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 v收费项目及药品DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column编号;
private DataColumn column名称;
private DataColumn column规格;
private DataColumn column单位;
private DataColumn column单价;
private DataColumn column拼音码;
internal v收费项目及药品DataTable() :
base("v收费项目及药品") {
this.InitClass();
}
internal v收费项目及药品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拼音码;
}
}
public v收费项目及药品Row this[int index] {
get {
return ((v收费项目及药品Row)(this.Rows[index]));
}
}
public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanged;
public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanging;
public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleted;
public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleting;
public void Addv收费项目及药品Row(v收费项目及药品Row row) {
this.Rows.Add(row);
}
public v收费项目及药品Row Addv收费项目及药品Row(string 编号, string 名称, string 规格, string 单位, System.Decimal 单价, string 拼音码) {
v收费项目及药品Row rowv收费项目及药品Row = ((v收费项目及药品Row)(this.NewRow()));
rowv收费项目及药品Row.ItemArray = new object[] {
编号,
名称,
规格,
单位,
单价,
拼音码};
this.Rows.Add(rowv收费项目及药品Row);
return rowv收费项目及药品Row;
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
v收费项目及药品DataTable cln = ((v收费项目及药品DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new v收费项目及药品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["拼音码"];
}
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(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编号.AllowDBNull = false;
}
public v收费项目及药品Row Newv收费项目及药品Row() {
return ((v收费项目及药品Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new v收费项目及药品Row(builder);
}
protected override System.Type GetRowType() {
return typeof(v收费项目及药品Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.v收费项目及药品RowChanged != null)) {
this.v收费项目及药品RowChanged(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.v收费项目及药品RowChanging != null)) {
this.v收费项目及药品RowChanging(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.v收费项目及药品RowDeleted != null)) {
this.v收费项目及药品RowDeleted(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.v收费项目及药品RowDeleting != null)) {
this.v收费项目及药品RowDeleting(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
}
}
public void Removev收费项目及药品Row(v收费项目及药品Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class v收费项目及药品Row : DataRow {
private v收费项目及药品DataTable tablev收费项目及药品;
internal v收费项目及药品Row(DataRowBuilder rb) :
base(rb) {
this.tablev收费项目及药品 = ((v收费项目及药品DataTable)(this.Table));
}
public string 编号 {
get {
return ((string)(this[this.tablev收费项目及药品.编号Column]));
}
set {
this[this.tablev收费项目及药品.编号Column] = value;
}
}
public str
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -