Share via


TypedRelationalValueBufferFactoryFactory.Create Method

Definition

Overloads

Create(IReadOnlyList<TypeMaterializationInfo>)

Creates a new IRelationalValueBufferFactory.

Create(IReadOnlyList<Type>, IReadOnlyList<Int32>)
Obsolete.

Creates a new IRelationalValueBufferFactory.

Create(IReadOnlyList<TypeMaterializationInfo>)

public virtual Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory Create (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo> types);
abstract member Create : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
override this.Create : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
Public Overridable Function Create (types As IReadOnlyList(Of TypeMaterializationInfo)) As IRelationalValueBufferFactory

Parameters

types
IReadOnlyList<TypeMaterializationInfo>

Types and mapping for the values to be read.

Returns

The newly created IRelationalValueBufferFactoryFactory.

Implements

Applies to

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

Caution

Use Create(IReadOnlyList<TypeMaterializationInfo>).

public virtual Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory Create (System.Collections.Generic.IReadOnlyList<Type> valueTypes, System.Collections.Generic.IReadOnlyList<int> indexMap);
[System.Obsolete("Use Create(IReadOnlyList<TypeMaterializationInfo>).")]
public virtual Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory Create (System.Collections.Generic.IReadOnlyList<Type> valueTypes, System.Collections.Generic.IReadOnlyList<int> indexMap);
abstract member Create : System.Collections.Generic.IReadOnlyList<Type> * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
override this.Create : System.Collections.Generic.IReadOnlyList<Type> * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
[<System.Obsolete("Use Create(IReadOnlyList<TypeMaterializationInfo>).")>]
abstract member Create : System.Collections.Generic.IReadOnlyList<Type> * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
override this.Create : System.Collections.Generic.IReadOnlyList<Type> * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactory
Public Overridable Function Create (valueTypes As IReadOnlyList(Of Type), indexMap As IReadOnlyList(Of Integer)) As IRelationalValueBufferFactory

Parameters

valueTypes
IReadOnlyList<Type>

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

indexMap
IReadOnlyList<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

The newly created IRelationalValueBufferFactoryFactory.

Implements

Attributes

Applies to