private void InitClass() { this.DataSetName = "vistaForm"; this.Prefix = ""; this.Namespace = "http://tempuri.org/dettentratepagamentivista.xsd"; this.Locale = new System.Globalization.CultureInfo("en-US"); this.CaseSensitive = false; this.EnforceConstraints = true; this.tableincomelinkedpayment = new incomelinkedpaymentDataTable(); this.Tables.Add(this.tableincomelinkedpayment); this.tablelinkedincome = new linkedincomeDataTable(); this.Tables.Add(this.tablelinkedincome); ForeignKeyConstraint fkc; fkc = new ForeignKeyConstraint("vistaFormKey2", new DataColumn[] { this.tablelinkedincome.idlinkedincomeColumn }, new DataColumn[] { this.tableincomelinkedpayment.idlinkedincomeColumn }); this.tableincomelinkedpayment.Constraints.Add(fkc); fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None; fkc.DeleteRule = System.Data.Rule.Cascade; fkc.UpdateRule = System.Data.Rule.Cascade; this.relationlinkedincomeincomelinkedpayment = new DataRelation("linkedincomeincomelinkedpayment", new DataColumn[] { this.tablelinkedincome.idlinkedincomeColumn }, new DataColumn[] { this.tableincomelinkedpayment.idlinkedincomeColumn }, false); this.Relations.Add(this.relationlinkedincomeincomelinkedpayment); }
public override DataTable Clone() { incomelinkedpaymentDataTable cln = ((incomelinkedpaymentDataTable)(base.Clone())); cln.InitVars(); return(cln); }
internal void InitVars() { this.tableincomelinkedpayment = ((incomelinkedpaymentDataTable)(this.Tables["incomelinkedpayment"])); if ((this.tableincomelinkedpayment != null)) { this.tableincomelinkedpayment.InitVars(); } this.tablelinkedincome = ((linkedincomeDataTable)(this.Tables["linkedincome"])); if ((this.tablelinkedincome != null)) { this.tablelinkedincome.InitVars(); } this.relationlinkedincomeincomelinkedpayment = this.Relations["linkedincomeincomelinkedpayment"]; }
internal incomelinkedpaymentRow(DataRowBuilder rb) : base(rb) { this.tableincomelinkedpayment = ((incomelinkedpaymentDataTable)(this.Table)); }