IMutableEntityType.RemoveProperty Methode

Definition

Überlädt

RemoveProperty(String)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

RemoveProperty(IReadOnlyProperty)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

RemoveProperty(IMutableProperty)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

RemoveProperty(String)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty RemoveProperty (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (string name);
abstract member RemoveProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (name As String) As IMutableProperty

Parameter

name
String

Der Name der zu entfernenden Eigenschaft.

Gibt zurück

Die entfernte Eigenschaft, oder null , wenn die Eigenschaft nicht gefunden wurde.

Gilt für:

RemoveProperty(IReadOnlyProperty)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (property As IReadOnlyProperty) As IMutableProperty

Parameter

property
IReadOnlyProperty

Die zu entfernende Eigenschaft.

Gibt zurück

Die entfernte Eigenschaft, oder null , wenn die Eigenschaft nicht gefunden wurde.

Gilt für:

RemoveProperty(IMutableProperty)

Entfernt eine Eigenschaft aus diesem Entitätstyp.

public void RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> unit
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Sub RemoveProperty (property As IMutableProperty)
Public Function RemoveProperty (property As IMutableProperty) As IMutableProperty

Parameter

property
IMutableProperty

Die zu entfernende Eigenschaft.

Gibt zurück

Die entfernte Eigenschaft.

Gilt für: