IRelationalValueBufferFactoryFactory.Create 方法

定义

重载

Create(IReadOnlyList<TypeMaterializationInfo>)

创建一个新的 IRelationalValueBufferFactory

Create(IReadOnlyList<Type>, IReadOnlyList<Int32>)
已过时.

创建一个新的 IRelationalValueBufferFactory

Create(IReadOnlyList<TypeMaterializationInfo>)

创建一个新的 IRelationalValueBufferFactory

public 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
Public Function Create (types As IReadOnlyList(Of TypeMaterializationInfo)) As IRelationalValueBufferFactory

参数

types
IReadOnlyList<TypeMaterializationInfo>

要读取的值的类型和映射。

返回

新创建的 IRelationalValueBufferFactoryFactory

适用于

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

注意

Use Create(IReadOnlyList<TypeMaterializationInfo>).

创建一个新的 IRelationalValueBufferFactory

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

参数

valueTypes
IReadOnlyList<Type>

要从值缓冲区返回的值的类型。

indexMap
IReadOnlyList<Int32>

要从基础结果集 (读取的从零开始的索引的有序列表,即此列表中的第一个数字是从值缓冲区) 请求值 0 时将返回的基础结果集的索引。

返回

新创建的 IRelationalValueBufferFactoryFactory

属性

适用于