อ่านในภาษาอังกฤษ

แชร์ผ่าน


MaterializationContext Struct

Definition

Parameter object containing context needed for materialization of an entity.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

C#
public readonly struct MaterializationContext
C#
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct MaterializationContext
Inheritance
MaterializationContext
Attributes

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

Fields

GetValueBufferMethod

The MethodInfo for the ValueBuffer get method.

Properties

Context

The current DbContext instance being used.

ValueBuffer

The ValueBuffer to use to materialize an entity.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0