# Class NpgsqlNetTopologySuiteOptions

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 NpgsqlNetTopologySuiteOptions : INpgsqlNetTopologySuiteOptions, ISingletonOptions

Inheritance
  object
  NpgsqlNetTopologySuiteOptions

Implements
  INpgsqlNetTopologySuiteOptions
  ISingletonOptions

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

## Properties

### IsGeographyDefault

True if geography is to be used by default instead of geometry

    public virtual bool IsGeographyDefault { get; set; }

#### Property Value

bool

## 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