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 SourceAddEntityFrameworkNpgsqlNodaTime(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 |
Returns
Type | Description |
---|---|
IServiceCollection | The same service collection so that multiple calls can be chained. |