RelationalStrings.DuplicateCheckConstraint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework