# Class NpgsqlNetTopologySuiteSingletonOptions

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.Internal

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

    public class NpgsqlNetTopologySuiteSingletonOptions : INpgsqlNetTopologySuiteSingletonOptions, ISingletonOptions

Inheritance
  object
  NpgsqlNetTopologySuiteSingletonOptions

Implements
  INpgsqlNetTopologySuiteSingletonOptions
  ISingletonOptions

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

## Properties

### CoordinateSequenceFactory

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    public virtual CoordinateSequenceFactory? CoordinateSequenceFactory { get; set; }

#### Property Value

CoordinateSequenceFactory

### HandleOrdinates

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    public virtual Ordinates HandleOrdinates { get; set; }

#### Property Value

Ordinates

### IsGeographyDefault

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    public virtual bool IsGeographyDefault { get; set; }

#### Property Value

bool

### PrecisionModel

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    public virtual PrecisionModel? PrecisionModel { get; set; }

#### Property Value

PrecisionModel

## Methods

### Initialize(IDbContextOptions)

Initializes the singleton options from the given IDbContextOptions.

    public virtual void Initialize(IDbContextOptions options)

#### Parameters

`options` IDbContextOptions

### Validate(IDbContextOptions)

Validates that the options in given IDbContextOptions have not changed when compared to the options already set here, and throws if they have.

    public virtual void Validate(IDbContextOptions options)

#### Parameters

`options` IDbContextOptions