RelationalStrings.DuplicateCheckConstraint 方法

定义

重载

DuplicateCheckConstraint(Object, Object)

无法将检查约束“{checkConstraint}”添加到实体类型“{entityType}”,因为已存在另一个同名检查约束。

DuplicateCheckConstraint(Object, Object, Object)

无法将检查约束“{checkConstraint}”添加到实体类型“{entityType}”,因为实体类型“{conflictingEntityType}”上已存在同名的另一个检查约束。

DuplicateCheckConstraint(Object, Object)

无法将检查约束“{checkConstraint}”添加到实体类型“{entityType}”,因为已存在另一个同名检查约束。

public static string DuplicateCheckConstraint (object checkConstraint, object entityType);
static member DuplicateCheckConstraint : obj * obj -> string
Public Shared Function DuplicateCheckConstraint (checkConstraint As Object, entityType As Object) As String

参数

checkConstraint
Object
entityType
Object

返回

适用于

DuplicateCheckConstraint(Object, Object, Object)

无法将检查约束“{checkConstraint}”添加到实体类型“{entityType}”,因为实体类型“{conflictingEntityType}”上已存在同名的另一个检查约束。

public static string DuplicateCheckConstraint (object? checkConstraint, object? entityType, object? conflictingEntityType);
static member DuplicateCheckConstraint : obj * obj * obj -> string
Public Shared Function DuplicateCheckConstraint (checkConstraint As Object, entityType As Object, conflictingEntityType As Object) As String

参数

checkConstraint
Object
entityType
Object
conflictingEntityType
Object

返回

适用于