MaterializationContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for