Share via


CoreStrings.InvalidReplaceService(Object, Object) Method

Definition

A call was made to '{replaceService}', 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 replacement services into the service provider before passing it to '{useInternalServiceProvider}'.

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

Parameters

replaceService
Object
useInternalServiceProvider
Object

Returns

Applies to