IMutableEntityType.RemoveServiceProperty Method

Definition

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