internal CardListDataRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableCardListData = ((CardListDataDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "dsLanguageData"; this.Prefix = ""; this.Namespace = "http://tempuri.org/dsLanguageData.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableCard = new CardDataTable(); base.Tables.Add(this.tableCard); this.tableCardList = new CardListDataTable(); base.Tables.Add(this.tableCardList); this.tableCardListData = new CardListDataDataTable(); base.Tables.Add(this.tableCardListData); this.tableCollection = new CollectionDataTable(); base.Tables.Add(this.tableCollection); this.tableSoundClip = new SoundClipDataTable(); base.Tables.Add(this.tableSoundClip); this.tableDictionary = new DictionaryDataTable(); base.Tables.Add(this.tableDictionary); this.tableRecentPlaylist = new RecentPlaylistDataTable(); base.Tables.Add(this.tableRecentPlaylist); this.tablePicture = new PictureDataTable(); base.Tables.Add(this.tablePicture); this.relationCollection_CardList = new global::System.Data.DataRelation("Collection_CardList", new global::System.Data.DataColumn[] { this.tableCollection.IDColumn}, new global::System.Data.DataColumn[] { this.tableCardList.CollectionIDColumn}, false); this.Relations.Add(this.relationCollection_CardList); this.relationCardList_CardListData = new global::System.Data.DataRelation("CardList_CardListData", new global::System.Data.DataColumn[] { this.tableCardList.IDColumn}, new global::System.Data.DataColumn[] { this.tableCardListData.CardListIDColumn}, false); this.Relations.Add(this.relationCardList_CardListData); this.relationSoundClip_Card = new global::System.Data.DataRelation("SoundClip_Card", new global::System.Data.DataColumn[] { this.tableSoundClip.CardIDColumn}, new global::System.Data.DataColumn[] { this.tableCard.IDColumn}, false); this.Relations.Add(this.relationSoundClip_Card); this.relationCard_Picture = new global::System.Data.DataRelation("Card_Picture", new global::System.Data.DataColumn[] { this.tableCard.IDColumn}, new global::System.Data.DataColumn[] { this.tablePicture.CardIDColumn}, false); this.Relations.Add(this.relationCard_Picture); }
internal void InitVars(bool initTable) { this.tableCard = ((CardDataTable)(base.Tables["Card"])); if ((initTable == true)) { if ((this.tableCard != null)) { this.tableCard.InitVars(); } } this.tableCardList = ((CardListDataTable)(base.Tables["CardList"])); if ((initTable == true)) { if ((this.tableCardList != null)) { this.tableCardList.InitVars(); } } this.tableCardListData = ((CardListDataDataTable)(base.Tables["CardListData"])); if ((initTable == true)) { if ((this.tableCardListData != null)) { this.tableCardListData.InitVars(); } } this.tableCollection = ((CollectionDataTable)(base.Tables["Collection"])); if ((initTable == true)) { if ((this.tableCollection != null)) { this.tableCollection.InitVars(); } } this.tableSoundClip = ((SoundClipDataTable)(base.Tables["SoundClip"])); if ((initTable == true)) { if ((this.tableSoundClip != null)) { this.tableSoundClip.InitVars(); } } this.tableDictionary = ((DictionaryDataTable)(base.Tables["Dictionary"])); if ((initTable == true)) { if ((this.tableDictionary != null)) { this.tableDictionary.InitVars(); } } this.tableRecentPlaylist = ((RecentPlaylistDataTable)(base.Tables["RecentPlaylist"])); if ((initTable == true)) { if ((this.tableRecentPlaylist != null)) { this.tableRecentPlaylist.InitVars(); } } this.tablePicture = ((PictureDataTable)(base.Tables["Picture"])); if ((initTable == true)) { if ((this.tablePicture != null)) { this.tablePicture.InitVars(); } } this.relationCollection_CardList = this.Relations["Collection_CardList"]; this.relationCardList_CardListData = this.Relations["CardList_CardListData"]; this.relationSoundClip_Card = this.Relations["SoundClip_Card"]; this.relationCard_Picture = this.Relations["Card_Picture"]; }