Table of Contents

Interface IRelationalValueBufferFactoryFactory

Namespace
Microsoft.EntityFrameworkCore.Storage
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Creates instances of the IRelationalValueBufferFactory type. IRelationalValueBufferFactory instances are tied to a specific result shape. This factory is responsible for creating the IRelationalValueBufferFactory for a given result shape.

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

The service lifetime is Singleton. This means a single instance is used by many Microsoft.EntityFrameworkCore.DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

public interface IRelationalValueBufferFactoryFactory

Methods

Create(IReadOnlyList<TypeMaterializationInfo>)

IRelationalValueBufferFactory Create(IReadOnlyList<TypeMaterializationInfo> types)

Parameters

types IReadOnlyList<TypeMaterializationInfo>

Types and mapping for the values to be read.

Returns

IRelationalValueBufferFactory

The newly created IRelationalValueBufferFactoryFactory.