📄 pubsdataset1.designer.cs
字号:
base.Columns.Add(this.columnprice);
this.columnpressmark = new System.Data.DataColumn("pressmark", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnpressmark);
this.columnbookcount = new System.Data.DataColumn("bookcount", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnbookcount);
this.columnnum = new System.Data.DataColumn("num", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnnum);
this.columnislock = new System.Data.DataColumn("islock", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnislock);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnbid}, true));
this.columnbid.AutoIncrement = true;
this.columnbid.AllowDBNull = false;
this.columnbid.ReadOnly = true;
this.columnbid.Unique = true;
this.columnkind.MaxLength = 40;
this.columnbname.MaxLength = 40;
this.columncompany.MaxLength = 40;
this.columnauthor.MaxLength = 40;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRow NewbooksRow() {
return ((booksRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new booksRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(booksRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.booksRowChanged != null)) {
this.booksRowChanged(this, new booksRowChangeEvent(((booksRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.booksRowChanging != null)) {
this.booksRowChanging(this, new booksRowChangeEvent(((booksRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.booksRowDeleted != null)) {
this.booksRowDeleted(this, new booksRowChangeEvent(((booksRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.booksRowDeleting != null)) {
this.booksRowDeleting(this, new booksRowChangeEvent(((booksRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovebooksRow(booksRow 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();
pubsDataSet1 ds = new pubsDataSet1();
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 = "booksDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class booksRow : System.Data.DataRow {
private booksDataTable tablebooks;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal booksRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tablebooks = ((booksDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int bid {
get {
return ((int)(this[this.tablebooks.bidColumn]));
}
set {
this[this.tablebooks.bidColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string kind {
get {
try {
return ((string)(this[this.tablebooks.kindColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“kind”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.kindColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string bname {
get {
try {
return ((string)(this[this.tablebooks.bnameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“bname”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.bnameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string company {
get {
try {
return ((string)(this[this.tablebooks.companyColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“company”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.companyColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string author {
get {
try {
return ((string)(this[this.tablebooks.authorColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“author”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.authorColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public double price {
get {
try {
return ((double)(this[this.tablebooks.priceColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“price”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.priceColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int pressmark {
get {
try {
return ((int)(this[this.tablebooks.pressmarkColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“pressmark”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.pressmarkColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int bookcount {
get {
try {
return ((int)(this[this.tablebooks.bookcountColumn]));
}
catch (System.InvalidCastException e) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -