Table of Contents

Interface IMutableCheckConstraint

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents a check constraint on the entity type.

public interface IMutableCheckConstraint : IReadOnlyCheckConstraint, IReadOnlyAnnotatable, IMutableAnnotatable
Inherited Members

Remarks

See Database check constraints for more information and examples.

Properties

EntityType

Gets the entity type on which this check constraint is defined.

IMutableEntityType EntityType { get; }

Property Value

IMutableEntityType

Name

Gets or sets the name of the check constraint in the database.

string? Name { get; set; }

Property Value

string