📄 dataset3.cs
字号:
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 门诊划价Row this[int index] {
get {
return ((门诊划价Row)(this.Rows[index]));
}
}
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 编号, string 科室, string 挂号编号, string 医生, System.DateTime 划价时间, string 划价员, string 是否收费, string 收费员, System.DateTime 收费时间, System.Decimal 划价金额, string 是否发药, System.DateTime 发药时间, string 发药员) {
门诊划价Row row门诊划价Row = ((门诊划价Row)(this.NewRow()));
row门诊划价Row.ItemArray = new object[] {
姓名,
性别,
编号,
科室,
挂号编号,
医生,
划价时间,
划价员,
是否收费,
收费员,
收费时间,
划价金额,
是否发药,
发药时间,
发药员};
this.Rows.Add(row门诊划价Row);
return row门诊划价Row;
}
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["划价时间"];
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.DateTime), 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.DateTime), 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(System.DateTime), 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;
}
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 {
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 {
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 {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -