TypedRelationalValueBufferFactoryFactory Class
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.
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 factory results in value buffers that use they strongly typed APIs to read back individual values from the underlying DbDataReader.
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 DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
public class TypedRelationalValueBufferFactoryFactory : Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory
type TypedRelationalValueBufferFactoryFactory = class
interface IRelationalValueBufferFactoryFactory
Public Class TypedRelationalValueBufferFactoryFactory
Implements IRelationalValueBufferFactoryFactory
- Inheritance
-
TypedRelationalValueBufferFactoryFactory
- Implements
Remarks
See Implementation of database providers and extensions for more information.
Constructors
TypedRelationalValueBufferFactoryFactory() | |
TypedRelationalValueBufferFactoryFactory(RelationalValueBufferFactoryDependencies) |
Initializes a new instance of the TypedRelationalValueBufferFactoryFactory class. |
Fields
DataReaderParameter |
The parameter representing the DbDataReader in generated expressions. |
Properties
Dependencies |
Relational provider-specific dependencies for this service. |
Methods
Create(IReadOnlyList<Type>, IReadOnlyList<Int32>) |
Obsolete.
Creates a new IRelationalValueBufferFactory. |
Create(IReadOnlyList<TypeMaterializationInfo>) |
Creates a new IRelationalValueBufferFactory. |
CreateAssignmentExpressions(IReadOnlyList<TypeMaterializationInfo>) |
Obsolete.
Creates value buffer assignment expressions for the given type information. |
Applies to
Entity Framework