?? 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 + -