API Diff between 1.0.3 and 0.3.12
18 Additions
6 Removals
StoredProcedureEFCore
-
public static class DbDataReaderExtension
- public static Task<List<T>> ColumnAsync<T>(this DbDataReader reader, CancellationToken cancellationToken) where T : IComparable
- public static Task<List<T>> ColumnAsync<T>(this DbDataReader reader, string columnName, CancellationToken cancellationToken) where T : IComparable
- public static Task<List<T>> ColumnAsync<T>(this DbDataReader reader, int ordinal, CancellationToken cancellationToken) where T : IComparable
- public static Task<T> FirstAsync<T>(this DbDataReader reader, CancellationToken cancellationToken)
- public static Task<T> FirstOrDefaultAsync<T>(this DbDataReader reader, CancellationToken cancellationToken)
- public static Task<T> SingleAsync<T>(this DbDataReader reader, CancellationToken cancellationToken)
- public static Task<T> SingleOrDefaultAsync<T>(this DbDataReader reader, CancellationToken cancellationToken)
- public static Task<Dictionary<TKey, TValue>> ToDictionaryAsync<TKey, TValue>(this DbDataReader reader, Func<TValue, TKey> keyProjection, CancellationToken cancellationToken) where TKey : IComparable
- public static Task<List<T>> ToListAsync<T>(this DbDataReader reader, CancellationToken cancellationToken)
- public static Task<Dictionary<TKey, List<TValue>>> ToLookupAsync<TKey, TValue>(this DbDataReader reader, Func<TValue, TKey> keyProjection, CancellationToken cancellationToken) where TKey : IComparable
- public static Task<HashSet<T>> ToSetAsync<T>(this DbDataReader reader, CancellationToken cancellationToken) where T : IComparable
-
public interface IStoredProcBuilder : IDisposable
- IStoredProcBuilder <T>(string name, T val, out IOutParam outParam, ParamExtra extra)
- IStoredProcBuilder AddParam<T>(string name, T val, out IOutParam outParam, int size = 0, byte precision = 0, byte scale = 0)
- IStoredProcBuilder <T>(string name, out IOutParam outParam, ParamExtra extra)
- IStoredProcBuilder AddParam<T>(string name, out IOutParam outParam, int size = 0, byte precision = 0, byte scale = 0)
- void ExecNonQuery()
- Task ExecNonQueryAsync()
- Task ExecAsync(Func<DbDataReader, Task> action, CancellationToken cancellationToken)
- int ExecNonQuery()
- Task<int> ExecNonQueryAsync()
- Task<int> ExecNonQueryAsync(CancellationToken cancellationToken)
- Task ExecScalarAsync<T>(Action<T> action, CancellationToken cancellationToken)
- IStoredProcBuilder <T>(out IOutParam retParam, ParamExtra extra)
-
public class