⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libbookdataset_books.designer.cs

📁 数据库课程设计
💻 CS
📖 第 1 页 / 共 3 页
字号:
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 书籍编号Column {
                get {
                    return this.column书籍编号;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 书籍名称Column {
                get {
                    return this.column书籍名称;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 作者Column {
                get {
                    return this.column作者;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 出版商IDColumn {
                get {
                    return this.column出版商ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 价格Column {
                get {
                    return this.column价格;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 总数量Column {
                get {
                    return this.column总数量;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Books_viewRow this[int index] {
                get {
                    return ((Books_viewRow)(this.Rows[index]));
                }
            }
            
            public event Books_viewRowChangeEventHandler Books_viewRowChanging;
            
            public event Books_viewRowChangeEventHandler Books_viewRowChanged;
            
            public event Books_viewRowChangeEventHandler Books_viewRowDeleting;
            
            public event Books_viewRowChangeEventHandler Books_viewRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddBooks_viewRow(Books_viewRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Books_viewRow AddBooks_viewRow(string 书籍编号, string 书籍名称, string 作者, string 出版商ID, decimal 价格, int 总数量) {
                Books_viewRow rowBooks_viewRow = ((Books_viewRow)(this.NewRow()));
                rowBooks_viewRow.ItemArray = new object[] {
                        书籍编号,
                        书籍名称,
                        作者,
                        出版商ID,
                        价格,
                        总数量};
                this.Rows.Add(rowBooks_viewRow);
                return rowBooks_viewRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Books_viewRow FindBy书籍编号(string 书籍编号) {
                return ((Books_viewRow)(this.Rows.Find(new object[] {
                            书籍编号})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                Books_viewDataTable cln = ((Books_viewDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new Books_viewDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column书籍编号 = base.Columns["书籍编号"];
                this.column书籍名称 = base.Columns["书籍名称"];
                this.column作者 = base.Columns["作者"];
                this.column出版商ID = base.Columns["出版商ID"];
                this.column价格 = base.Columns["价格"];
                this.column总数量 = base.Columns["总数量"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column书籍编号 = new System.Data.DataColumn("书籍编号", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column书籍编号);
                this.column书籍名称 = new System.Data.DataColumn("书籍名称", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column书籍名称);
                this.column作者 = new System.Data.DataColumn("作者", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column作者);
                this.column出版商ID = new System.Data.DataColumn("出版商ID", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column出版商ID);
                this.column价格 = new System.Data.DataColumn("价格", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column价格);
                this.column总数量 = new System.Data.DataColumn("总数量", typeof(int), 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书籍编号.AllowDBNull = false;
                this.column书籍编号.Unique = true;
                this.column书籍编号.MaxLength = 50;
                this.column书籍名称.MaxLength = 50;
                this.column作者.MaxLength = 50;
                this.column出版商ID.MaxLength = 10;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Books_viewRow NewBooks_viewRow() {
                return ((Books_viewRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new Books_viewRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(Books_viewRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Books_viewRowChanged != null)) {
                    this.Books_viewRowChanged(this, new Books_viewRowChangeEvent(((Books_viewRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Books_viewRowChanging != null)) {
                    this.Books_viewRowChanging(this, new Books_viewRowChangeEvent(((Books_viewRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Books_viewRowDeleted != null)) {
                    this.Books_viewRowDeleted(this, new Books_viewRowChangeEvent(((Books_viewRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Books_viewRowDeleting != null)) {
                    this.Books_viewRowDeleting(this, new Books_viewRowChangeEvent(((Books_viewRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveBooks_viewRow(Books_viewRow 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();
                libbookDataSet_Books ds = new libbookDataSet_Books();
                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 = "Books_viewDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class Books_viewRow : System.Data.DataRow {
            
            private Books_viewDataTable tableBooks_view;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Books_viewRow(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableBooks_view = ((Books_viewDataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 书籍编号 {
                get {
                    return ((string)(this[this.tableBooks_view.书籍编号Column]));
                }
                set {
                    this[this.tableBooks_view.书籍编号Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 书籍名称 {
                get {
                    try {
                        return ((string)(this[this.tableBooks_view.书籍名称Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Books_view”中列“书籍名称”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableBooks_view.书籍名称Column] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 作者 {
                get {
                    try {
                        return ((string)(this[this.tableBooks_view.作者Column]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“Books_view”中列“作者”的值为 DBNull。", e);
                    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -