internal void InitVars(bool initTable) {
     this.tableContactCategories = ((ContactCategoriesDataTable)(base.Tables["ContactCategories"]));
     if ((initTable == true)) {
         if ((this.tableContactCategories != null)) {
             this.tableContactCategories.InitVars();
         }
     }
     this.tableContacts = ((ContactsDataTable)(base.Tables["Contacts"]));
     if ((initTable == true)) {
         if ((this.tableContacts != null)) {
             this.tableContacts.InitVars();
         }
     }
     this.tableContacts_ContactCategories = ((Contacts_ContactCategoriesDataTable)(base.Tables["Contacts_ContactCategories"]));
     if ((initTable == true)) {
         if ((this.tableContacts_ContactCategories != null)) {
             this.tableContacts_ContactCategories.InitVars();
         }
     }
     this.relationContactCategoriesContacts_ContactCategories = this.Relations["ContactCategoriesContacts_ContactCategories"];
     this.relationContactsContacts_ContactCategories = this.Relations["ContactsContacts_ContactCategories"];
 }
 private void InitClass() {
     this.DataSetName = "GridEXTutorialsDataDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/GridEXTutorialsDataDataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableContactCategories = new ContactCategoriesDataTable();
     base.Tables.Add(this.tableContactCategories);
     this.tableContacts = new ContactsDataTable();
     base.Tables.Add(this.tableContacts);
     this.tableContacts_ContactCategories = new Contacts_ContactCategoriesDataTable();
     base.Tables.Add(this.tableContacts_ContactCategories);
     this.relationContactCategoriesContacts_ContactCategories = new global::System.Data.DataRelation("ContactCategoriesContacts_ContactCategories", new global::System.Data.DataColumn[] {
                 this.tableContactCategories.ContactCategoryIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableContacts_ContactCategories.ContactCategoryIDColumn}, false);
     this.Relations.Add(this.relationContactCategoriesContacts_ContactCategories);
     this.relationContactsContacts_ContactCategories = new global::System.Data.DataRelation("ContactsContacts_ContactCategories", new global::System.Data.DataColumn[] {
                 this.tableContacts.ContactIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableContacts_ContactCategories.ContactIDColumn}, false);
     this.Relations.Add(this.relationContactsContacts_ContactCategories);
 }
 internal Contacts_ContactCategoriesRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableContacts_ContactCategories = ((Contacts_ContactCategoriesDataTable)(this.Table));
 }