📄 dataset2.designer.cs
字号:
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
DataSet2 ds = new DataSet2();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
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 = "图书信息DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class 图书信息Row : System.Data.DataRow {
private 图书信息DataTable table图书信息;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 图书信息Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.table图书信息 = ((图书信息DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 借阅编号 {
get {
return ((int)(this[this.table图书信息.借阅编号Column]));
}
set {
this[this.table图书信息.借阅编号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 书名 {
get {
try {
return ((string)(this[this.table图书信息.书名Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“书名”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.书名Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 借阅时间 {
get {
try {
return ((System.DateTime)(this[this.table图书信息.借阅时间Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“借阅时间”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.借阅时间Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime 应还时间 {
get {
try {
return ((System.DateTime)(this[this.table图书信息.应还时间Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“应还时间”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.应还时间Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 状态 {
get {
try {
return ((string)(this[this.table图书信息.状态Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“状态”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.状态Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public decimal 价格 {
get {
try {
return ((decimal)(this[this.table图书信息.价格Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“价格”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.价格Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 出版社 {
get {
try {
return ((string)(this[this.table图书信息.出版社Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“出版社”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.出版社Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is书名Null() {
return this.IsNull(this.table图书信息.书名Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set书名Null() {
this[this.table图书信息.书名Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is借阅时间Null() {
return this.IsNull(this.table图书信息.借阅时间Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set借阅时间Null() {
this[this.table图书信息.借阅时间Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is应还时间Null() {
return this.IsNull(this.table图书信息.应还时间Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set应还时间Null() {
this[this.table图书信息.应还时间Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is状态Null() {
return this.IsNull(this.table图书信息.状态Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set状态Null() {
this[this.table图书信息.状态Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is价格Null() {
return this.IsNull(this.table图书信息.价格Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set价格Null() {
this[this.table图书信息.价格Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is出版社Null() {
return this.IsNull(this.table图书信息.出版社Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set出版社Null() {
this[this.table图书信息.出版社Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class 图书信息RowChangeEvent : System.EventArgs {
private 图书信息Row eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息RowChangeEvent(图书信息Row row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -