次の方法で共有


IMutableEntityType.RemoveKey メソッド

定義

オーバーロード

RemoveKey(IMutableKey)

このエンティティ型から主キーまたは代替キーを削除します。

RemoveKey(IReadOnlyKey)

このエンティティ型から主キーまたは代替キーを削除します。

RemoveKey(IReadOnlyList<IProperty>)

このエンティティから主キーまたは代替キーを削除します。

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

このエンティティ型から主キーまたは代替キーを削除します。

RemoveKey(IMutableKey)

このエンティティ型から主キーまたは代替キーを削除します。

public void RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
public Microsoft.EntityFrameworkCore.Metadata.IMutableKey RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> unit
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Sub RemoveKey (key As IMutableKey)
Public Function RemoveKey (key As IMutableKey) As IMutableKey

パラメーター

key
IMutableKey

削除するキー。

戻り値

削除されたキー。

適用対象

RemoveKey(IReadOnlyKey)

このエンティティ型から主キーまたは代替キーを削除します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey? RemoveKey (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey key);
abstract member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (key As IReadOnlyKey) As IMutableKey

パラメーター

key
IReadOnlyKey

削除するキー。

戻り値

削除されたキー。キー null が見つからなかった場合は 。

適用対象

RemoveKey(IReadOnlyList<IProperty>)

このエンティティから主キーまたは代替キーを削除します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey RemoveKey (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member RemoveKey : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (properties As IReadOnlyList(Of IProperty)) As IMutableKey

パラメーター

properties
IReadOnlyList<IProperty>

キーを構成するプロパティ。

戻り値

削除されたキー。

適用対象

RemoveKey(IReadOnlyList<IReadOnlyProperty>)

このエンティティ型から主キーまたは代替キーを削除します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableKey? RemoveKey (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member RemoveKey : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableKey
Public Function RemoveKey (properties As IReadOnlyList(Of IReadOnlyProperty)) As IMutableKey

パラメーター

properties
IReadOnlyList<IReadOnlyProperty>

キーを構成するプロパティ。

戻り値

削除されたキー。キー null が見つからなかった場合は 。

適用対象