internal void InitVars(bool initTable) {
     this.tablesites = ((sitesDataTable)(base.Tables["sites"]));
     if ((initTable == true)) {
         if ((this.tablesites != null)) {
             this.tablesites.InitVars();
         }
     }
     this.tableSpatialReferences = ((SpatialReferencesDataTable)(base.Tables["SpatialReferences"]));
     if ((initTable == true)) {
         if ((this.tableSpatialReferences != null)) {
             this.tableSpatialReferences.InitVars();
         }
     }
     this.relationSites_FK01 = this.Relations["Sites_FK01"];
     this.relationFK_Sites_SpatialReferences = this.Relations["FK_Sites_SpatialReferences"];
 }
 private void InitClass() {
     this.DataSetName = "siteInfoDataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/siteInfoDataSet.xsd";
     this.EnforceConstraints = false;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablesites = new sitesDataTable();
     base.Tables.Add(this.tablesites);
     this.tableSpatialReferences = new SpatialReferencesDataTable();
     base.Tables.Add(this.tableSpatialReferences);
     this.relationSites_FK01 = new global::System.Data.DataRelation("Sites_FK01", new global::System.Data.DataColumn[] {
                 this.tableSpatialReferences.SpatialReferenceIDColumn}, new global::System.Data.DataColumn[] {
                 this.tablesites.LocalProjectionIDColumn}, false);
     this.Relations.Add(this.relationSites_FK01);
     this.relationFK_Sites_SpatialReferences = new global::System.Data.DataRelation("FK_Sites_SpatialReferences", new global::System.Data.DataColumn[] {
                 this.tableSpatialReferences.SpatialReferenceIDColumn}, new global::System.Data.DataColumn[] {
                 this.tablesites.LatLongDatumIDColumn}, false);
     this.Relations.Add(this.relationFK_Sites_SpatialReferences);
 }
 internal sitesRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tablesites = ((sitesDataTable)(this.Table));
 }