语言

RelationalStrings.UniqueIndexOnComplexProperty(Object, Object, Object) 方法

定义

无法将实体类型“{entityType}”上的索引 {indexProperties} 配置为唯一,因为它包含复杂属性“{property}”。 复杂属性不支持唯一索引。

public static string UniqueIndexOnComplexProperty(object? indexProperties, object? entityType, object? property);
static member UniqueIndexOnComplexProperty : obj * obj * obj -> string
Public Shared Function UniqueIndexOnComplexProperty (indexProperties As Object, entityType As Object, property As Object) As String

参数

indexProperties
Object
entityType
Object
property
Object

返回

适用于