public override global::System.Data.DataTable Clone() { CollectionDataTable cln = ((CollectionDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "Collection"; this.Prefix = ""; this.Namespace = "http://tempuri.org/Collection.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableCollection = new CollectionDataTable(); base.Tables.Add(this.tableCollection); }
internal void InitVars(bool initTable) { this.tableCollection = ((CollectionDataTable)(base.Tables["Collection"])); if ((initTable == true)) { if ((this.tableCollection != null)) { this.tableCollection.InitVars(); } } }
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 CollectionRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableCollection = ((CollectionDataTable)(this.Table)); }
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"]; }
public static dsLanguageData.CollectionRow CloneRow(dsLanguageData.CollectionRow row) { dsLanguageData.CollectionRow newRow = new CollectionDataTable().NewCollectionRow(); newRow.ItemArray = row.ItemArray; return newRow; }