Class NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions
- Namespace
- Microsoft.EntityFrameworkCore
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll
NetTopologySuite specific extension methods for NpgsqlDbContextOptionsBuilder.
public static class NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions
- Inheritance
-
NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions
- Inherited Members
Methods
UseNetTopologySuite(NpgsqlDbContextOptionsBuilder, CoordinateSequenceFactory?, PrecisionModel?, Ordinates, bool)
Use NetTopologySuite to access SQL Server spatial data.
public static NpgsqlDbContextOptionsBuilder UseNetTopologySuite(this NpgsqlDbContextOptionsBuilder optionsBuilder, CoordinateSequenceFactory? coordinateSequenceFactory = null, PrecisionModel? precisionModel = null, Ordinates handleOrdinates = Ordinates.None, bool geographyAsDefault = false)
Parameters
optionsBuilder
NpgsqlDbContextOptionsBuildercoordinateSequenceFactory
CoordinateSequenceFactoryprecisionModel
PrecisionModelhandleOrdinates
OrdinatesgeographyAsDefault
bool
Returns
- NpgsqlDbContextOptionsBuilder
The options builder so that further configuration can be chained.