📄 dataset4.designer.cs
字号:
base.Columns.Add(this.column简介);
this.column借出次数 = new System.Data.DataColumn("借出次数", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column借出次数);
this.column是否注销 = new System.Data.DataColumn("是否注销", typeof(bool), null, System.Data.MappingType.Element);
base.Columns.Add(this.column是否注销);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column编号}, true));
this.column条形码.MaxLength = 40;
this.column编号.AllowDBNull = false;
this.column编号.Unique = true;
this.column编号.MaxLength = 50;
this.column书名.MaxLength = 200;
this.column类型.MaxLength = 100;
this.column作者.MaxLength = 100;
this.column译者.MaxLength = 100;
this.columnISBN.MaxLength = 40;
this.column出版社.MaxLength = 100;
this.column书架名称.MaxLength = 200;
this.column操作员.MaxLength = 20;
this.column简介.MaxLength = 100;
this.column是否注销.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 图书信息Row New图书信息Row() {
return ((图书信息Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new 图书信息Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(图书信息Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.图书信息RowChanged != null)) {
this.图书信息RowChanged(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.图书信息RowChanging != null)) {
this.图书信息RowChanging(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.图书信息RowDeleted != null)) {
this.图书信息RowDeleted(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.图书信息RowDeleting != null)) {
this.图书信息RowDeleting(this, new 图书信息RowChangeEvent(((图书信息Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove图书信息Row(图书信息Row row) {
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();
DataSet4 ds = new DataSet4();
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 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 string 编号 {
get {
return ((string)(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 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 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 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 string ISBN {
get {
try {
return ((string)(this[this.table图书信息.ISBNColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“ISBN”的值为 DBNull。", e);
}
}
set {
this[this.table图书信息.ISBNColumn] = 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 int 页码 {
get {
try {
return ((int)(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 int 现存量 {
get {
try {
return ((int)(this[this.table图书信息.现存量Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“图书信息”中列“现存量”的值为 DBNull。", e);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -