UntypedRelationalValueBufferFactoryFactory UntypedRelationalValueBufferFactoryFactory Class

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 the untyped System.Data.Common.DbDataReader.GetValues(System.Object[]) API to read back individual values from the underlying System.Data.Common.DbDataReader.

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

Syntax

Declaration

public class UntypedRelationalValueBufferFactoryFactory : IRelationalValueBufferFactoryFactoryPublic Class UntypedRelationalValueBufferFactoryFactory
    Implements IRelationalValueBufferFactoryFactory

Inheritance Hierarchy

  • System.Object
    System.Object
  • UntypedRelationalValueBufferFactoryFactory
    UntypedRelationalValueBufferFactoryFactory

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Creates a new IRelationalValueBufferFactory.

Methods

  • Create(IReadOnlyList<Type>, IReadOnlyList<Int32>)
    Create(IReadOnlyList(Of Type), IReadOnlyList(Of Int32))

    Creates a new IRelationalValueBufferFactory.

    public virtual IRelationalValueBufferFactory Create(IReadOnlyList<Type> valueTypes, IReadOnlyList<int> indexMap)Public Overridable Function Create(valueTypes As IReadOnlyList(Of Type), indexMap As IReadOnlyList(Of Integer)) As IRelationalValueBufferFactory

    Parameters

    • valueTypes
      System.Collections.Generic.IReadOnlyList<T><System.Type>
      System.Collections.Generic.IReadOnlyList<T>(Of System.Type)

      The types of values to be returned from the value buffer.

    • indexMap
      System.Collections.Generic.IReadOnlyList<T><System.Int32>
      System.Collections.Generic.IReadOnlyList<T>(Of System.Int32)

      An ordered list of zero-based indexes to be read from the underlying result set (i.e. the first number in this list is the index of the underlying result set that will be returned when value 0 is requested from the value buffer).

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll