共用方式為


TypedRelationalValueBufferFactoryFactory.Create 方法

定義

多載

Create(IReadOnlyList<TypeMaterializationInfo>)

建立新的 IRelationalValueBufferFactory

Create(IReadOnlyList<Type>, IReadOnlyList<Int32>)
已淘汰.

建立新的 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

參數

types
IReadOnlyList<TypeMaterializationInfo>

要讀取之值的類型和對應。

傳回

新建立的 IRelationalValueBufferFactoryFactory

實作

適用於

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

警告

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

參數

valueTypes
IReadOnlyList<Type>

要從值緩衝區傳回的數值型別。

indexMap
IReadOnlyList<Int32>

要從基礎結果集讀取之以零起始之索引的已排序清單 (亦即,此清單中的第一個數位是從值緩衝區要求值 0 時傳回的基礎結果集索引) 。

傳回

新建立的 IRelationalValueBufferFactoryFactory

實作

屬性

適用於