Table of Contents

Interface ICheckConstraint

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

Represents a check constraint on the entity type.

public interface ICheckConstraint : IReadOnlyCheckConstraint, IReadOnlyAnnotatable, IAnnotatable
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.

IEntityType EntityType { get; }

Property Value

IEntityType