internal FORME_PRIMAIRERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableFORME_PRIMAIRE = ((FORME_PRIMAIREDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "DescriptionPokemon"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DescriptionPokemon.xsd"; this.Locale = new global::System.Globalization.CultureInfo(""); this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePOKEMON = new POKEMONDataTable(); base.Tables.Add(this.tablePOKEMON); this.tableEFFORT_POINT = new EFFORT_POINTDataTable(); base.Tables.Add(this.tableEFFORT_POINT); this.tableCAPACITE = new CAPACITEDataTable(); base.Tables.Add(this.tableCAPACITE); this.tableCAPACITESPE = new CAPACITESPEDataTable(); base.Tables.Add(this.tableCAPACITESPE); this.tableEVOLUTION = new EVOLUTIONDataTable(); base.Tables.Add(this.tableEVOLUTION); this.tableDEPENDEVO = new DEPENDEVODataTable(); base.Tables.Add(this.tableDEPENDEVO); this.tableFORME_PRIMAIRE = new FORME_PRIMAIREDataTable(); base.Tables.Add(this.tableFORME_PRIMAIRE); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_EFFORT_POINT", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableEFFORT_POINT.POKEMON_IdColumn}); this.tableEFFORT_POINT.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_CAPACITE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableCAPACITE.POKEMON_IdColumn}); this.tableCAPACITE.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_CAPACITESPE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableCAPACITESPE.POKEMON_IdColumn}); this.tableCAPACITESPE.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_EVOLUTION", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableEVOLUTION.POKEMON_IdColumn}); this.tableEVOLUTION.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_DEPENDEVO", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableDEPENDEVO.POKEMON_IdColumn}); this.tableDEPENDEVO.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("POKEMON_FORME_PRIMAIRE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableFORME_PRIMAIRE.POKEMON_IdColumn}); this.tableFORME_PRIMAIRE.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; this.relationPOKEMON_EFFORT_POINT = new global::System.Data.DataRelation("POKEMON_EFFORT_POINT", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableEFFORT_POINT.POKEMON_IdColumn}, false); this.relationPOKEMON_EFFORT_POINT.Nested = true; this.Relations.Add(this.relationPOKEMON_EFFORT_POINT); this.relationPOKEMON_CAPACITE = new global::System.Data.DataRelation("POKEMON_CAPACITE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableCAPACITE.POKEMON_IdColumn}, false); this.relationPOKEMON_CAPACITE.Nested = true; this.Relations.Add(this.relationPOKEMON_CAPACITE); this.relationPOKEMON_CAPACITESPE = new global::System.Data.DataRelation("POKEMON_CAPACITESPE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableCAPACITESPE.POKEMON_IdColumn}, false); this.relationPOKEMON_CAPACITESPE.Nested = true; this.Relations.Add(this.relationPOKEMON_CAPACITESPE); this.relationPOKEMON_EVOLUTION = new global::System.Data.DataRelation("POKEMON_EVOLUTION", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableEVOLUTION.POKEMON_IdColumn}, false); this.relationPOKEMON_EVOLUTION.Nested = true; this.Relations.Add(this.relationPOKEMON_EVOLUTION); this.relationPOKEMON_DEPENDEVO = new global::System.Data.DataRelation("POKEMON_DEPENDEVO", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableDEPENDEVO.POKEMON_IdColumn}, false); this.relationPOKEMON_DEPENDEVO.Nested = true; this.Relations.Add(this.relationPOKEMON_DEPENDEVO); this.relationPOKEMON_FORME_PRIMAIRE = new global::System.Data.DataRelation("POKEMON_FORME_PRIMAIRE", new global::System.Data.DataColumn[] { this.tablePOKEMON.POKEMON_IdColumn}, new global::System.Data.DataColumn[] { this.tableFORME_PRIMAIRE.POKEMON_IdColumn}, false); this.relationPOKEMON_FORME_PRIMAIRE.Nested = true; this.Relations.Add(this.relationPOKEMON_FORME_PRIMAIRE); }
internal void InitVars(bool initTable) { this.tablePOKEMON = ((POKEMONDataTable)(base.Tables["POKEMON"])); if ((initTable == true)) { if ((this.tablePOKEMON != null)) { this.tablePOKEMON.InitVars(); } } this.tableEFFORT_POINT = ((EFFORT_POINTDataTable)(base.Tables["EFFORT_POINT"])); if ((initTable == true)) { if ((this.tableEFFORT_POINT != null)) { this.tableEFFORT_POINT.InitVars(); } } this.tableCAPACITE = ((CAPACITEDataTable)(base.Tables["CAPACITE"])); if ((initTable == true)) { if ((this.tableCAPACITE != null)) { this.tableCAPACITE.InitVars(); } } this.tableCAPACITESPE = ((CAPACITESPEDataTable)(base.Tables["CAPACITESPE"])); if ((initTable == true)) { if ((this.tableCAPACITESPE != null)) { this.tableCAPACITESPE.InitVars(); } } this.tableEVOLUTION = ((EVOLUTIONDataTable)(base.Tables["EVOLUTION"])); if ((initTable == true)) { if ((this.tableEVOLUTION != null)) { this.tableEVOLUTION.InitVars(); } } this.tableDEPENDEVO = ((DEPENDEVODataTable)(base.Tables["DEPENDEVO"])); if ((initTable == true)) { if ((this.tableDEPENDEVO != null)) { this.tableDEPENDEVO.InitVars(); } } this.tableFORME_PRIMAIRE = ((FORME_PRIMAIREDataTable)(base.Tables["FORME_PRIMAIRE"])); if ((initTable == true)) { if ((this.tableFORME_PRIMAIRE != null)) { this.tableFORME_PRIMAIRE.InitVars(); } } this.relationPOKEMON_EFFORT_POINT = this.Relations["POKEMON_EFFORT_POINT"]; this.relationPOKEMON_CAPACITE = this.Relations["POKEMON_CAPACITE"]; this.relationPOKEMON_CAPACITESPE = this.Relations["POKEMON_CAPACITESPE"]; this.relationPOKEMON_EVOLUTION = this.Relations["POKEMON_EVOLUTION"]; this.relationPOKEMON_DEPENDEVO = this.Relations["POKEMON_DEPENDEVO"]; this.relationPOKEMON_FORME_PRIMAIRE = this.Relations["POKEMON_FORME_PRIMAIRE"]; }