Share via


RelationalStrings.DuplicateCheckConstraint Method

Definition

Overloads

DuplicateCheckConstraint(Object, Object)

The check constraint '{checkConstraint}' cannot be added to the entity type '{entityType}' because another check constraint with the same name already exists.

DuplicateCheckConstraint(Object, Object, Object)

The check constraint '{checkConstraint}' cannot be added to the entity type '{entityType}' because another check constraint with the same name already exists on entity type '{conflictingEntityType}'.

DuplicateCheckConstraint(Object, Object)

The check constraint '{checkConstraint}' cannot be added to the entity type '{entityType}' because another check constraint with the same name already exists.

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

Parameters

checkConstraint
Object
entityType
Object

Returns

Applies to

DuplicateCheckConstraint(Object, Object, Object)

The check constraint '{checkConstraint}' cannot be added to the entity type '{entityType}' because another check constraint with the same name already exists on entity type '{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

Parameters

checkConstraint
Object
entityType
Object
conflictingEntityType
Object

Returns

Applies to