API Diff between 1.3.1 and 1.0.4
69 Additions
28 Removals
SecurityDriven.TinyORM
-
public sealed class DbContext
- public int BatchSize
- public int BatchSize { get; set; }
- public static DbContext CreateDbContext(string connectionString)
- public static QueryBatch CreateQueryBatch()
- public static QueryBatch CreateQueryBatch(IEnumerable<QueryBatch> queryBatchList)
- public static DbContext Create(string connectionString)
- public Task<IReadOnlyList<object>> QueryAsync<TParamType>(string sql, TParamType param, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<IReadOnlyList<object>> QueryAsync(string sql, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<IReadOnlyList<object>> QueryAsync(QueryInfo queryInfo, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<IReadOnlyList<IReadOnlyList<object>>> QueryMultipleAsync<TParamType>(string sql, TParamType param, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<IReadOnlyList<IReadOnlyList<object>>> QueryMultipleAsync(string sql, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<IReadOnlyList<IReadOnlyList<object>>> QueryMultipleAsync(QueryInfo queryInfo, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task SequentialReaderAsync<TParamType>(string sql, TParamType param, Func<SqlDataReader, CancellationToken, Task> actionAsync, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task SequentialReaderAsync(string sql, Func<SqlDataReader, CancellationToken, Task> actionAsync, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public void SetCallerIdentityDelegate(Func<CallerIdentity> newCallerIdentityDelegate)
- public Task<List<T>> InternalQueryAsync<TParamType, T>(string sql, TParamType param, Func<T> entityFactory, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<RowStore>> QueryAsync<TParamType>(string sql, TParamType param, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<RowStore>> QueryAsync(string sql, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<RowStore>> QueryAsync(QueryInfo queryInfo, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<T>> QueryAsync<TParamType, T>(string sql, TParamType param, Func<T> entityFactory, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<T>> QueryAsync<T>(string sql, Func<T> entityFactory, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<T>> QueryAsync<T>(QueryInfo queryInfo, Func<T> entityFactory, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<List<RowStore>>> QueryMultipleAsync<TParamType>(string sql, TParamType param, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<List<RowStore>>> QueryMultipleAsync(string sql, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<List<List<RowStore>>> QueryMultipleAsync(QueryInfo queryInfo, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<bool> SequentialReaderAsync<TParamType>(string sql, TParamType param, Func<SqlDataReader, CancellationToken, Task<bool>> actionAsync, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
- public Task<bool> SequentialReaderAsync(string sql, Func<SqlDataReader, CancellationToken, Task<bool>> actionAsync, int? commandTimeout = default, bool sqlTextOnly = false, CancellationToken cancellationToken = default, string callerMemberName = null, string callerFilePath = null, int callerLineNumber = 0)
-
public sealed class QueryBatch
-
public sealed class QueryInfo
- public Dictionary<string, object> ParameterMap { get; set; }
- public Dictionary<string, ValueTuple<object, Type>> ParameterMap { get; set; }
- public QueryInfo()
- public QueryInfo(string sql, Dictionary<string, object> parameterMap)
- public static QueryInfo CreateQueryInfo(string sql)
- public static QueryInfo CreateQueryInfo<TParamType>(string sql, TParamType param)
- public static QueryInfo Create(string sql)
- public static QueryInfo Create<TParamType>(string sql, TParamType param)
- public static QueryInfo Create(string sql, Dictionary<string, ValueTuple<object, Type>> parameterMap)
-
public sealed class ResultSetSchema
-
public struct RowStore : IReadOnlyDictionary<string, object>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IReadOnlyCollection<KeyValuePair<string, object>>, IDynamicMetaObjectProvider, IEquatable<RowStore>
SecurityDriven.TinyORM.Extensions
-
public static class DynamicListExtensions
-
public static class Extensions
-
public static class RowStoreListExtensions
- public static DataTable AsTVP<T>(this IReadOnlyList<T> list, string tvpName)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4, out T v5)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4, out T v5, out T v6)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4, out T v5, out T v6, out T v7)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4, out T v5, out T v6, out T v7, out T v8)
- public static void Deconstruct<T>(this IReadOnlyList<T> v, out T v0, out T v1, out T v2, out T v3, out T v4, out T v5, out T v6, out T v7, out T v8, out T v9)
- public static T[] ToMappedObjectArray<T>(this List<RowStore> listOfRowStore, Func<RowStore, T> objectMapper)
- public static T[] ToObjectArray<T>(this List<RowStore> listOfRowStore)
- public static T[] ToObjectArray<T>(this List<RowStore> listOfRowStore, Func<T> objectFactory)
-
public static class StringExtensions
SecurityDriven.TinyORM.Helpers
-
public static class QB
- public static QueryInfo Update<T>(T obj, string whereSql = null, Predicate<string> propFilter = null, string tableName = null, Dictionary<string, object> dict = null)
- public static QueryInfo Update<T, TParamType>(T obj, string whereSql = null, TParamType whereParam = null, Predicate<string> propFilter = null, string tableName = null, Dictionary<string, object> dict = null)
- public static QueryInfo Update<T>(T obj, string whereSql = null, Predicate<string> includedProperties = null, string tableName = null, Dictionary<string, ValueTuple<object, Type>> dict = null)
- public static QueryInfo Update<T, TParamType>(T obj, string whereSql = null, TParamType whereParam = null, Predicate<string> includedProperties = null, string tableName = null, Dictionary<string, ValueTuple<object, Type>> dict = null)
SecurityDriven.TinyORM.Utils