📄 testlibrarydataset.designer.cs
字号:
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "SQuestionDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class MQuestionRow : System.Data.DataRow {
private MQuestionDataTable tableMQuestion;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MQuestionRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMQuestion = ((MQuestionDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Number {
get {
return ((int)(this[this.tableMQuestion.NumberColumn]));
}
set {
this[this.tableMQuestion.NumberColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Question {
get {
return ((string)(this[this.tableMQuestion.QuestionColumn]));
}
set {
this[this.tableMQuestion.QuestionColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceA {
get {
try {
return ((string)(this[this.tableMQuestion.ChoiceAColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“ChoiceA”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.ChoiceAColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceB {
get {
try {
return ((string)(this[this.tableMQuestion.ChoiceBColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“ChoiceB”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.ChoiceBColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceC {
get {
try {
return ((string)(this[this.tableMQuestion.ChoiceCColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“ChoiceC”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.ChoiceCColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceD {
get {
try {
return ((string)(this[this.tableMQuestion.ChoiceDColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“ChoiceD”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.ChoiceDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Answer {
get {
try {
return ((string)(this[this.tableMQuestion.AnswerColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“Answer”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.AnswerColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public byte Difficulty {
get {
try {
return ((byte)(this[this.tableMQuestion.DifficultyColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MQuestion”中列“Difficulty”的值为 DBNull。", e);
}
}
set {
this[this.tableMQuestion.DifficultyColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsChoiceANull() {
return this.IsNull(this.tableMQuestion.ChoiceAColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetChoiceANull() {
this[this.tableMQuestion.ChoiceAColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsChoiceBNull() {
return this.IsNull(this.tableMQuestion.ChoiceBColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetChoiceBNull() {
this[this.tableMQuestion.ChoiceBColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsChoiceCNull() {
return this.IsNull(this.tableMQuestion.ChoiceCColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetChoiceCNull() {
this[this.tableMQuestion.ChoiceCColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsChoiceDNull() {
return this.IsNull(this.tableMQuestion.ChoiceDColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetChoiceDNull() {
this[this.tableMQuestion.ChoiceDColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsAnswerNull() {
return this.IsNull(this.tableMQuestion.AnswerColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetAnswerNull() {
this[this.tableMQuestion.AnswerColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDifficultyNull() {
return this.IsNull(this.tableMQuestion.DifficultyColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDifficultyNull() {
this[this.tableMQuestion.DifficultyColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class SQuestionRow : System.Data.DataRow {
private SQuestionDataTable tableSQuestion;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal SQuestionRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableSQuestion = ((SQuestionDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Number {
get {
return ((int)(this[this.tableSQuestion.NumberColumn]));
}
set {
this[this.tableSQuestion.NumberColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Question {
get {
return ((string)(this[this.tableSQuestion.QuestionColumn]));
}
set {
this[this.tableSQuestion.QuestionColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceA {
get {
try {
return ((string)(this[this.tableSQuestion.ChoiceAColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“SQuestion”中列“ChoiceA”的值为 DBNull。", e);
}
}
set {
this[this.tableSQuestion.ChoiceAColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceB {
get {
try {
return ((string)(this[this.tableSQuestion.ChoiceBColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“SQuestion”中列“ChoiceB”的值为 DBNull。", e);
}
}
set {
this[this.tableSQuestion.ChoiceBColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ChoiceC {
get {
try {
return ((string)(this[this.tableSQuestion.ChoiceCColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“SQuestion”中列“ChoiceC”的值为 DBNull。", e);
}
}
set {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -