title: Entity Framework Core + Spatial Data is Raising SRID not vaild error
body: <p>I'm getting the following error:</p>
  
  <blockquote>
    <p>ERROR:
    SqlException: .NET Framework error during routine execution or user-defined aggregate 'geography':
    System.ArgumentException: 24204: spatial reference identifier (SRID) is not valid. The specified SRID must match one of the supported SRIDs shown in the sys.spatial_reference_systems catalog view.</p>
  </blockquote>
  
  <p>This error is raised when I'm trying to save to SQL DB a point created like this</p>
  
  <pre><code>new Point(it.Lat, it.Lng)
  </code></pre>
  
  <p>After that I'v tried to use a <code>GeometryFactory</code> like this one:</p>
  
  <pre><code>    public static class GeometryHelper
      {
          public static IGeometryFactory GeometryFactory { get; set; }
              = NtsGeometryServices.Instance.CreateGeometryFactory();
      }
  ...
      geometryFactory.CreatePoint(new Coordinate(it.Lat, it.Lng))
  </code></pre>
  
  <p>And nothing.</p>
  
  <p>Also tried setting a specific SRID:</p>
  
  <pre><code>    public static class GeometryHelper
      {
          public static IGeometryFactory GeometryFactory { get; set; }
              = NtsGeometryServices.Instance.CreateGeometryFactory(4326);
      }
  </code></pre>
  
  <p>But then get this error:</p>
  
  <blockquote>
    <p>SqlException: .NET Framework error during routine execution or user-defined aggregate 'geography':
    System.FormatException: One of the identified elements has an invalid format.
    System.FormatException:</p>
  </blockquote>