CoreStrings.BadDependencyRegistration(Object) Method

Definition

The service dependencies type '{dependenciesType}' has been registered incorrectly in the service collection. Service dependencies types must only be registered by Entity Framework or database providers.

C#
public static string BadDependencyRegistration (object dependenciesType);
C#
public static string BadDependencyRegistration (object? dependenciesType);

Parameters

dependenciesType
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0