UntypedRelationalValueBufferFactoryFactory UntypedRelationalValueBufferFactoryFactory Class

Definition

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.

public class UntypedRelationalValueBufferFactoryFactory : IRelationalValueBufferFactoryFactory
Public Class UntypedRelationalValueBufferFactoryFactory
    Implements IRelationalValueBufferFactoryFactory
Inheritance
System.ObjectSystem.Object
UntypedRelationalValueBufferFactoryFactoryUntypedRelationalValueBufferFactoryFactory
Implements

Methods

Create(IReadOnlyList, IReadOnlyList) 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<System.Type> System.Collections.Generic.IReadOnlyList(Of System.Type)

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

indexMap
System.Collections.Generic.IReadOnlyList<System.Int32> System.Collections.Generic.IReadOnlyList(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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object