/// <summary>
 /// Constructor for building a new simple object with the POCO class
 /// </summary>
 public GeospatialAreaSimple(vGeospatialArea geospatialArea)
     : this()
 {
     GeospatialAreaID        = geospatialArea.GeospatialAreaID;
     GeospatialAreaShortName = geospatialArea.GeospatialAreaShortName;
     GeospatialAreaTypeID    = geospatialArea.GeospatialAreaTypeID;
 }
 public static string GetDetailUrl(this vGeospatialArea geospatialArea)
 {
     return(GetDetailUrl(geospatialArea.GeospatialAreaID));
 }
 public static HtmlString GetDisplayNameAsUrl(this vGeospatialArea geospatialArea)
 {
     return(UrlTemplate.MakeHrefString(geospatialArea.GetDetailUrl(), geospatialArea.GeospatialAreaShortName));
 }