public override DbGeographyWellKnownValue CreateWellKnownValue(DbGeography geographyValue)
        {
            CheckParameterNotNull("geographyValue", geographyValue);

            Debug.Assert(geographyValue.AsBinary() != null, "WKB value must not be null.");
            Debug.Assert(geographyValue.AsText() != null, "WKT value must not be null.");

            return new DbGeographyWellKnownValue()
                       {
                           CoordinateSystemId = geographyValue.CoordinateSystemId,
                           WellKnownBinary = geographyValue.AsBinary(),
                           WellKnownText = geographyValue.AsText()
                       };
        }