Table of Contents

Class EntityFrameworkNpgsqlServicesBuilder

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

A builder API designed for Npgsql when registering services.

public class EntityFrameworkNpgsqlServicesBuilder : EntityFrameworkRelationalServicesBuilder
Inheritance
EntityFrameworkNpgsqlServicesBuilder
Inherited Members

Constructors

EntityFrameworkNpgsqlServicesBuilder(IServiceCollection)

Used by relational database providers to create a new EntityFrameworkRelationalServicesBuilder for registration of provider services.

public EntityFrameworkNpgsqlServicesBuilder(IServiceCollection serviceCollection)

Parameters

serviceCollection IServiceCollection

The collection to which services will be registered.

Methods

TryGetServiceCharacteristics(Type)

Gets the ServiceCharacteristics for the given service type.

protected override ServiceCharacteristics? TryGetServiceCharacteristics(Type serviceType)

Parameters

serviceType Type

The type that defines the service API.

Returns

ServiceCharacteristics?

The ServiceCharacteristics for the type or null if it's not an EF service.