📄 dataset1.cs
字号:
}
}
public event 门诊收费项目RowChangeEventHandler 门诊收费项目RowChanged;
public event 门诊收费项目RowChangeEventHandler 门诊收费项目RowChanging;
public event 门诊收费项目RowChangeEventHandler 门诊收费项目RowDeleted;
public event 门诊收费项目RowChangeEventHandler 门诊收费项目RowDeleting;
public void Add门诊收费项目Row(门诊收费项目Row row) {
this.Rows.Add(row);
}
public 门诊收费项目Row Add门诊收费项目Row(string 编号, string 名称, string 拼音码, System.Decimal 费用, string 费用分类, string 病种分类, string 备注) {
门诊收费项目Row row门诊收费项目Row = ((门诊收费项目Row)(this.NewRow()));
row门诊收费项目Row.ItemArray = new object[] {
编号,
名称,
拼音码,
费用,
费用分类,
病种分类,
备注};
this.Rows.Add(row门诊收费项目Row);
return row门诊收费项目Row;
}
public 门诊收费项目Row FindBy编号(string 编号) {
return ((门诊收费项目Row)(this.Rows.Find(new object[] {
编号})));
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
门诊收费项目DataTable cln = ((门诊收费项目DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new 门诊收费项目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["备注"];
}
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(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.Constraints.Add(new UniqueConstraint("DataSet1Key2", new DataColumn[] {
this.column编号}, true));
this.column编号.AllowDBNull = false;
this.column编号.Unique = true;
}
public 门诊收费项目Row New门诊收费项目Row() {
return ((门诊收费项目Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new 门诊收费项目Row(builder);
}
protected override System.Type GetRowType() {
return typeof(门诊收费项目Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.门诊收费项目RowChanged != null)) {
this.门诊收费项目RowChanged(this, new 门诊收费项目RowChangeEvent(((门诊收费项目Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.门诊收费项目RowChanging != null)) {
this.门诊收费项目RowChanging(this, new 门诊收费项目RowChangeEvent(((门诊收费项目Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.门诊收费项目RowDeleted != null)) {
this.门诊收费项目RowDeleted(this, new 门诊收费项目RowChangeEvent(((门诊收费项目Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.门诊收费项目RowDeleting != null)) {
this.门诊收费项目RowDeleting(this, new 门诊收费项目RowChangeEvent(((门诊收费项目Row)(e.Row)), e.Action));
}
}
public void Remove门诊收费项目Row(门诊收费项目Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class 门诊收费项目Row : DataRow {
private 门诊收费项目DataTable table门诊收费项目;
internal 门诊收费项目Row(DataRowBuilder rb) :
base(rb) {
this.table门诊收费项目 = ((门诊收费项目DataTable)(this.Table));
}
public string 编号 {
get {
return ((string)(this[this.table门诊收费项目.编号Column]));
}
set {
this[this.table门诊收费项目.编号Column] = value;
}
}
public string 名称 {
get {
try {
return ((string)(this[this.table门诊收费项目.名称Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.名称Column] = value;
}
}
public string 拼音码 {
get {
try {
return ((string)(this[this.table门诊收费项目.拼音码Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.拼音码Column] = value;
}
}
public System.Decimal 费用 {
get {
try {
return ((System.Decimal)(this[this.table门诊收费项目.费用Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.费用Column] = value;
}
}
public string 费用分类 {
get {
try {
return ((string)(this[this.table门诊收费项目.费用分类Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.费用分类Column] = value;
}
}
public string 病种分类 {
get {
try {
return ((string)(this[this.table门诊收费项目.病种分类Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.病种分类Column] = value;
}
}
public string 备注 {
get {
try {
return ((string)(this[this.table门诊收费项目.备注Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table门诊收费项目.备注Column] = value;
}
}
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;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -