# Class NpgsqlNodaTimeDbContextOptionsBuilderExtensions

Namespace
  Microsoft.EntityFrameworkCore

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime.dll

NodaTime specific extension methods for NpgsqlDbContextOptionsBuilder.

    public static class NpgsqlNodaTimeDbContextOptionsBuilderExtensions

Inheritance
  object
  NpgsqlNodaTimeDbContextOptionsBuilderExtensions

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

## Methods

### UseNodaTime(NpgsqlDbContextOptionsBuilder)

Configure NodaTime type mappings for Entity Framework.

    public static NpgsqlDbContextOptionsBuilder UseNodaTime(this NpgsqlDbContextOptionsBuilder optionsBuilder)

#### Parameters

`optionsBuilder` NpgsqlDbContextOptionsBuilder

#### Returns

NpgsqlDbContextOptionsBuilder

  The options builder so that further configuration can be chained.