CoreStrings.InvalidUseService(Object, Object, Object) 方法

定义

已调用“{useService}”,但实体框架未生成自己的内部服务提供商。 允许实体框架通过删除对“{useInternalServiceProvider}”的调用来生成服务提供程序,或者在将“{service}”服务传递给“{useInternalServiceProvider}”之前,将“{service}”服务生成到服务提供程序中。

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

参数

useService
Object
useInternalServiceProvider
Object
service
Object

返回

适用于