private void InitClass() {
     this.DataSetName = "Content";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Content.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableItem = new ItemDataTable();
     base.Tables.Add(this.tableItem);
     this.tableItemInstance = new ItemInstanceDataTable();
     base.Tables.Add(this.tableItemInstance);
     this.tablePicture = new PictureDataTable();
     base.Tables.Add(this.tablePicture);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Item_ItemInstance", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInstance.ContentIdColumn});
     this.tableItemInstance.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.Cascade;
     fkc.DeleteRule = global::System.Data.Rule.Cascade;
     fkc.UpdateRule = global::System.Data.Rule.Cascade;
     fkc = new global::System.Data.ForeignKeyConstraint("FK_Item_Picture", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePicture.ContentIdColumn});
     this.tablePicture.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.relationFK_Item_ItemInstance = new global::System.Data.DataRelation("FK_Item_ItemInstance", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableItemInstance.ContentIdColumn}, false);
     this.Relations.Add(this.relationFK_Item_ItemInstance);
     this.relationFK_Item_Picture = new global::System.Data.DataRelation("FK_Item_Picture", new global::System.Data.DataColumn[] {
                 this.tableItem.ContentIdColumn}, new global::System.Data.DataColumn[] {
                 this.tablePicture.ContentIdColumn}, false);
     this.Relations.Add(this.relationFK_Item_Picture);
 }
 internal void InitVars(bool initTable) {
     this.tableItem = ((ItemDataTable)(base.Tables["Item"]));
     if ((initTable == true)) {
         if ((this.tableItem != null)) {
             this.tableItem.InitVars();
         }
     }
     this.tableItemInstance = ((ItemInstanceDataTable)(base.Tables["ItemInstance"]));
     if ((initTable == true)) {
         if ((this.tableItemInstance != null)) {
             this.tableItemInstance.InitVars();
         }
     }
     this.tablePicture = ((PictureDataTable)(base.Tables["Picture"]));
     if ((initTable == true)) {
         if ((this.tablePicture != null)) {
             this.tablePicture.InitVars();
         }
     }
     this.relationFK_Item_ItemInstance = this.Relations["FK_Item_ItemInstance"];
     this.relationFK_Item_Picture = this.Relations["FK_Item_Picture"];
 }
 internal PictureRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tablePicture = ((PictureDataTable)(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"];
 }
 public static dsLanguageData.PictureRow CloneRow(dsLanguageData.PictureRow row)
 {
     dsLanguageData.PictureRow newRow = new PictureDataTable().NewPictureRow();
     newRow.ItemArray = row.ItemArray;
     return newRow;
 }