次の方法で共有


IConventionEntityType.RemoveServiceProperty メソッド

定義

オーバーロード

RemoveServiceProperty(IReadOnlyServiceProperty)

このエンティティ型からサービス プロパティを削除します。

RemoveServiceProperty(String)

このエンティティ型からサービス プロパティを削除します。

RemoveServiceProperty(IReadOnlyServiceProperty)

このエンティティ型からサービス プロパティを削除します。

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

パラメーター

property
IReadOnlyServiceProperty

削除するプロパティ。

戻り値

削除されたプロパティ。プロパティ null が見つからなかった場合は 。

適用対象

RemoveServiceProperty(String)

このエンティティ型からサービス プロパティを削除します。

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

パラメーター

name
String

削除するプロパティの名前。

戻り値

削除されたプロパティ、または null プロパティが見つからなかった場合は 。

適用対象