Table of Contents

Interface IDesignTimeServices

Namespace
Microsoft.EntityFrameworkCore.Design
Assembly
Microsoft.EntityFrameworkCore.dll

Enables configuring design-time services. Tools will automatically discover implementations of this interface that are in the startup assembly.

public interface IDesignTimeServices

Remarks

See Implementation of database providers and extensions for more information and examples.

Methods

ConfigureDesignTimeServices(IServiceCollection)

Configures design-time services. Use this method to override the default design-time services with your own implementations.

void ConfigureDesignTimeServices(IServiceCollection serviceCollection)

Parameters

serviceCollection IServiceCollection

The design-time service collection.