IMutableEntityType.RemoveProperty Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für