Class NpgsqlNetTopologySuiteServiceCollectionExtensions
Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite extension methods for
Inheritance
object
NpgsqlNetTopologySuiteServiceCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll
Syntax
public static class NpgsqlNetTopologySuiteServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddEntityFrameworkNpgsqlNetTopologySuite(IServiceCollection)
Adds the services required for NetTopologySuite support in the Npgsql provider for Entity Framework.
Declaration
public static IServiceCollection AddEntityFrameworkNpgsqlNetTopologySuite(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. |