public void AddSpatialReferencesRow(SpatialReferencesRow row) {
     this.Rows.Add(row);
 }
 public SpatialReferencesRowChangeEvent(SpatialReferencesRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public sitesRow AddsitesRow(int SiteID, string SiteCode, string SiteName, double Latitude, double Longitude, SpatialReferencesRow parentSpatialReferencesRowByFK_Sites_SpatialReferences, string VerticalDatum, double LocalX, double LocalY, SpatialReferencesRow parentSpatialReferencesRowBySites_FK01, string State, string County, string Comments, double Elevation_m, double PosAccuracy_m) {
     sitesRow rowsitesRow = ((sitesRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             SiteID,
             SiteCode,
             SiteName,
             Latitude,
             Longitude,
             null,
             VerticalDatum,
             LocalX,
             LocalY,
             null,
             State,
             County,
             Comments,
             Elevation_m,
             PosAccuracy_m};
     if ((parentSpatialReferencesRowByFK_Sites_SpatialReferences != null)) {
         columnValuesArray[5] = parentSpatialReferencesRowByFK_Sites_SpatialReferences[0];
     }
     if ((parentSpatialReferencesRowBySites_FK01 != null)) {
         columnValuesArray[9] = parentSpatialReferencesRowBySites_FK01[0];
     }
     rowsitesRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowsitesRow);
     return rowsitesRow;
 }
 public void RemoveSpatialReferencesRow(SpatialReferencesRow row) {
     this.Rows.Remove(row);
 }