private void InitClass() { this.DataSetName = "NosSiteMapDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/NosSiteMapDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.tableRaiz = new RaizDataTable(); base.Tables.Add(this.tableRaiz); this.tableNo = new NoDataTable(); base.Tables.Add(this.tableNo); System.Data.ForeignKeyConstraint fkc; fkc = new System.Data.ForeignKeyConstraint("Raiz_No", new System.Data.DataColumn[] { this.tableRaiz.CodigoColumn}, new System.Data.DataColumn[] { this.tableNo.CodigoRaizColumn}); this.tableNo.Constraints.Add(fkc); fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None; fkc.DeleteRule = System.Data.Rule.None; fkc.UpdateRule = System.Data.Rule.None; this.relationRaiz_No = new System.Data.DataRelation("Raiz_No", new System.Data.DataColumn[] { this.tableRaiz.CodigoColumn}, new System.Data.DataColumn[] { this.tableNo.CodigoRaizColumn}, false); this.Relations.Add(this.relationRaiz_No); }
internal NoRow(System.Data.DataRowBuilder rb) : base(rb) { this.tableNo = ((NoDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableRaiz = ((RaizDataTable)(base.Tables["Raiz"])); if ((initTable == true)) { if ((this.tableRaiz != null)) { this.tableRaiz.InitVars(); } } this.tableNo = ((NoDataTable)(base.Tables["No"])); if ((initTable == true)) { if ((this.tableNo != null)) { this.tableNo.InitVars(); } } this.relationRaiz_No = this.Relations["Raiz_No"]; }