Share via


CoreStrings.InvalidUseService(Object, Object, Object) Method

Definition

A call was made to '{useService}', but Entity Framework is not building its own internal service provider. Either allow Entity Framework to build the service provider by removing the call to '{useInternalServiceProvider}', or build the '{service}' services to use into the service provider before passing it to '{useInternalServiceProvider}'.

public static string InvalidUseService (object useService, object useInternalServiceProvider, object service);
public static string InvalidUseService (object? useService, object? useInternalServiceProvider, object? service);
static member InvalidUseService : obj * obj * obj -> string
Public Shared Function InvalidUseService (useService As Object, useInternalServiceProvider As Object, service As Object) As String

Parameters

useService
Object
useInternalServiceProvider
Object
service
Object

Returns

Applies to