Share via


CoreStrings.SingletonOptionChanged(Object, Object) Method

Definition

A call was made to '{optionCall}' that changed an option that must be constant within a service provider, 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 ensure that the configuration for '{optionCall}' does not change for all uses of a given service provider passed to '{useInternalServiceProvider}'.

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

Parameters

optionCall
Object
useInternalServiceProvider
Object

Returns

Applies to