public override global::System.Data.DataTable Clone() { DiscountDataTable cln = ((DiscountDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "PricingDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/PricingDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePricing = new PricingDataTable(); base.Tables.Add(this.tablePricing); this.tableDiscount = new DiscountDataTable(); base.Tables.Add(this.tableDiscount); }
internal void InitVars(bool initTable) { this.tablePricing = ((PricingDataTable)(base.Tables["Pricing"])); if ((initTable == true)) { if ((this.tablePricing != null)) { this.tablePricing.InitVars(); } } this.tableDiscount = ((DiscountDataTable)(base.Tables["Discount"])); if ((initTable == true)) { if ((this.tableDiscount != null)) { this.tableDiscount.InitVars(); } } }
internal DiscountRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDiscount = ((DiscountDataTable)(this.Table)); }