MutableEntityTypeExtensions.RemoveProperty(IMutableEntityType, String) Méthode

Définition

Supprime une propriété de ce type d’entité.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty RemoveProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
static member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function RemoveProperty (entityType As IMutableEntityType, name As String) As IMutableProperty

Paramètres

entityType
IMutableEntityType

Type d'entité.

name
String

Nom de la propriété à supprimer.

Retours

Propriété supprimée.

S’applique à