Share via


RelationalEntityTypeExtensions.GetCheckConstraints Metoda

Definice

Přetížení

GetCheckConstraints(IReadOnlyEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

GetCheckConstraints(IMutableEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

GetCheckConstraints(IConventionEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

GetCheckConstraints(IEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

GetCheckConstraints(IReadOnlyEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint> GetCheckConstraints (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetCheckConstraints : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyCheckConstraint>
<Extension()>
Public Function GetCheckConstraints (entityType As IReadOnlyEntityType) As IEnumerable(Of IReadOnlyCheckConstraint)

Parametry

entityType
IReadOnlyEntityType

Typ entity, pro který chcete získat omezení kontroly.

Návraty

Platí pro

GetCheckConstraints(IMutableEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableCheckConstraint> GetCheckConstraints (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetCheckConstraints : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableCheckConstraint>
<Extension()>
Public Function GetCheckConstraints (entityType As IMutableEntityType) As IEnumerable(Of IMutableCheckConstraint)

Parametry

entityType
IMutableEntityType

Typ entity, pro který chcete získat omezení kontroly.

Návraty

Platí pro

GetCheckConstraints(IConventionEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionCheckConstraint> GetCheckConstraints (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetCheckConstraints : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionCheckConstraint>
<Extension()>
Public Function GetCheckConstraints (entityType As IConventionEntityType) As IEnumerable(Of IConventionCheckConstraint)

Parametry

entityType
IConventionEntityType

Typ entity, pro který chcete získat omezení kontroly.

Návraty

Platí pro

GetCheckConstraints(IEntityType)

Vrátí všechna omezení kontroly obsažená v typu entity.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint> GetCheckConstraints (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetCheckConstraints : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint>
<Extension()>
Public Function GetCheckConstraints (entityType As IEntityType) As IEnumerable(Of ICheckConstraint)

Parametry

entityType
IEntityType

Typ entity, pro který chcete získat omezení kontroly.

Návraty

Platí pro