CoreStrings.ConflictingKeylessAndPrimaryKeyAttributes(Object) 方法

定义

实体类型“{entity}”同时具有 [Keyless] 和 [PrimaryKey] 属性;必须删除一个。

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

参数

entity
Object

返回

适用于