DesignTimeProviderServicesAttribute(String, String, String) Constructor

Definition

Initializes a new instance of the DesignTimeProviderServicesAttribute class.

public DesignTimeProviderServicesAttribute (string typeName, string assemblyName, string packageName);
new Microsoft.EntityFrameworkCore.Infrastructure.DesignTimeProviderServicesAttribute : string * string * string -> Microsoft.EntityFrameworkCore.Infrastructure.DesignTimeProviderServicesAttribute
Public Sub New (typeName As String, assemblyName As String, packageName As String)

Parameters

typeName
String

The name of the type that can be used to add the database providers design time services to a ServiceCollection. This type should contain a method with the following signature public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection).

assemblyName
String

The name of the assembly that contains the design time services.

packageName
String

The NuGet package name that contains the design time services.

Applies to