mydatabasedataset.designer.cs
来自「csharp课本的源代码」· CS 代码 · 共 1,385 行 · 第 1/5 页
CS
1,385 行
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set名称Null() {
this[this.tableMyTable1.名称Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class MyTable2Row : System.Data.DataRow {
private MyTable2DataTable tableMyTable2;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable2Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMyTable2 = ((MyTable2DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 学号 {
get {
return ((string)(this[this.tableMyTable2.学号Column]));
}
set {
this[this.tableMyTable2.学号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 姓名 {
get {
try {
return ((string)(this[this.tableMyTable2.姓名Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'姓名\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.姓名Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 性别 {
get {
try {
return ((string)(this[this.tableMyTable2.性别Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'性别\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.性别Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 出生日期 {
get {
try {
return ((System.DateTime)(this[this.tableMyTable2.出生日期Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'出生日期\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.出生日期Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 学院编码 {
get {
try {
return ((string)(this[this.tableMyTable2.学院编码Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'学院编码\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.学院编码Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 成绩 {
get {
try {
return ((int)(this[this.tableMyTable2.成绩Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'成绩\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.成绩Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public byte[] 照片 {
get {
try {
return ((byte[])(this[this.tableMyTable2.照片Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'照片\' in table \'MyTable2\' is DBNull.", e);
}
}
set {
this[this.tableMyTable2.照片Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is姓名Null() {
return this.IsNull(this.tableMyTable2.姓名Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set姓名Null() {
this[this.tableMyTable2.姓名Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is性别Null() {
return this.IsNull(this.tableMyTable2.性别Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set性别Null() {
this[this.tableMyTable2.性别Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is出生日期Null() {
return this.IsNull(this.tableMyTable2.出生日期Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set出生日期Null() {
this[this.tableMyTable2.出生日期Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is学院编码Null() {
return this.IsNull(this.tableMyTable2.学院编码Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set学院编码Null() {
this[this.tableMyTable2.学院编码Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is成绩Null() {
return this.IsNull(this.tableMyTable2.成绩Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set成绩Null() {
this[this.tableMyTable2.成绩Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is照片Null() {
return this.IsNull(this.tableMyTable2.照片Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set照片Null() {
this[this.tableMyTable2.照片Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1Row[] GetMyTable1Rows() {
return ((MyTable1Row[])(base.GetChildRows(this.Table.ChildRelations["MyTable2_MyTable1"])));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable3Row[] GetMyTable3Rows() {
return ((MyTable3Row[])(base.GetChildRows(this.Table.ChildRelations["MyTable2_MyTable3"])));
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class MyTable3Row : System.Data.DataRow {
private MyTable3DataTable tableMyTable3;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable3Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMyTable3 = ((MyTable3DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int id {
get {
return ((int)(this[this.tableMyTable3.idColumn]));
}
set {
this[this.tableMyTable3.idColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 学号 {
get {
try {
return ((string)(this[this.tableMyTable3.学号Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'学号\' in table \'MyTable3\' is DBNull.", e);
}
}
set {
this[this.tableMyTable3.学号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 成员姓名 {
get {
try {
return ((string)(this[this.tableMyTable3.成员姓名Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'成员姓名\' in table \'MyTable3\' is DBNull.", e);
}
}
set {
this[this.tableMyTable3.成员姓名Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 成员性别 {
get {
try {
return ((string)(this[this.tableMyTable3.成员性别Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'成员性别\' in table \'MyTable3\' is DBNull.", e);
}
}
set {
this[this.tableMyTable3.成员性别Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 与本人关系 {
get {
try {
return ((string)(this[this.tableMyTable3.与本人关系Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'与本人关系\' in table \'MyTable3\' is DBNull.", e);
}
}
set {
this[this.tableMyTable3.与本人关系Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable2Row MyTable2Row {
get {
return ((MyTable2Row)(this.GetParentRow(this.Table.ParentRelations["MyTable2_MyTable3"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["MyTable2_MyTable3"]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?