Table of Contents

Class NpgsqlNetTopologySuiteServiceCollectionExtensions

Namespace
Microsoft.Extensions.DependencyInjection
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll

Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite extension methods for IServiceCollection.

public static class NpgsqlNetTopologySuiteServiceCollectionExtensions
Inheritance
NpgsqlNetTopologySuiteServiceCollectionExtensions
Inherited Members

Methods

AddEntityFrameworkNpgsqlNetTopologySuite(IServiceCollection)

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

public static IServiceCollection AddEntityFrameworkNpgsqlNetTopologySuite(this IServiceCollection serviceCollection)

Parameters

serviceCollection IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

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