Search Results for

    Show / Hide Table of Contents

    Class NpgsqlNodaTimeServiceCollectionExtensions

    Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime extension methods for .

    Inheritance
    object
    NpgsqlNodaTimeServiceCollectionExtensions
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime.dll
    Syntax
    public static class NpgsqlNodaTimeServiceCollectionExtensions

    Methods

    | Improve this Doc View Source

    AddEntityFrameworkNpgsqlNodaTime(IServiceCollection)

    Adds the services required for NodaTime support in the Npgsql provider for Entity Framework.

    Declaration
    public static IServiceCollection AddEntityFrameworkNpgsqlNodaTime(this IServiceCollection serviceCollection)
    Parameters
    Type Name Description
    IServiceCollection serviceCollection

    The to add services to.

    Returns
    Type Description
    IServiceCollection

    The same service collection so that multiple calls can be chained.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team