Udostępnij za pośrednictwem


RelationalEntityTypeExtensions.RemoveCheckConstraint Metoda

Definicja

Przeciążenia

RemoveCheckConstraint(IMutableEntityType, String)

Usuwa element ICheckConstraint o podanej nazwie.

RemoveCheckConstraint(IConventionEntityType, String)

Usuwa element IConventionCheckConstraint o podanej nazwie.

RemoveCheckConstraint(IMutableEntityType, String)

Usuwa element ICheckConstraint o podanej nazwie.

public static bool RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableCheckConstraint RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableCheckConstraint? RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
static member RemoveCheckConstraint : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> bool
static member RemoveCheckConstraint : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableCheckConstraint
<Extension()>
Public Function RemoveCheckConstraint (entityType As IMutableEntityType, name As String) As Boolean
<Extension()>
Public Function RemoveCheckConstraint (entityType As IMutableEntityType, name As String) As IMutableCheckConstraint

Parametry

entityType
IMutableEntityType

Typ jednostki do usunięcia ograniczenia sprawdzania.

name
String

Nazwa ograniczenia sprawdzania, która ma zostać usunięta.

Zwraca

Usunięto ograniczenie sprawdzania.

Dotyczy

RemoveCheckConstraint(IConventionEntityType, String)

Usuwa element IConventionCheckConstraint o podanej nazwie.

public static bool RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionCheckConstraint RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionCheckConstraint? RemoveCheckConstraint (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string name);
static member RemoveCheckConstraint : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string -> bool
static member RemoveCheckConstraint : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionCheckConstraint
<Extension()>
Public Function RemoveCheckConstraint (entityType As IConventionEntityType, name As String) As Boolean
<Extension()>
Public Function RemoveCheckConstraint (entityType As IConventionEntityType, name As String) As IConventionCheckConstraint

Parametry

entityType
IConventionEntityType

Typ jednostki do usunięcia ograniczenia sprawdzania.

name
String

Nazwa ograniczenia sprawdzania.

Zwraca

Usunięto ograniczenie sprawdzania.

Dotyczy