コード例 #1
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public GeometryValueConverter(SqlServerSpatialReader reader, SqlServerSpatialWriter writer)
     : base(
         g => new SqlBytes(writer.Write(g)),
         b => (TGeometry)reader.Read(b.Value))
 {
 }