public override DataTable Clone() { CartItemsDataTable cln = ((CartItemsDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "CartDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/CartDS.xsd"; this.Locale = new System.Globalization.CultureInfo("en-US"); this.CaseSensitive = false; this.EnforceConstraints = true; this.tableCarts = new CartsDataTable(); this.Tables.Add(this.tableCarts); this.tableCartItems = new CartItemsDataTable(); this.Tables.Add(this.tableCartItems); }
internal void InitVars() { this.tableCarts = ((CartsDataTable)(this.Tables["cart"])); if ((this.tableCarts != null)) { this.tableCarts.InitVars(); } this.tableCartItems = ((CartItemsDataTable)(this.Tables["cart_details"])); if ((this.tableCartItems != null)) { this.tableCartItems.InitVars(); } }
internal CartItem(DataRowBuilder rb) : base(rb) { this.tableCartItems = ((CartItemsDataTable)(this.Table)); }