# Class NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions

Namespace
  Microsoft.EntityFrameworkCore

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll

NetTopologySuite specific extension methods for NpgsqlDbContextOptionsBuilder.

    public static class NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions

Inheritance
  object
  NpgsqlNetTopologySuiteDbContextOptionsBuilderExtensions

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## 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` NpgsqlDbContextOptionsBuilder
`coordinateSequenceFactory` CoordinateSequenceFactory
`precisionModel` PrecisionModel
`handleOrdinates` Ordinates
`geographyAsDefault` bool

#### Returns

NpgsqlDbContextOptionsBuilder

  The options builder so that further configuration can be chained.