IMutableEntityType.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.IMutableServiceProperty? RemoveServiceProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty property);
abstract member RemoveServiceProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyServiceProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty
Public Function RemoveServiceProperty (property As IReadOnlyServiceProperty) As IMutableServiceProperty
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.IMutableServiceProperty RemoveServiceProperty (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty? RemoveServiceProperty (string name);
abstract member RemoveServiceProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty
Public Function RemoveServiceProperty (name As String) As IMutableServiceProperty
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