CoreStrings.InvalidSetSharedType(Object) 方法

定义

无法为“{typeName}”创建 DbSet,因为它配置为共享类型实体类型。 通过接受实体类型名称的“Set”方法重载访问实体类型。

public static string InvalidSetSharedType (object typeName);
public static string InvalidSetSharedType (object? typeName);
static member InvalidSetSharedType : obj -> string
Public Shared Function InvalidSetSharedType (typeName As Object) As String

参数

typeName
Object

返回

适用于