Interface IRelationalValueBufferFactory
- Namespace
- Microsoft.EntityFrameworkCore.Storage
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Creates instances of the Microsoft.EntityFrameworkCore.Storage.ValueBuffer type. An IRelationalValueBufferFactory is tied to a particular result shape and will only create value buffers for that result shape. Instances for different result shapes are created by IRelationalValueBufferFactoryFactory.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IRelationalValueBufferFactory
Methods
Create(DbDataReader)
Creates a value buffer for the given DbDataReader.
ValueBuffer Create(DbDataReader dataReader)
Parameters
dataReader
DbDataReaderThe reader to create a value buffer for.
Returns
- ValueBuffer
The newly created value buffer.