Share via


MaterializationContext Constructors

Definition

Overloads

MaterializationContext(ValueBuffer)
Obsolete.

Creates a new MaterializationContext instance.

MaterializationContext(ValueBuffer, DbContext)

Creates a new MaterializationContext instance.

MaterializationContext(ValueBuffer)

Caution

Use the constructor with the most parameters.

Creates a new MaterializationContext instance.

[System.Obsolete("Use the constructor with the most parameters.")]
public MaterializationContext (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer);
[<System.Obsolete("Use the constructor with the most parameters.")>]
new Microsoft.EntityFrameworkCore.Storage.MaterializationContext : Microsoft.EntityFrameworkCore.Storage.ValueBuffer -> Microsoft.EntityFrameworkCore.Storage.MaterializationContext
Public Sub New (valueBuffer As ValueBuffer)

Parameters

valueBuffer
ValueBuffer

The ValueBuffer to use to materialize an entity.

Attributes

Applies to

MaterializationContext(ValueBuffer, DbContext)

Creates a new MaterializationContext instance.

public MaterializationContext (in Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer, Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.Storage.MaterializationContext : ValueBuffer * Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.Storage.MaterializationContext
Public Sub New (ByRef valueBuffer As ValueBuffer, context As DbContext)

Parameters

valueBuffer
ValueBuffer

The ValueBuffer to use to materialize an entity.

context
DbContext

The current DbContext instance being used.

Applies to