Udostępnij za pośrednictwem


MutableEntityTypeExtensions.RemoveProperty(IMutableEntityType, String) Metoda

Definicja

Usuwa właściwość z tego typu jednostki.

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

Parametry

entityType
IMutableEntityType

Typ jednostki.

name
String

Nazwa właściwości do usunięcia.

Zwraca

Właściwość, która została usunięta.

Dotyczy