Sprache

MaterializationContext Struktur

Definition

Parameterobjekt mit Kontext, der für die Materialisierung einer Entität erforderlich ist.

Dieser Typ wird in der Regel von Datenbankanbietern (und anderen Erweiterungen) verwendet. Sie wird in der Regel nicht im Anwendungscode verwendet.

[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct MaterializationContext
public readonly struct MaterializationContext
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct MaterializationContext
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type MaterializationContext = struct
type MaterializationContext = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type MaterializationContext = struct
Public Structure MaterializationContext
Vererbung
MaterializationContext
Attribute

Hinweise

Weitere Informationen und Beispiele finden Sie unter Implementierung von Datenbankanbietern und Erweiterungen .

Konstruktoren

Name Beschreibung
MaterializationContext(ValueBuffer, DbContext)

Erstellt eine neue MaterializationContext-Instanz.

MaterializationContext(ValueBuffer)
Veraltet.

Erstellt eine neue MaterializationContext-Instanz.

Felder

Name Beschreibung
GetValueBufferMethod

Die MethodInfo für die ValueBuffer Get-Methode.

Eigenschaften

Name Beschreibung
Context

Die aktuelle DbContext Instanz, die verwendet wird.

ValueBuffer

The ValueBuffer to use to materialize an entity.

Gilt für: