📄 jzzhao.cs
字号:
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new _TableRow(builder);
}
protected override System.Type GetRowType() {
return typeof(_TableRow);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this._TableRowChanged != null)) {
this._TableRowChanged(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this._TableRowChanging != null)) {
this._TableRowChanging(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this._TableRowDeleted != null)) {
this._TableRowDeleted(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this._TableRowDeleting != null)) {
this._TableRowDeleting(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
}
}
public void Remove_TableRow(_TableRow row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class _TableRow : DataRow {
private _TableDataTable table_Table;
internal _TableRow(DataRowBuilder rb) :
base(rb) {
this.table_Table = ((_TableDataTable)(this.Table));
}
public long 挂号号码 {
get {
try {
return ((long)(this[this.table_Table.挂号号码Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.挂号号码Column] = value;
}
}
public string 姓名 {
get {
try {
return ((string)(this[this.table_Table.姓名Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.姓名Column] = value;
}
}
public string 年龄 {
get {
try {
return ((string)(this[this.table_Table.年龄Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.年龄Column] = value;
}
}
public string 性别 {
get {
try {
return ((string)(this[this.table_Table.性别Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.性别Column] = value;
}
}
public string 住院 {
get {
try {
return ((string)(this[this.table_Table.住院Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.住院Column] = value;
}
}
public string 手术 {
get {
try {
return ((string)(this[this.table_Table.手术Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.手术Column] = value;
}
}
public string 实验 {
get {
try {
return ((string)(this[this.table_Table.实验Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.实验Column] = value;
}
}
public string 诊断病况 {
get {
try {
return ((string)(this[this.table_Table.诊断病况Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.诊断病况Column] = value;
}
}
public string 所开药方 {
get {
try {
return ((string)(this[this.table_Table.所开药方Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.所开药方Column] = value;
}
}
public string 调剂 {
get {
try {
return ((string)(this[this.table_Table.调剂Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.调剂Column] = value;
}
}
public string 复核 {
get {
try {
return ((string)(this[this.table_Table.复核Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.复核Column] = value;
}
}
public string 医师 {
get {
try {
return ((string)(this[this.table_Table.医师Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.医师Column] = value;
}
}
public System.DateTime 日期 {
get {
try {
return ((System.DateTime)(this[this.table_Table.日期Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.table_Table.日期Column] = value;
}
}
public bool Is挂号号码Null() {
return this.IsNull(this.table_Table.挂号号码Column);
}
public void Set挂号号码Null() {
this[this.table_Table.挂号号码Column] = System.Convert.DBNull;
}
public bool Is姓名Null() {
return this.IsNull(this.table_Table.姓名Column);
}
public void Set姓名Null() {
this[this.table_Table.姓名Column] = System.Convert.DBNull;
}
public bool Is年龄Null() {
return this.IsNull(this.table_Table.年龄Column);
}
public void Set年龄Null() {
this[this.table_Table.年龄Column] = System.Convert.DBNull;
}
public bool Is性别Null() {
return this.IsNull(this.table_Table.性别Column);
}
public void Set性别Null() {
this[this.table_Table.性别Column] = System.Convert.DBNull;
}
public bool Is住院Null() {
return this.IsNull(this.table_Table.住院Column);
}
public void Set住院Null() {
this[this.table_Table.住院Column] = System.Convert.DBNull;
}
public bool Is手术Null() {
return this.IsNull(this.table_Table.手术Column);
}
public void Set手术Null() {
this[this.table_Table.手术Column] = System.Convert.DBNull;
}
public bool Is实验Null() {
return this.IsNull(this.table_Table.实验Column);
}
public void Set实验Null() {
this[this.table_Table.实验Column] = System.Convert.DBNull;
}
public bool Is诊断病况Null() {
return this.IsNull(this.table_Table.诊断病况Column);
}
public void Set诊断病况Null() {
this[this.table_Table.诊断病况Column] = System.Convert.DBNull;
}
public bool Is所开药方Null() {
return this.IsNull(this.table_Table.所开药方Column);
}
public void Set所开药方Null() {
this[this.table_Table.所开药方Column] = System.Convert.DBNull;
}
public bool Is调剂Null() {
return this.IsNull(this.table_Table.调剂Column);
}
public void Set调剂Null() {
this[this.table_Table.调剂Column] = System.Convert.DBNull;
}
public bool Is复核Null() {
return this.IsNull(this.table_Table.复核Column);
}
public void Set复核Null() {
this[this.table_Table.复核Column] = System.Convert.DBNull;
}
public bool Is医师Null() {
return this.IsNull(this.table_Table.医师Column);
}
public void Set医师Null() {
this[this.table_Table.医师Column] = System.Convert.DBNull;
}
public bool Is日期Null() {
return this.IsNull(this.table_Table.日期Column);
}
public void Set日期Null() {
this[this.table_Table.日期Column] = System.Convert.DBNull;
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class _TableRowChangeEvent : EventArgs {
private _TableRow eventRow;
private DataRowAction eventAction;
public _TableRowChangeEvent(_TableRow row, DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
public _TableRow Row {
get {
return this.eventRow;
}
}
public DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -