IConventionEntityType.RemoveServiceProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveServiceProperty(IReadOnlyServiceProperty) |
Removes a service property from this entity type. |
RemoveServiceProperty(String) |
Removes a service property from this entity type. |
RemoveServiceProperty(IReadOnlyServiceProperty)
Removes a service property from this entity type.
public Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty? RemoveServiceProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty property);
abstract member RemoveServiceProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty
Public Function RemoveServiceProperty (property As IReadOnlyServiceProperty) As IConventionServiceProperty
Parameters
- property
- IReadOnlyServiceProperty
The property to remove.
Returns
The removed property, or null
if the property was not found.
Applies to
RemoveServiceProperty(String)
Removes a service property from this entity type.
public Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty RemoveServiceProperty (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty? RemoveServiceProperty (string name);
abstract member RemoveServiceProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty
Public Function RemoveServiceProperty (name As String) As IConventionServiceProperty
Parameters
- name
- String
The name of the property to remove.
Returns
The property that was removed, or null
if the property was not found.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor