언어

IUpdateAdapter.CreateEntry 메서드

정의

오버로드

속성 Description
CreateEntry(IDictionary<String,Object>, IEntityType)
사용되지 않음.

지정된 엔터티 형식에 대해 지정된 속성 값을 사용하여 새 항목을 만듭니다.

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

지정된 엔터티 형식에 대해 지정된 속성 값을 사용하여 새 항목을 만듭니다.

CreateEntry(IDictionary<String,Object>, IEntityType)

Source:
IUpdateAdapter.cs
Source:
IUpdateAdapter.cs
Source:
IUpdateAdapter.cs
Source:
IUpdateAdapter.cs
Source:
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)

Source:
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 키 지정하면 동일한 복합 형식을 공유하는 여러 복합 속성에 고유한 값을 제공할 수 있습니다. 복잡한 컬렉션은 이 오버로드에서 지원되지 않습니다.

적용 대상