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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework