Compartilhar via


RelationalStorageExtensions Classe

Definição

As funções convenienience funcionam com objetos do tipo IRelationalStorage.

public static class RelationalStorageExtensions
type RelationalStorageExtensions = class
Public Module RelationalStorageExtensions
Herança
RelationalStorageExtensions

Métodos

ExecuteAsync(IRelationalStorage, String, CancellationToken)

IRelationalStorage Usa com ReflectionSelector<TResult>(IDataRecord).

ExecuteAsync(IRelationalStorage, String, Object, CancellationToken)

IRelationalStorage Usa com ReflectionSelector<TResult>(IDataRecord).

ExecuteMultipleInsertIntoAsync<T>(IRelationalStorage, String, IEnumerable<T>, CancellationToken, IReadOnlyDictionary<String, String>, IEnumerable<String>, Boolean)

Executa uma cláusula de consulta de inserção de vários registros com SELECT UNION ALL.

GetStream(DbDataReader, Int32, IRelationalStorage)

Retorna uma implementação nativa de GetStream(Int32) para os provedores que dão suporte a ele. Caso contrário, retornará uma leitura chuncked usando GetBytes(Int32, Int64, Byte[], Int32, Int32).

ReadAsync<TResult>(IRelationalStorage, String, CancellationToken)

IRelationalStorage Usa com DbExtensions.ReflectionParameterProvider.

ReadAsync<TResult>(IRelationalStorage, String, Func<IDataRecord,TResult>, Action<IDbCommand>)

Uma versão simplificada do ReadAsync<TResult>(String, Action<IDbCommand>, Func<IDataRecord,Int32,CancellationToken,Task<TResult>>, CancellationToken, CommandBehavior)

ReadAsync<TResult>(IRelationalStorage, String, Object, CancellationToken)

IRelationalStorage Usa com ReflectionParameterProvider<T>(IDbCommand, T, IReadOnlyDictionary<String,String>).

Aplica-se a