BookStoreDataSet.Designer.cs
上传用户:xyl529207
上传日期:2022-08-03
资源大小:935k
文件大小:277k
源码类别:

行业应用

开发平台:

SQL

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. //     此代码由工具生成。
  4. //     运行库版本:2.0.50727.42
  5. //
  6. //     对此文件的更改可能会导致不正确的行为,并且如果
  7. //     重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace BookStoreMan {
  12.     using System;
  13.     
  14.     
  15.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  16.     [Serializable()]
  17.     [System.ComponentModel.DesignerCategoryAttribute("code")]
  18.     [System.ComponentModel.ToolboxItem(true)]
  19.     [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
  20.     [System.Xml.Serialization.XmlRootAttribute("BookStoreDataSet")]
  21.     [System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  22.     public partial class BookStoreDataSet : System.Data.DataSet {
  23.         
  24.         private BookDataTable tableBook;
  25.         
  26.         private CustomerDataTable tableCustomer;
  27.         
  28.         private SellDataTable tableSell;
  29.         
  30.         private SellItemDataTable tableSellItem;
  31.         
  32.         private V_BookSellDataTable tableV_BookSell;
  33.         
  34.         private P_GetSellDetailDataTable tableP_GetSellDetail;
  35.         
  36.         private System.Data.DataRelation relationFK_SellItem_Book;
  37.         
  38.         private System.Data.DataRelation relationFK_SellItem_Sell;
  39.         
  40.         private System.Data.DataRelation relationCustomer_Sell;
  41.         
  42.         private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  43.         
  44.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  45.         public BookStoreDataSet() {
  46.             this.BeginInit();
  47.             this.InitClass();
  48.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  49.             base.Tables.CollectionChanged += schemaChangedHandler;
  50.             base.Relations.CollectionChanged += schemaChangedHandler;
  51.             this.EndInit();
  52.         }
  53.         
  54.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  55.         protected BookStoreDataSet(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  56.                 base(info, context, false) {
  57.             if ((this.IsBinarySerialized(info, context) == true)) {
  58.                 this.InitVars(false);
  59.                 System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  60.                 this.Tables.CollectionChanged += schemaChangedHandler1;
  61.                 this.Relations.CollectionChanged += schemaChangedHandler1;
  62.                 return;
  63.             }
  64.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  65.             if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
  66.                 System.Data.DataSet ds = new System.Data.DataSet();
  67.                 ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
  68.                 if ((ds.Tables["Book"] != null)) {
  69.                     base.Tables.Add(new BookDataTable(ds.Tables["Book"]));
  70.                 }
  71.                 if ((ds.Tables["Customer"] != null)) {
  72.                     base.Tables.Add(new CustomerDataTable(ds.Tables["Customer"]));
  73.                 }
  74.                 if ((ds.Tables["Sell"] != null)) {
  75.                     base.Tables.Add(new SellDataTable(ds.Tables["Sell"]));
  76.                 }
  77.                 if ((ds.Tables["SellItem"] != null)) {
  78.                     base.Tables.Add(new SellItemDataTable(ds.Tables["SellItem"]));
  79.                 }
  80.                 if ((ds.Tables["V_BookSell"] != null)) {
  81.                     base.Tables.Add(new V_BookSellDataTable(ds.Tables["V_BookSell"]));
  82.                 }
  83.                 if ((ds.Tables["P_GetSellDetail"] != null)) {
  84.                     base.Tables.Add(new P_GetSellDetailDataTable(ds.Tables["P_GetSellDetail"]));
  85.                 }
  86.                 this.DataSetName = ds.DataSetName;
  87.                 this.Prefix = ds.Prefix;
  88.                 this.Namespace = ds.Namespace;
  89.                 this.Locale = ds.Locale;
  90.                 this.CaseSensitive = ds.CaseSensitive;
  91.                 this.EnforceConstraints = ds.EnforceConstraints;
  92.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  93.                 this.InitVars();
  94.             }
  95.             else {
  96.                 this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
  97.             }
  98.             this.GetSerializationData(info, context);
  99.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  100.             base.Tables.CollectionChanged += schemaChangedHandler;
  101.             this.Relations.CollectionChanged += schemaChangedHandler;
  102.         }
  103.         
  104.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  105.         [System.ComponentModel.Browsable(false)]
  106.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  107.         public BookDataTable Book {
  108.             get {
  109.                 return this.tableBook;
  110.             }
  111.         }
  112.         
  113.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  114.         [System.ComponentModel.Browsable(false)]
  115.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  116.         public CustomerDataTable Customer {
  117.             get {
  118.                 return this.tableCustomer;
  119.             }
  120.         }
  121.         
  122.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  123.         [System.ComponentModel.Browsable(false)]
  124.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  125.         public SellDataTable Sell {
  126.             get {
  127.                 return this.tableSell;
  128.             }
  129.         }
  130.         
  131.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132.         [System.ComponentModel.Browsable(false)]
  133.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  134.         public SellItemDataTable SellItem {
  135.             get {
  136.                 return this.tableSellItem;
  137.             }
  138.         }
  139.         
  140.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  141.         [System.ComponentModel.Browsable(false)]
  142.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  143.         public V_BookSellDataTable V_BookSell {
  144.             get {
  145.                 return this.tableV_BookSell;
  146.             }
  147.         }
  148.         
  149.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  150.         [System.ComponentModel.Browsable(false)]
  151.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
  152.         public P_GetSellDetailDataTable P_GetSellDetail {
  153.             get {
  154.                 return this.tableP_GetSellDetail;
  155.             }
  156.         }
  157.         
  158.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  159.         [System.ComponentModel.BrowsableAttribute(true)]
  160.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
  161.         public override System.Data.SchemaSerializationMode SchemaSerializationMode {
  162.             get {
  163.                 return this._schemaSerializationMode;
  164.             }
  165.             set {
  166.                 this._schemaSerializationMode = value;
  167.             }
  168.         }
  169.         
  170.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  171.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  172.         public new System.Data.DataTableCollection Tables {
  173.             get {
  174.                 return base.Tables;
  175.             }
  176.         }
  177.         
  178.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  179.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  180.         public new System.Data.DataRelationCollection Relations {
  181.             get {
  182.                 return base.Relations;
  183.             }
  184.         }
  185.         
  186.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  187.         protected override void InitializeDerivedDataSet() {
  188.             this.BeginInit();
  189.             this.InitClass();
  190.             this.EndInit();
  191.         }
  192.         
  193.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  194.         public override System.Data.DataSet Clone() {
  195.             BookStoreDataSet cln = ((BookStoreDataSet)(base.Clone()));
  196.             cln.InitVars();
  197.             cln.SchemaSerializationMode = this.SchemaSerializationMode;
  198.             return cln;
  199.         }
  200.         
  201.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  202.         protected override bool ShouldSerializeTables() {
  203.             return false;
  204.         }
  205.         
  206.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  207.         protected override bool ShouldSerializeRelations() {
  208.             return false;
  209.         }
  210.         
  211.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  212.         protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {
  213.             if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {
  214.                 this.Reset();
  215.                 System.Data.DataSet ds = new System.Data.DataSet();
  216.                 ds.ReadXml(reader);
  217.                 if ((ds.Tables["Book"] != null)) {
  218.                     base.Tables.Add(new BookDataTable(ds.Tables["Book"]));
  219.                 }
  220.                 if ((ds.Tables["Customer"] != null)) {
  221.                     base.Tables.Add(new CustomerDataTable(ds.Tables["Customer"]));
  222.                 }
  223.                 if ((ds.Tables["Sell"] != null)) {
  224.                     base.Tables.Add(new SellDataTable(ds.Tables["Sell"]));
  225.                 }
  226.                 if ((ds.Tables["SellItem"] != null)) {
  227.                     base.Tables.Add(new SellItemDataTable(ds.Tables["SellItem"]));
  228.                 }
  229.                 if ((ds.Tables["V_BookSell"] != null)) {
  230.                     base.Tables.Add(new V_BookSellDataTable(ds.Tables["V_BookSell"]));
  231.                 }
  232.                 if ((ds.Tables["P_GetSellDetail"] != null)) {
  233.                     base.Tables.Add(new P_GetSellDetailDataTable(ds.Tables["P_GetSellDetail"]));
  234.                 }
  235.                 this.DataSetName = ds.DataSetName;
  236.                 this.Prefix = ds.Prefix;
  237.                 this.Namespace = ds.Namespace;
  238.                 this.Locale = ds.Locale;
  239.                 this.CaseSensitive = ds.CaseSensitive;
  240.                 this.EnforceConstraints = ds.EnforceConstraints;
  241.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  242.                 this.InitVars();
  243.             }
  244.             else {
  245.                 this.ReadXml(reader);
  246.                 this.InitVars();
  247.             }
  248.         }
  249.         
  250.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  251.         protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  252.             System.IO.MemoryStream stream = new System.IO.MemoryStream();
  253.             this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
  254.             stream.Position = 0;
  255.             return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
  256.         }
  257.         
  258.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  259.         internal void InitVars() {
  260.             this.InitVars(true);
  261.         }
  262.         
  263.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  264.         internal void InitVars(bool initTable) {
  265.             this.tableBook = ((BookDataTable)(base.Tables["Book"]));
  266.             if ((initTable == true)) {
  267.                 if ((this.tableBook != null)) {
  268.                     this.tableBook.InitVars();
  269.                 }
  270.             }
  271.             this.tableCustomer = ((CustomerDataTable)(base.Tables["Customer"]));
  272.             if ((initTable == true)) {
  273.                 if ((this.tableCustomer != null)) {
  274.                     this.tableCustomer.InitVars();
  275.                 }
  276.             }
  277.             this.tableSell = ((SellDataTable)(base.Tables["Sell"]));
  278.             if ((initTable == true)) {
  279.                 if ((this.tableSell != null)) {
  280.                     this.tableSell.InitVars();
  281.                 }
  282.             }
  283.             this.tableSellItem = ((SellItemDataTable)(base.Tables["SellItem"]));
  284.             if ((initTable == true)) {
  285.                 if ((this.tableSellItem != null)) {
  286.                     this.tableSellItem.InitVars();
  287.                 }
  288.             }
  289.             this.tableV_BookSell = ((V_BookSellDataTable)(base.Tables["V_BookSell"]));
  290.             if ((initTable == true)) {
  291.                 if ((this.tableV_BookSell != null)) {
  292.                     this.tableV_BookSell.InitVars();
  293.                 }
  294.             }
  295.             this.tableP_GetSellDetail = ((P_GetSellDetailDataTable)(base.Tables["P_GetSellDetail"]));
  296.             if ((initTable == true)) {
  297.                 if ((this.tableP_GetSellDetail != null)) {
  298.                     this.tableP_GetSellDetail.InitVars();
  299.                 }
  300.             }
  301.             this.relationFK_SellItem_Book = this.Relations["FK_SellItem_Book"];
  302.             this.relationFK_SellItem_Sell = this.Relations["FK_SellItem_Sell"];
  303.             this.relationCustomer_Sell = this.Relations["Customer_Sell"];
  304.         }
  305.         
  306.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  307.         private void InitClass() {
  308.             this.DataSetName = "BookStoreDataSet";
  309.             this.Prefix = "";
  310.             this.Namespace = "http://tempuri.org/BookStoreDataSet.xsd";
  311.             this.EnforceConstraints = true;
  312.             this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  313.             this.tableBook = new BookDataTable();
  314.             base.Tables.Add(this.tableBook);
  315.             this.tableCustomer = new CustomerDataTable();
  316.             base.Tables.Add(this.tableCustomer);
  317.             this.tableSell = new SellDataTable();
  318.             base.Tables.Add(this.tableSell);
  319.             this.tableSellItem = new SellItemDataTable();
  320.             base.Tables.Add(this.tableSellItem);
  321.             this.tableV_BookSell = new V_BookSellDataTable();
  322.             base.Tables.Add(this.tableV_BookSell);
  323.             this.tableP_GetSellDetail = new P_GetSellDetailDataTable();
  324.             base.Tables.Add(this.tableP_GetSellDetail);
  325.             this.relationFK_SellItem_Book = new System.Data.DataRelation("FK_SellItem_Book", new System.Data.DataColumn[] {
  326.                         this.tableBook.IDColumn}, new System.Data.DataColumn[] {
  327.                         this.tableSellItem.BookIDColumn}, false);
  328.             this.Relations.Add(this.relationFK_SellItem_Book);
  329.             this.relationFK_SellItem_Sell = new System.Data.DataRelation("FK_SellItem_Sell", new System.Data.DataColumn[] {
  330.                         this.tableSell.IDColumn}, new System.Data.DataColumn[] {
  331.                         this.tableSellItem.SellIDColumn}, false);
  332.             this.Relations.Add(this.relationFK_SellItem_Sell);
  333.             this.relationCustomer_Sell = new System.Data.DataRelation("Customer_Sell", new System.Data.DataColumn[] {
  334.                         this.tableCustomer.IDColumn}, new System.Data.DataColumn[] {
  335.                         this.tableSell.CustomerIDColumn}, false);
  336.             this.Relations.Add(this.relationCustomer_Sell);
  337.         }
  338.         
  339.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  340.         private bool ShouldSerializeBook() {
  341.             return false;
  342.         }
  343.         
  344.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  345.         private bool ShouldSerializeCustomer() {
  346.             return false;
  347.         }
  348.         
  349.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  350.         private bool ShouldSerializeSell() {
  351.             return false;
  352.         }
  353.         
  354.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  355.         private bool ShouldSerializeSellItem() {
  356.             return false;
  357.         }
  358.         
  359.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  360.         private bool ShouldSerializeV_BookSell() {
  361.             return false;
  362.         }
  363.         
  364.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  365.         private bool ShouldSerializeP_GetSellDetail() {
  366.             return false;
  367.         }
  368.         
  369.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  370.         private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
  371.             if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
  372.                 this.InitVars();
  373.             }
  374.         }
  375.         
  376.         [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  377.         public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
  378.             BookStoreDataSet ds = new BookStoreDataSet();
  379.             System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
  380.             System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
  381.             xs.Add(ds.GetSchemaSerializable());
  382.             System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
  383.             any.Namespace = ds.Namespace;
  384.             sequence.Items.Add(any);
  385.             type.Particle = sequence;
  386.             return type;
  387.         }
  388.         
  389.         public delegate void BookRowChangeEventHandler(object sender, BookRowChangeEvent e);
  390.         
  391.         public delegate void CustomerRowChangeEventHandler(object sender, CustomerRowChangeEvent e);
  392.         
  393.         public delegate void SellRowChangeEventHandler(object sender, SellRowChangeEvent e);
  394.         
  395.         public delegate void SellItemRowChangeEventHandler(object sender, SellItemRowChangeEvent e);
  396.         
  397.         public delegate void V_BookSellRowChangeEventHandler(object sender, V_BookSellRowChangeEvent e);
  398.         
  399.         public delegate void P_GetSellDetailRowChangeEventHandler(object sender, P_GetSellDetailRowChangeEvent e);
  400.         
  401.         [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  402.         [System.Serializable()]
  403.         [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  404.         public partial class BookDataTable : System.Data.DataTable, System.Collections.IEnumerable {
  405.             
  406.             private System.Data.DataColumn columnID;
  407.             
  408.             private System.Data.DataColumn columnISBN;
  409.             
  410.             private System.Data.DataColumn columnName;
  411.             
  412.             private System.Data.DataColumn columnAuthor;
  413.             
  414.             private System.Data.DataColumn columnPress;
  415.             
  416.             private System.Data.DataColumn columnPublishDate;
  417.             
  418.             private System.Data.DataColumn columnPrice;
  419.             
  420.             private System.Data.DataColumn columnPages;
  421.             
  422.             private System.Data.DataColumn columnBarcode;
  423.             
  424.             private System.Data.DataColumn columnCD;
  425.             
  426.             private System.Data.DataColumn columnStorage;
  427.             
  428.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  429.             public BookDataTable() {
  430.                 this.TableName = "Book";
  431.                 this.BeginInit();
  432.                 this.InitClass();
  433.                 this.EndInit();
  434.             }
  435.             
  436.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  437.             internal BookDataTable(System.Data.DataTable table) {
  438.                 this.TableName = table.TableName;
  439.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  440.                     this.CaseSensitive = table.CaseSensitive;
  441.                 }
  442.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  443.                     this.Locale = table.Locale;
  444.                 }
  445.                 if ((table.Namespace != table.DataSet.Namespace)) {
  446.                     this.Namespace = table.Namespace;
  447.                 }
  448.                 this.Prefix = table.Prefix;
  449.                 this.MinimumCapacity = table.MinimumCapacity;
  450.             }
  451.             
  452.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  453.             protected BookDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  454.                     base(info, context) {
  455.                 this.InitVars();
  456.             }
  457.             
  458.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  459.             public System.Data.DataColumn IDColumn {
  460.                 get {
  461.                     return this.columnID;
  462.                 }
  463.             }
  464.             
  465.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  466.             public System.Data.DataColumn ISBNColumn {
  467.                 get {
  468.                     return this.columnISBN;
  469.                 }
  470.             }
  471.             
  472.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  473.             public System.Data.DataColumn NameColumn {
  474.                 get {
  475.                     return this.columnName;
  476.                 }
  477.             }
  478.             
  479.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  480.             public System.Data.DataColumn AuthorColumn {
  481.                 get {
  482.                     return this.columnAuthor;
  483.                 }
  484.             }
  485.             
  486.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  487.             public System.Data.DataColumn PressColumn {
  488.                 get {
  489.                     return this.columnPress;
  490.                 }
  491.             }
  492.             
  493.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  494.             public System.Data.DataColumn PublishDateColumn {
  495.                 get {
  496.                     return this.columnPublishDate;
  497.                 }
  498.             }
  499.             
  500.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  501.             public System.Data.DataColumn PriceColumn {
  502.                 get {
  503.                     return this.columnPrice;
  504.                 }
  505.             }
  506.             
  507.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  508.             public System.Data.DataColumn PagesColumn {
  509.                 get {
  510.                     return this.columnPages;
  511.                 }
  512.             }
  513.             
  514.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  515.             public System.Data.DataColumn BarcodeColumn {
  516.                 get {
  517.                     return this.columnBarcode;
  518.                 }
  519.             }
  520.             
  521.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  522.             public System.Data.DataColumn CDColumn {
  523.                 get {
  524.                     return this.columnCD;
  525.                 }
  526.             }
  527.             
  528.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  529.             public System.Data.DataColumn StorageColumn {
  530.                 get {
  531.                     return this.columnStorage;
  532.                 }
  533.             }
  534.             
  535.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  536.             [System.ComponentModel.Browsable(false)]
  537.             public int Count {
  538.                 get {
  539.                     return this.Rows.Count;
  540.                 }
  541.             }
  542.             
  543.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  544.             public BookRow this[int index] {
  545.                 get {
  546.                     return ((BookRow)(this.Rows[index]));
  547.                 }
  548.             }
  549.             
  550.             public event BookRowChangeEventHandler BookRowChanging;
  551.             
  552.             public event BookRowChangeEventHandler BookRowChanged;
  553.             
  554.             public event BookRowChangeEventHandler BookRowDeleting;
  555.             
  556.             public event BookRowChangeEventHandler BookRowDeleted;
  557.             
  558.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  559.             public void AddBookRow(BookRow row) {
  560.                 this.Rows.Add(row);
  561.             }
  562.             
  563.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  564.             public BookRow AddBookRow(string ISBN, string Name, string Author, string Press, System.DateTime PublishDate, decimal Price, short Pages, string Barcode, bool CD, int Storage) {
  565.                 BookRow rowBookRow = ((BookRow)(this.NewRow()));
  566.                 rowBookRow.ItemArray = new object[] {
  567.                         null,
  568.                         ISBN,
  569.                         Name,
  570.                         Author,
  571.                         Press,
  572.                         PublishDate,
  573.                         Price,
  574.                         Pages,
  575.                         Barcode,
  576.                         CD,
  577.                         Storage};
  578.                 this.Rows.Add(rowBookRow);
  579.                 return rowBookRow;
  580.             }
  581.             
  582.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  583.             public BookRow FindByID(int ID) {
  584.                 return ((BookRow)(this.Rows.Find(new object[] {
  585.                             ID})));
  586.             }
  587.             
  588.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  589.             public virtual System.Collections.IEnumerator GetEnumerator() {
  590.                 return this.Rows.GetEnumerator();
  591.             }
  592.             
  593.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  594.             public override System.Data.DataTable Clone() {
  595.                 BookDataTable cln = ((BookDataTable)(base.Clone()));
  596.                 cln.InitVars();
  597.                 return cln;
  598.             }
  599.             
  600.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  601.             protected override System.Data.DataTable CreateInstance() {
  602.                 return new BookDataTable();
  603.             }
  604.             
  605.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  606.             internal void InitVars() {
  607.                 this.columnID = base.Columns["ID"];
  608.                 this.columnISBN = base.Columns["ISBN"];
  609.                 this.columnName = base.Columns["Name"];
  610.                 this.columnAuthor = base.Columns["Author"];
  611.                 this.columnPress = base.Columns["Press"];
  612.                 this.columnPublishDate = base.Columns["PublishDate"];
  613.                 this.columnPrice = base.Columns["Price"];
  614.                 this.columnPages = base.Columns["Pages"];
  615.                 this.columnBarcode = base.Columns["Barcode"];
  616.                 this.columnCD = base.Columns["CD"];
  617.                 this.columnStorage = base.Columns["Storage"];
  618.             }
  619.             
  620.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  621.             private void InitClass() {
  622.                 this.columnID = new System.Data.DataColumn("ID", typeof(int), null, System.Data.MappingType.Element);
  623.                 base.Columns.Add(this.columnID);
  624.                 this.columnISBN = new System.Data.DataColumn("ISBN", typeof(string), null, System.Data.MappingType.Element);
  625.                 base.Columns.Add(this.columnISBN);
  626.                 this.columnName = new System.Data.DataColumn("Name", typeof(string), null, System.Data.MappingType.Element);
  627.                 base.Columns.Add(this.columnName);
  628.                 this.columnAuthor = new System.Data.DataColumn("Author", typeof(string), null, System.Data.MappingType.Element);
  629.                 base.Columns.Add(this.columnAuthor);
  630.                 this.columnPress = new System.Data.DataColumn("Press", typeof(string), null, System.Data.MappingType.Element);
  631.                 base.Columns.Add(this.columnPress);
  632.                 this.columnPublishDate = new System.Data.DataColumn("PublishDate", typeof(System.DateTime), null, System.Data.MappingType.Element);
  633.                 base.Columns.Add(this.columnPublishDate);
  634.                 this.columnPrice = new System.Data.DataColumn("Price", typeof(decimal), null, System.Data.MappingType.Element);
  635.                 base.Columns.Add(this.columnPrice);
  636.                 this.columnPages = new System.Data.DataColumn("Pages", typeof(short), null, System.Data.MappingType.Element);
  637.                 base.Columns.Add(this.columnPages);
  638.                 this.columnBarcode = new System.Data.DataColumn("Barcode", typeof(string), null, System.Data.MappingType.Element);
  639.                 base.Columns.Add(this.columnBarcode);
  640.                 this.columnCD = new System.Data.DataColumn("CD", typeof(bool), null, System.Data.MappingType.Element);
  641.                 base.Columns.Add(this.columnCD);
  642.                 this.columnStorage = new System.Data.DataColumn("Storage", typeof(int), null, System.Data.MappingType.Element);
  643.                 base.Columns.Add(this.columnStorage);
  644.                 this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
  645.                                 this.columnID}, true));
  646.                 this.columnID.AutoIncrement = true;
  647.                 this.columnID.AllowDBNull = false;
  648.                 this.columnID.ReadOnly = true;
  649.                 this.columnID.Unique = true;
  650.                 this.columnISBN.AllowDBNull = false;
  651.                 this.columnISBN.MaxLength = 10;
  652.                 this.columnName.AllowDBNull = false;
  653.                 this.columnName.MaxLength = 256;
  654.                 this.columnAuthor.MaxLength = 100;
  655.                 this.columnPress.MaxLength = 50;
  656.                 this.columnPrice.AllowDBNull = false;
  657.                 this.columnBarcode.AllowDBNull = false;
  658.                 this.columnBarcode.MaxLength = 13;
  659.                 this.columnStorage.AllowDBNull = false;
  660.             }
  661.             
  662.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  663.             public BookRow NewBookRow() {
  664.                 return ((BookRow)(this.NewRow()));
  665.             }
  666.             
  667.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  668.             protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
  669.                 return new BookRow(builder);
  670.             }
  671.             
  672.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  673.             protected override System.Type GetRowType() {
  674.                 return typeof(BookRow);
  675.             }
  676.             
  677.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  678.             protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
  679.                 base.OnRowChanged(e);
  680.                 if ((this.BookRowChanged != null)) {
  681.                     this.BookRowChanged(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
  682.                 }
  683.             }
  684.             
  685.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  686.             protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
  687.                 base.OnRowChanging(e);
  688.                 if ((this.BookRowChanging != null)) {
  689.                     this.BookRowChanging(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
  690.                 }
  691.             }
  692.             
  693.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  694.             protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
  695.                 base.OnRowDeleted(e);
  696.                 if ((this.BookRowDeleted != null)) {
  697.                     this.BookRowDeleted(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
  698.                 }
  699.             }
  700.             
  701.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  702.             protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
  703.                 base.OnRowDeleting(e);
  704.                 if ((this.BookRowDeleting != null)) {
  705.                     this.BookRowDeleting(this, new BookRowChangeEvent(((BookRow)(e.Row)), e.Action));
  706.                 }
  707.             }
  708.             
  709.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  710.             public void RemoveBookRow(BookRow row) {
  711.                 this.Rows.Remove(row);
  712.             }
  713.             
  714.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  715.             public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
  716.                 System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
  717.                 System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
  718.                 BookStoreDataSet ds = new BookStoreDataSet();
  719.                 xs.Add(ds.GetSchemaSerializable());
  720.                 System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
  721.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  722.                 any1.MinOccurs = new decimal(0);
  723.                 any1.MaxOccurs = decimal.MaxValue;
  724.                 any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  725.                 sequence.Items.Add(any1);
  726.                 System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
  727.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  728.                 any2.MinOccurs = new decimal(1);
  729.                 any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  730.                 sequence.Items.Add(any2);
  731.                 System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
  732.                 attribute1.Name = "namespace";
  733.                 attribute1.FixedValue = ds.Namespace;
  734.                 type.Attributes.Add(attribute1);
  735.                 System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
  736.                 attribute2.Name = "tableTypeName";
  737.                 attribute2.FixedValue = "BookDataTable";
  738.                 type.Attributes.Add(attribute2);
  739.                 type.Particle = sequence;
  740.                 return type;
  741.             }
  742.         }
  743.         
  744.         [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  745.         [System.Serializable()]
  746.         [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  747.         public partial class CustomerDataTable : System.Data.DataTable, System.Collections.IEnumerable {
  748.             
  749.             private System.Data.DataColumn columnID;
  750.             
  751.             private System.Data.DataColumn columnName;
  752.             
  753.             private System.Data.DataColumn columnLevels;
  754.             
  755.             private System.Data.DataColumn columnGender;
  756.             
  757.             private System.Data.DataColumn columnBirthday;
  758.             
  759.             private System.Data.DataColumn columnDegree;
  760.             
  761.             private System.Data.DataColumn columnAddress;
  762.             
  763.             private System.Data.DataColumn columnTelephone;
  764.             
  765.             private System.Data.DataColumn columnEmail;
  766.             
  767.             private System.Data.DataColumn columnScore;
  768.             
  769.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  770.             public CustomerDataTable() {
  771.                 this.TableName = "Customer";
  772.                 this.BeginInit();
  773.                 this.InitClass();
  774.                 this.EndInit();
  775.             }
  776.             
  777.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  778.             internal CustomerDataTable(System.Data.DataTable table) {
  779.                 this.TableName = table.TableName;
  780.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  781.                     this.CaseSensitive = table.CaseSensitive;
  782.                 }
  783.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  784.                     this.Locale = table.Locale;
  785.                 }
  786.                 if ((table.Namespace != table.DataSet.Namespace)) {
  787.                     this.Namespace = table.Namespace;
  788.                 }
  789.                 this.Prefix = table.Prefix;
  790.                 this.MinimumCapacity = table.MinimumCapacity;
  791.             }
  792.             
  793.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  794.             protected CustomerDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  795.                     base(info, context) {
  796.                 this.InitVars();
  797.             }
  798.             
  799.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  800.             public System.Data.DataColumn IDColumn {
  801.                 get {
  802.                     return this.columnID;
  803.                 }
  804.             }
  805.             
  806.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  807.             public System.Data.DataColumn NameColumn {
  808.                 get {
  809.                     return this.columnName;
  810.                 }
  811.             }
  812.             
  813.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  814.             public System.Data.DataColumn LevelsColumn {
  815.                 get {
  816.                     return this.columnLevels;
  817.                 }
  818.             }
  819.             
  820.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  821.             public System.Data.DataColumn GenderColumn {
  822.                 get {
  823.                     return this.columnGender;
  824.                 }
  825.             }
  826.             
  827.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  828.             public System.Data.DataColumn BirthdayColumn {
  829.                 get {
  830.                     return this.columnBirthday;
  831.                 }
  832.             }
  833.             
  834.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  835.             public System.Data.DataColumn DegreeColumn {
  836.                 get {
  837.                     return this.columnDegree;
  838.                 }
  839.             }
  840.             
  841.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  842.             public System.Data.DataColumn AddressColumn {
  843.                 get {
  844.                     return this.columnAddress;
  845.                 }
  846.             }
  847.             
  848.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  849.             public System.Data.DataColumn TelephoneColumn {
  850.                 get {
  851.                     return this.columnTelephone;
  852.                 }
  853.             }
  854.             
  855.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  856.             public System.Data.DataColumn EmailColumn {
  857.                 get {
  858.                     return this.columnEmail;
  859.                 }
  860.             }
  861.             
  862.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  863.             public System.Data.DataColumn ScoreColumn {
  864.                 get {
  865.                     return this.columnScore;
  866.                 }
  867.             }
  868.             
  869.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  870.             [System.ComponentModel.Browsable(false)]
  871.             public int Count {
  872.                 get {
  873.                     return this.Rows.Count;
  874.                 }
  875.             }
  876.             
  877.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  878.             public CustomerRow this[int index] {
  879.                 get {
  880.                     return ((CustomerRow)(this.Rows[index]));
  881.                 }
  882.             }
  883.             
  884.             public event CustomerRowChangeEventHandler CustomerRowChanging;
  885.             
  886.             public event CustomerRowChangeEventHandler CustomerRowChanged;
  887.             
  888.             public event CustomerRowChangeEventHandler CustomerRowDeleting;
  889.             
  890.             public event CustomerRowChangeEventHandler CustomerRowDeleted;
  891.             
  892.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  893.             public void AddCustomerRow(CustomerRow row) {
  894.                 this.Rows.Add(row);
  895.             }
  896.             
  897.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  898.             public CustomerRow AddCustomerRow(string Name, short Levels, bool Gender, System.DateTime Birthday, string Degree, string Address, string Telephone, string Email, int Score) {
  899.                 CustomerRow rowCustomerRow = ((CustomerRow)(this.NewRow()));
  900.                 rowCustomerRow.ItemArray = new object[] {
  901.                         null,
  902.                         Name,
  903.                         Levels,
  904.                         Gender,
  905.                         Birthday,
  906.                         Degree,
  907.                         Address,
  908.                         Telephone,
  909.                         Email,
  910.                         Score};
  911.                 this.Rows.Add(rowCustomerRow);
  912.                 return rowCustomerRow;
  913.             }
  914.             
  915.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  916.             public CustomerRow FindByID(int ID) {
  917.                 return ((CustomerRow)(this.Rows.Find(new object[] {
  918.                             ID})));
  919.             }
  920.             
  921.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  922.             public virtual System.Collections.IEnumerator GetEnumerator() {
  923.                 return this.Rows.GetEnumerator();
  924.             }
  925.             
  926.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  927.             public override System.Data.DataTable Clone() {
  928.                 CustomerDataTable cln = ((CustomerDataTable)(base.Clone()));
  929.                 cln.InitVars();
  930.                 return cln;
  931.             }
  932.             
  933.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  934.             protected override System.Data.DataTable CreateInstance() {
  935.                 return new CustomerDataTable();
  936.             }
  937.             
  938.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  939.             internal void InitVars() {
  940.                 this.columnID = base.Columns["ID"];
  941.                 this.columnName = base.Columns["Name"];
  942.                 this.columnLevels = base.Columns["Levels"];
  943.                 this.columnGender = base.Columns["Gender"];
  944.                 this.columnBirthday = base.Columns["Birthday"];
  945.                 this.columnDegree = base.Columns["Degree"];
  946.                 this.columnAddress = base.Columns["Address"];
  947.                 this.columnTelephone = base.Columns["Telephone"];
  948.                 this.columnEmail = base.Columns["Email"];
  949.                 this.columnScore = base.Columns["Score"];
  950.             }
  951.             
  952.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  953.             private void InitClass() {
  954.                 this.columnID = new System.Data.DataColumn("ID", typeof(int), null, System.Data.MappingType.Element);
  955.                 base.Columns.Add(this.columnID);
  956.                 this.columnName = new System.Data.DataColumn("Name", typeof(string), null, System.Data.MappingType.Element);
  957.                 base.Columns.Add(this.columnName);
  958.                 this.columnLevels = new System.Data.DataColumn("Levels", typeof(short), null, System.Data.MappingType.Element);
  959.                 base.Columns.Add(this.columnLevels);
  960.                 this.columnGender = new System.Data.DataColumn("Gender", typeof(bool), null, System.Data.MappingType.Element);
  961.                 base.Columns.Add(this.columnGender);
  962.                 this.columnBirthday = new System.Data.DataColumn("Birthday", typeof(System.DateTime), null, System.Data.MappingType.Element);
  963.                 base.Columns.Add(this.columnBirthday);
  964.                 this.columnDegree = new System.Data.DataColumn("Degree", typeof(string), null, System.Data.MappingType.Element);
  965.                 base.Columns.Add(this.columnDegree);
  966.                 this.columnAddress = new System.Data.DataColumn("Address", typeof(string), null, System.Data.MappingType.Element);
  967.                 base.Columns.Add(this.columnAddress);
  968.                 this.columnTelephone = new System.Data.DataColumn("Telephone", typeof(string), null, System.Data.MappingType.Element);
  969.                 base.Columns.Add(this.columnTelephone);
  970.                 this.columnEmail = new System.Data.DataColumn("Email", typeof(string), null, System.Data.MappingType.Element);
  971.                 base.Columns.Add(this.columnEmail);
  972.                 this.columnScore = new System.Data.DataColumn("Score", typeof(int), null, System.Data.MappingType.Element);
  973.                 base.Columns.Add(this.columnScore);
  974.                 this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
  975.                                 this.columnID}, true));
  976.                 this.columnID.AutoIncrement = true;
  977.                 this.columnID.AllowDBNull = false;
  978.                 this.columnID.ReadOnly = true;
  979.                 this.columnID.Unique = true;
  980.                 this.columnName.AllowDBNull = false;
  981.                 this.columnName.MaxLength = 20;
  982.                 this.columnLevels.AllowDBNull = false;
  983.                 this.columnDegree.MaxLength = 20;
  984.                 this.columnAddress.MaxLength = 256;
  985.                 this.columnTelephone.MaxLength = 50;
  986.                 this.columnEmail.MaxLength = 50;
  987.             }
  988.             
  989.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  990.             public CustomerRow NewCustomerRow() {
  991.                 return ((CustomerRow)(this.NewRow()));
  992.             }
  993.             
  994.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  995.             protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
  996.                 return new CustomerRow(builder);
  997.             }
  998.             
  999.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1000.             protected override System.Type GetRowType() {
  1001.                 return typeof(CustomerRow);
  1002.             }
  1003.             
  1004.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1005.             protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
  1006.                 base.OnRowChanged(e);
  1007.                 if ((this.CustomerRowChanged != null)) {
  1008.                     this.CustomerRowChanged(this, new CustomerRowChangeEvent(((CustomerRow)(e.Row)), e.Action));
  1009.                 }
  1010.             }
  1011.             
  1012.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1013.             protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
  1014.                 base.OnRowChanging(e);
  1015.                 if ((this.CustomerRowChanging != null)) {
  1016.                     this.CustomerRowChanging(this, new CustomerRowChangeEvent(((CustomerRow)(e.Row)), e.Action));
  1017.                 }
  1018.             }
  1019.             
  1020.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1021.             protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
  1022.                 base.OnRowDeleted(e);
  1023.                 if ((this.CustomerRowDeleted != null)) {
  1024.                     this.CustomerRowDeleted(this, new CustomerRowChangeEvent(((CustomerRow)(e.Row)), e.Action));
  1025.                 }
  1026.             }
  1027.             
  1028.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1029.             protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
  1030.                 base.OnRowDeleting(e);
  1031.                 if ((this.CustomerRowDeleting != null)) {
  1032.                     this.CustomerRowDeleting(this, new CustomerRowChangeEvent(((CustomerRow)(e.Row)), e.Action));
  1033.                 }
  1034.             }
  1035.             
  1036.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1037.             public void RemoveCustomerRow(CustomerRow row) {
  1038.                 this.Rows.Remove(row);
  1039.             }
  1040.             
  1041.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1042.             public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
  1043.                 System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
  1044.                 System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
  1045.                 BookStoreDataSet ds = new BookStoreDataSet();
  1046.                 xs.Add(ds.GetSchemaSerializable());
  1047.                 System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
  1048.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1049.                 any1.MinOccurs = new decimal(0);
  1050.                 any1.MaxOccurs = decimal.MaxValue;
  1051.                 any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1052.                 sequence.Items.Add(any1);
  1053.                 System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
  1054.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1055.                 any2.MinOccurs = new decimal(1);
  1056.                 any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1057.                 sequence.Items.Add(any2);
  1058.                 System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
  1059.                 attribute1.Name = "namespace";
  1060.                 attribute1.FixedValue = ds.Namespace;
  1061.                 type.Attributes.Add(attribute1);
  1062.                 System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
  1063.                 attribute2.Name = "tableTypeName";
  1064.                 attribute2.FixedValue = "CustomerDataTable";
  1065.                 type.Attributes.Add(attribute2);
  1066.                 type.Particle = sequence;
  1067.                 return type;
  1068.             }
  1069.         }
  1070.         
  1071.         [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1072.         [System.Serializable()]
  1073.         [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1074.         public partial class SellDataTable : System.Data.DataTable, System.Collections.IEnumerable {
  1075.             
  1076.             private System.Data.DataColumn columnID;
  1077.             
  1078.             private System.Data.DataColumn columnCustomerID;
  1079.             
  1080.             private System.Data.DataColumn columnSum;
  1081.             
  1082.             private System.Data.DataColumn columnTime;
  1083.             
  1084.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1085.             public SellDataTable() {
  1086.                 this.TableName = "Sell";
  1087.                 this.BeginInit();
  1088.                 this.InitClass();
  1089.                 this.EndInit();
  1090.             }
  1091.             
  1092.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1093.             internal SellDataTable(System.Data.DataTable table) {
  1094.                 this.TableName = table.TableName;
  1095.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1096.                     this.CaseSensitive = table.CaseSensitive;
  1097.                 }
  1098.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1099.                     this.Locale = table.Locale;
  1100.                 }
  1101.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1102.                     this.Namespace = table.Namespace;
  1103.                 }
  1104.                 this.Prefix = table.Prefix;
  1105.                 this.MinimumCapacity = table.MinimumCapacity;
  1106.             }
  1107.             
  1108.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1109.             protected SellDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  1110.                     base(info, context) {
  1111.                 this.InitVars();
  1112.             }
  1113.             
  1114.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1115.             public System.Data.DataColumn IDColumn {
  1116.                 get {
  1117.                     return this.columnID;
  1118.                 }
  1119.             }
  1120.             
  1121.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1122.             public System.Data.DataColumn CustomerIDColumn {
  1123.                 get {
  1124.                     return this.columnCustomerID;
  1125.                 }
  1126.             }
  1127.             
  1128.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1129.             public System.Data.DataColumn SumColumn {
  1130.                 get {
  1131.                     return this.columnSum;
  1132.                 }
  1133.             }
  1134.             
  1135.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1136.             public System.Data.DataColumn TimeColumn {
  1137.                 get {
  1138.                     return this.columnTime;
  1139.                 }
  1140.             }
  1141.             
  1142.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1143.             [System.ComponentModel.Browsable(false)]
  1144.             public int Count {
  1145.                 get {
  1146.                     return this.Rows.Count;
  1147.                 }
  1148.             }
  1149.             
  1150.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1151.             public SellRow this[int index] {
  1152.                 get {
  1153.                     return ((SellRow)(this.Rows[index]));
  1154.                 }
  1155.             }
  1156.             
  1157.             public event SellRowChangeEventHandler SellRowChanging;
  1158.             
  1159.             public event SellRowChangeEventHandler SellRowChanged;
  1160.             
  1161.             public event SellRowChangeEventHandler SellRowDeleting;
  1162.             
  1163.             public event SellRowChangeEventHandler SellRowDeleted;
  1164.             
  1165.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1166.             public void AddSellRow(SellRow row) {
  1167.                 this.Rows.Add(row);
  1168.             }
  1169.             
  1170.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1171.             public SellRow AddSellRow(CustomerRow parentCustomerRowByCustomer_Sell, decimal Sum, System.DateTime Time) {
  1172.                 SellRow rowSellRow = ((SellRow)(this.NewRow()));
  1173.                 rowSellRow.ItemArray = new object[] {
  1174.                         null,
  1175.                         parentCustomerRowByCustomer_Sell[0],
  1176.                         Sum,
  1177.                         Time};
  1178.                 this.Rows.Add(rowSellRow);
  1179.                 return rowSellRow;
  1180.             }
  1181.             
  1182.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1183.             public SellRow FindByID(int ID) {
  1184.                 return ((SellRow)(this.Rows.Find(new object[] {
  1185.                             ID})));
  1186.             }
  1187.             
  1188.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1189.             public virtual System.Collections.IEnumerator GetEnumerator() {
  1190.                 return this.Rows.GetEnumerator();
  1191.             }
  1192.             
  1193.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1194.             public override System.Data.DataTable Clone() {
  1195.                 SellDataTable cln = ((SellDataTable)(base.Clone()));
  1196.                 cln.InitVars();
  1197.                 return cln;
  1198.             }
  1199.             
  1200.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1201.             protected override System.Data.DataTable CreateInstance() {
  1202.                 return new SellDataTable();
  1203.             }
  1204.             
  1205.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1206.             internal void InitVars() {
  1207.                 this.columnID = base.Columns["ID"];
  1208.                 this.columnCustomerID = base.Columns["CustomerID"];
  1209.                 this.columnSum = base.Columns["Sum"];
  1210.                 this.columnTime = base.Columns["Time"];
  1211.             }
  1212.             
  1213.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1214.             private void InitClass() {
  1215.                 this.columnID = new System.Data.DataColumn("ID", typeof(int), null, System.Data.MappingType.Element);
  1216.                 base.Columns.Add(this.columnID);
  1217.                 this.columnCustomerID = new System.Data.DataColumn("CustomerID", typeof(int), null, System.Data.MappingType.Element);
  1218.                 base.Columns.Add(this.columnCustomerID);
  1219.                 this.columnSum = new System.Data.DataColumn("Sum", typeof(decimal), null, System.Data.MappingType.Element);
  1220.                 base.Columns.Add(this.columnSum);
  1221.                 this.columnTime = new System.Data.DataColumn("Time", typeof(System.DateTime), null, System.Data.MappingType.Element);
  1222.                 base.Columns.Add(this.columnTime);
  1223.                 this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
  1224.                                 this.columnID}, true));
  1225.                 this.columnID.AutoIncrement = true;
  1226.                 this.columnID.AllowDBNull = false;
  1227.                 this.columnID.ReadOnly = true;
  1228.                 this.columnID.Unique = true;
  1229.                 this.columnSum.AllowDBNull = false;
  1230.                 this.columnTime.AllowDBNull = false;
  1231.             }
  1232.             
  1233.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1234.             public SellRow NewSellRow() {
  1235.                 return ((SellRow)(this.NewRow()));
  1236.             }
  1237.             
  1238.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1239.             protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
  1240.                 return new SellRow(builder);
  1241.             }
  1242.             
  1243.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1244.             protected override System.Type GetRowType() {
  1245.                 return typeof(SellRow);
  1246.             }
  1247.             
  1248.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1249.             protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
  1250.                 base.OnRowChanged(e);
  1251.                 if ((this.SellRowChanged != null)) {
  1252.                     this.SellRowChanged(this, new SellRowChangeEvent(((SellRow)(e.Row)), e.Action));
  1253.                 }
  1254.             }
  1255.             
  1256.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1257.             protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
  1258.                 base.OnRowChanging(e);
  1259.                 if ((this.SellRowChanging != null)) {
  1260.                     this.SellRowChanging(this, new SellRowChangeEvent(((SellRow)(e.Row)), e.Action));
  1261.                 }
  1262.             }
  1263.             
  1264.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1265.             protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
  1266.                 base.OnRowDeleted(e);
  1267.                 if ((this.SellRowDeleted != null)) {
  1268.                     this.SellRowDeleted(this, new SellRowChangeEvent(((SellRow)(e.Row)), e.Action));
  1269.                 }
  1270.             }
  1271.             
  1272.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1273.             protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
  1274.                 base.OnRowDeleting(e);
  1275.                 if ((this.SellRowDeleting != null)) {
  1276.                     this.SellRowDeleting(this, new SellRowChangeEvent(((SellRow)(e.Row)), e.Action));
  1277.                 }
  1278.             }
  1279.             
  1280.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1281.             public void RemoveSellRow(SellRow row) {
  1282.                 this.Rows.Remove(row);
  1283.             }
  1284.             
  1285.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1286.             public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
  1287.                 System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
  1288.                 System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
  1289.                 BookStoreDataSet ds = new BookStoreDataSet();
  1290.                 xs.Add(ds.GetSchemaSerializable());
  1291.                 System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
  1292.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1293.                 any1.MinOccurs = new decimal(0);
  1294.                 any1.MaxOccurs = decimal.MaxValue;
  1295.                 any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1296.                 sequence.Items.Add(any1);
  1297.                 System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
  1298.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1299.                 any2.MinOccurs = new decimal(1);
  1300.                 any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1301.                 sequence.Items.Add(any2);
  1302.                 System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
  1303.                 attribute1.Name = "namespace";
  1304.                 attribute1.FixedValue = ds.Namespace;
  1305.                 type.Attributes.Add(attribute1);
  1306.                 System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
  1307.                 attribute2.Name = "tableTypeName";
  1308.                 attribute2.FixedValue = "SellDataTable";
  1309.                 type.Attributes.Add(attribute2);
  1310.                 type.Particle = sequence;
  1311.                 return type;
  1312.             }
  1313.         }
  1314.         
  1315.         [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1316.         [System.Serializable()]
  1317.         [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1318.         public partial class SellItemDataTable : System.Data.DataTable, System.Collections.IEnumerable {
  1319.             
  1320.             private System.Data.DataColumn columnID;
  1321.             
  1322.             private System.Data.DataColumn columnSellID;
  1323.             
  1324.             private System.Data.DataColumn columnBookID;
  1325.             
  1326.             private System.Data.DataColumn columnNumber;
  1327.             
  1328.             private System.Data.DataColumn columnDiscount;
  1329.             
  1330.             private System.Data.DataColumn columnSum;
  1331.             
  1332.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1333.             public SellItemDataTable() {
  1334.                 this.TableName = "SellItem";
  1335.                 this.BeginInit();
  1336.                 this.InitClass();
  1337.                 this.EndInit();
  1338.             }
  1339.             
  1340.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1341.             internal SellItemDataTable(System.Data.DataTable table) {
  1342.                 this.TableName = table.TableName;
  1343.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1344.                     this.CaseSensitive = table.CaseSensitive;
  1345.                 }
  1346.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1347.                     this.Locale = table.Locale;
  1348.                 }
  1349.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1350.                     this.Namespace = table.Namespace;
  1351.                 }
  1352.                 this.Prefix = table.Prefix;
  1353.                 this.MinimumCapacity = table.MinimumCapacity;
  1354.             }
  1355.             
  1356.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1357.             protected SellItemDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  1358.                     base(info, context) {
  1359.                 this.InitVars();
  1360.             }
  1361.             
  1362.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1363.             public System.Data.DataColumn IDColumn {
  1364.                 get {
  1365.                     return this.columnID;
  1366.                 }
  1367.             }
  1368.             
  1369.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1370.             public System.Data.DataColumn SellIDColumn {
  1371.                 get {
  1372.                     return this.columnSellID;
  1373.                 }
  1374.             }
  1375.             
  1376.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1377.             public System.Data.DataColumn BookIDColumn {
  1378.                 get {
  1379.                     return this.columnBookID;
  1380.                 }
  1381.             }
  1382.             
  1383.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1384.             public System.Data.DataColumn NumberColumn {
  1385.                 get {
  1386.                     return this.columnNumber;
  1387.                 }
  1388.             }
  1389.             
  1390.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1391.             public System.Data.DataColumn DiscountColumn {
  1392.                 get {
  1393.                     return this.columnDiscount;
  1394.                 }
  1395.             }
  1396.             
  1397.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1398.             public System.Data.DataColumn SumColumn {
  1399.                 get {
  1400.                     return this.columnSum;
  1401.                 }
  1402.             }
  1403.             
  1404.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1405.             [System.ComponentModel.Browsable(false)]
  1406.             public int Count {
  1407.                 get {
  1408.                     return this.Rows.Count;
  1409.                 }
  1410.             }
  1411.             
  1412.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1413.             public SellItemRow this[int index] {
  1414.                 get {
  1415.                     return ((SellItemRow)(this.Rows[index]));
  1416.                 }
  1417.             }
  1418.             
  1419.             public event SellItemRowChangeEventHandler SellItemRowChanging;
  1420.             
  1421.             public event SellItemRowChangeEventHandler SellItemRowChanged;
  1422.             
  1423.             public event SellItemRowChangeEventHandler SellItemRowDeleting;
  1424.             
  1425.             public event SellItemRowChangeEventHandler SellItemRowDeleted;
  1426.             
  1427.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1428.             public void AddSellItemRow(SellItemRow row) {
  1429.                 this.Rows.Add(row);
  1430.             }
  1431.             
  1432.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1433.             public SellItemRow AddSellItemRow(SellRow parentSellRowByFK_SellItem_Sell, BookRow parentBookRowByFK_SellItem_Book, int Number, double Discount, decimal Sum) {
  1434.                 SellItemRow rowSellItemRow = ((SellItemRow)(this.NewRow()));
  1435.                 rowSellItemRow.ItemArray = new object[] {
  1436.                         null,
  1437.                         parentSellRowByFK_SellItem_Sell[0],
  1438.                         parentBookRowByFK_SellItem_Book[0],
  1439.                         Number,
  1440.                         Discount,
  1441.                         Sum};
  1442.                 this.Rows.Add(rowSellItemRow);
  1443.                 return rowSellItemRow;
  1444.             }
  1445.             
  1446.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1447.             public SellItemRow FindByID(int ID) {
  1448.                 return ((SellItemRow)(this.Rows.Find(new object[] {
  1449.                             ID})));
  1450.             }
  1451.             
  1452.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1453.             public virtual System.Collections.IEnumerator GetEnumerator() {
  1454.                 return this.Rows.GetEnumerator();
  1455.             }
  1456.             
  1457.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1458.             public override System.Data.DataTable Clone() {
  1459.                 SellItemDataTable cln = ((SellItemDataTable)(base.Clone()));
  1460.                 cln.InitVars();
  1461.                 return cln;
  1462.             }
  1463.             
  1464.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1465.             protected override System.Data.DataTable CreateInstance() {
  1466.                 return new SellItemDataTable();
  1467.             }
  1468.             
  1469.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1470.             internal void InitVars() {
  1471.                 this.columnID = base.Columns["ID"];
  1472.                 this.columnSellID = base.Columns["SellID"];
  1473.                 this.columnBookID = base.Columns["BookID"];
  1474.                 this.columnNumber = base.Columns["Number"];
  1475.                 this.columnDiscount = base.Columns["Discount"];
  1476.                 this.columnSum = base.Columns["Sum"];
  1477.             }
  1478.             
  1479.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1480.             private void InitClass() {
  1481.                 this.columnID = new System.Data.DataColumn("ID", typeof(int), null, System.Data.MappingType.Element);
  1482.                 base.Columns.Add(this.columnID);
  1483.                 this.columnSellID = new System.Data.DataColumn("SellID", typeof(int), null, System.Data.MappingType.Element);
  1484.                 base.Columns.Add(this.columnSellID);
  1485.                 this.columnBookID = new System.Data.DataColumn("BookID", typeof(int), null, System.Data.MappingType.Element);
  1486.                 base.Columns.Add(this.columnBookID);
  1487.                 this.columnNumber = new System.Data.DataColumn("Number", typeof(int), null, System.Data.MappingType.Element);
  1488.                 base.Columns.Add(this.columnNumber);
  1489.                 this.columnDiscount = new System.Data.DataColumn("Discount", typeof(double), null, System.Data.MappingType.Element);
  1490.                 base.Columns.Add(this.columnDiscount);
  1491.                 this.columnSum = new System.Data.DataColumn("Sum", typeof(decimal), null, System.Data.MappingType.Element);
  1492.                 base.Columns.Add(this.columnSum);
  1493.                 this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
  1494.                                 this.columnID}, true));
  1495.                 this.columnID.AutoIncrement = true;
  1496.                 this.columnID.AllowDBNull = false;
  1497.                 this.columnID.ReadOnly = true;
  1498.                 this.columnID.Unique = true;
  1499.                 this.columnSellID.AllowDBNull = false;
  1500.                 this.columnBookID.AllowDBNull = false;
  1501.                 this.columnNumber.AllowDBNull = false;
  1502.                 this.columnDiscount.AllowDBNull = false;
  1503.             }
  1504.             
  1505.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1506.             public SellItemRow NewSellItemRow() {
  1507.                 return ((SellItemRow)(this.NewRow()));
  1508.             }
  1509.             
  1510.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1511.             protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
  1512.                 return new SellItemRow(builder);
  1513.             }
  1514.             
  1515.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1516.             protected override System.Type GetRowType() {
  1517.                 return typeof(SellItemRow);
  1518.             }
  1519.             
  1520.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1521.             protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
  1522.                 base.OnRowChanged(e);
  1523.                 if ((this.SellItemRowChanged != null)) {
  1524.                     this.SellItemRowChanged(this, new SellItemRowChangeEvent(((SellItemRow)(e.Row)), e.Action));
  1525.                 }
  1526.             }
  1527.             
  1528.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1529.             protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
  1530.                 base.OnRowChanging(e);
  1531.                 if ((this.SellItemRowChanging != null)) {
  1532.                     this.SellItemRowChanging(this, new SellItemRowChangeEvent(((SellItemRow)(e.Row)), e.Action));
  1533.                 }
  1534.             }
  1535.             
  1536.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1537.             protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
  1538.                 base.OnRowDeleted(e);
  1539.                 if ((this.SellItemRowDeleted != null)) {
  1540.                     this.SellItemRowDeleted(this, new SellItemRowChangeEvent(((SellItemRow)(e.Row)), e.Action));
  1541.                 }
  1542.             }
  1543.             
  1544.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1545.             protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
  1546.                 base.OnRowDeleting(e);
  1547.                 if ((this.SellItemRowDeleting != null)) {
  1548.                     this.SellItemRowDeleting(this, new SellItemRowChangeEvent(((SellItemRow)(e.Row)), e.Action));
  1549.                 }
  1550.             }
  1551.             
  1552.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1553.             public void RemoveSellItemRow(SellItemRow row) {
  1554.                 this.Rows.Remove(row);
  1555.             }
  1556.             
  1557.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1558.             public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
  1559.                 System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
  1560.                 System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
  1561.                 BookStoreDataSet ds = new BookStoreDataSet();
  1562.                 xs.Add(ds.GetSchemaSerializable());
  1563.                 System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
  1564.                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1565.                 any1.MinOccurs = new decimal(0);
  1566.                 any1.MaxOccurs = decimal.MaxValue;
  1567.                 any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1568.                 sequence.Items.Add(any1);
  1569.                 System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
  1570.                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1571.                 any2.MinOccurs = new decimal(1);
  1572.                 any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1573.                 sequence.Items.Add(any2);
  1574.                 System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
  1575.                 attribute1.Name = "namespace";
  1576.                 attribute1.FixedValue = ds.Namespace;
  1577.                 type.Attributes.Add(attribute1);
  1578.                 System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
  1579.                 attribute2.Name = "tableTypeName";
  1580.                 attribute2.FixedValue = "SellItemDataTable";
  1581.                 type.Attributes.Add(attribute2);
  1582.                 type.Particle = sequence;
  1583.                 return type;
  1584.             }
  1585.         }
  1586.         
  1587.         [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1588.         [System.Serializable()]
  1589.         [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1590.         public partial class V_BookSellDataTable : System.Data.DataTable, System.Collections.IEnumerable {
  1591.             
  1592.             private System.Data.DataColumn columnID;
  1593.             
  1594.             private System.Data.DataColumn columnCustomerID;
  1595.             
  1596.             private System.Data.DataColumn columnTime;
  1597.             
  1598.             private System.Data.DataColumn columnISBN;
  1599.             
  1600.             private System.Data.DataColumn columnName;
  1601.             
  1602.             private System.Data.DataColumn columnPress;
  1603.             
  1604.             private System.Data.DataColumn columnPrice;
  1605.             
  1606.             private System.Data.DataColumn columnNumber;
  1607.             
  1608.             private System.Data.DataColumn columnDiscount;
  1609.             
  1610.             private System.Data.DataColumn columnSum;
  1611.             
  1612.             private System.Data.DataColumn columnSellID;
  1613.             
  1614.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1615.             public V_BookSellDataTable() {
  1616.                 this.TableName = "V_BookSell";
  1617.                 this.BeginInit();
  1618.                 this.InitClass();
  1619.                 this.EndInit();
  1620.             }
  1621.             
  1622.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1623.             internal V_BookSellDataTable(System.Data.DataTable table) {
  1624.                 this.TableName = table.TableName;
  1625.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1626.                     this.CaseSensitive = table.CaseSensitive;
  1627.                 }
  1628.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1629.                     this.Locale = table.Locale;
  1630.                 }
  1631.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1632.                     this.Namespace = table.Namespace;
  1633.                 }
  1634.                 this.Prefix = table.Prefix;
  1635.                 this.MinimumCapacity = table.MinimumCapacity;
  1636.             }
  1637.             
  1638.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1639.             protected V_BookSellDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
  1640.                     base(info, context) {
  1641.                 this.InitVars();
  1642.             }
  1643.             
  1644.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1645.             public System.Data.DataColumn IDColumn {
  1646.                 get {
  1647.                     return this.columnID;
  1648.                 }
  1649.             }
  1650.             
  1651.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1652.             public System.Data.DataColumn CustomerIDColumn {
  1653.                 get {
  1654.                     return this.columnCustomerID;
  1655.                 }
  1656.             }
  1657.             
  1658.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1659.             public System.Data.DataColumn TimeColumn {
  1660.                 get {
  1661.                     return this.columnTime;
  1662.                 }
  1663.             }
  1664.             
  1665.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1666.             public System.Data.DataColumn ISBNColumn {
  1667.                 get {
  1668.                     return this.columnISBN;
  1669.                 }
  1670.             }
  1671.             
  1672.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1673.             public System.Data.DataColumn NameColumn {
  1674.                 get {
  1675.                     return this.columnName;
  1676.                 }
  1677.             }
  1678.             
  1679.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1680.             public System.Data.DataColumn PressColumn {
  1681.                 get {
  1682.                     return this.columnPress;
  1683.                 }
  1684.             }
  1685.             
  1686.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1687.             public System.Data.DataColumn PriceColumn {
  1688.                 get {
  1689.                     return this.columnPrice;
  1690.                 }
  1691.             }
  1692.             
  1693.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1694.             public System.Data.DataColumn NumberColumn {
  1695.                 get {
  1696.                     return this.columnNumber;
  1697.                 }
  1698.             }
  1699.             
  1700.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1701.             public System.Data.DataColumn DiscountColumn {
  1702.                 get {
  1703.                     return this.columnDiscount;
  1704.                 }
  1705.             }
  1706.             
  1707.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1708.             public System.Data.DataColumn SumColumn {
  1709.                 get {
  1710.                     return this.columnSum;
  1711.                 }
  1712.             }
  1713.             
  1714.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1715.             public System.Data.DataColumn SellIDColumn {
  1716.                 get {
  1717.                     return this.columnSellID;
  1718.                 }
  1719.             }
  1720.             
  1721.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1722.             [System.ComponentModel.Browsable(false)]
  1723.             public int Count {
  1724.                 get {
  1725.                     return this.Rows.Count;
  1726.                 }
  1727.             }
  1728.             
  1729.             [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1730.             public V_BookSellRow this[int index] {
  1731.                 get {
  1732.                     return ((V_BookSellRow)(this.Rows[index]));
  1733.                 }