CoreStrings.InvalidUseService(Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework