Language

IUpdateAdapter.CreateEntry メソッド

定義

オーバーロード

Name 説明
CreateEntry(IDictionary<String,Object>, IEntityType)
古い.

指定したエンティティ型の指定されたプロパティ値を持つ新しいエントリを作成します。

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

指定したエンティティ型の指定されたプロパティ値を持つ新しいエントリを作成します。

CreateEntry(IDictionary<String,Object>, IEntityType)

ソース:
IUpdateAdapter.cs
ソース:
IUpdateAdapter.cs
ソース:
IUpdateAdapter.cs
ソース:
IUpdateAdapter.cs
ソース:
IUpdateAdapter.cs

注意事項

Use the overload that accepts a dictionary keyed by IProperty instead.

指定したエンティティ型の指定されたプロパティ値を持つ新しいエントリを作成します。

public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use the overload that accepts a dictionary keyed by IProperty instead.")]
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member CreateEntry : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
[<System.Obsolete("Use the overload that accepts a dictionary keyed by IProperty instead.")>]
abstract member CreateEntry : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function CreateEntry (values As IDictionary(Of String, Object), entityType As IEntityType) As IUpdateEntry

パラメーター

values
IDictionary<String,Object>

値に対するプロパティ名のディクショナリ。

entityType
IEntityType

エンティティ型。

戻り値

作成されたエントリ。

属性

適用対象

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

ソース:
IUpdateAdapter.cs

指定したエンティティ型の指定されたプロパティ値を持つ新しいエントリを作成します。

public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member CreateEntry : System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function CreateEntry (values As IReadOnlyDictionary(Of IProperty, Object), entityType As IEntityType) As IUpdateEntry

パラメーター

values
IReadOnlyDictionary<IProperty,Object>

値に対するプロパティのディクショナリ。

entityType
IEntityType

エンティティ型。

戻り値

作成されたエントリ。

注釈

名前ではなく IProperty キーを設定すると、同じ複合型を共有する複数の複合プロパティに個別の値を指定できます。 このオーバーロードでは、複雑なコレクションはサポートされていません。

適用対象