diff --git a/RepoDb.Core/RepoDb/Operations/DbConnection/QueryMultiple.cs b/RepoDb.Core/RepoDb/Operations/DbConnection/QueryMultiple.cs index a2f6f9f48..91bdfcee0 100644 --- a/RepoDb.Core/RepoDb/Operations/DbConnection/QueryMultiple.cs +++ b/RepoDb.Core/RepoDb/Operations/DbConnection/QueryMultiple.cs @@ -330,6 +330,7 @@ public static Tuple, IEnumerable, IEnumerable> QueryMult orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -648,6 +649,7 @@ public static Tuple, IEnumerable, IEnumerable, IEnumerab orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -1032,6 +1034,7 @@ public static Tuple, IEnumerable, IEnumerable, IEnumerab orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -1481,6 +1484,7 @@ public static Tuple, IEnumerable, IEnumerable, IEnumerab orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -1995,6 +1999,7 @@ public static Tuple, IEnumerable, IEnumerable, IEnumerab orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -2743,6 +2748,7 @@ public static Task, IEnumerable, IEnumerable>> Que orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -3067,6 +3073,7 @@ public static Task, IEnumerable, IEnumerable, IEnu orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -3457,6 +3464,7 @@ public static Task, IEnumerable, IEnumerable, IEnu orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -3912,6 +3920,7 @@ public static Task, IEnumerable, IEnumerable, IEnu orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, @@ -4432,6 +4441,7 @@ public static Task, IEnumerable, IEnumerable, IEnu orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, diff --git a/RepoDb.Core/RepoDb/Operations/DbRepository/QueryMultiple.cs b/RepoDb.Core/RepoDb/Operations/DbRepository/QueryMultiple.cs index b60663b1a..ebea1924d 100644 --- a/RepoDb.Core/RepoDb/Operations/DbRepository/QueryMultiple.cs +++ b/RepoDb.Core/RepoDb/Operations/DbRepository/QueryMultiple.cs @@ -25,9 +25,17 @@ public partial class DbRepository : IDisposable /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// A tuple of 2 enumerable target data entity types. public Tuple, IEnumerable> QueryMultiple(Expression> where1, @@ -35,9 +43,11 @@ public Tuple, IEnumerable> QueryMultiple(Expression< IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, int? top2 = 0, IEnumerable orderBy2 = null, string hints2 = null, + string cacheKey2 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -53,9 +63,11 @@ public Tuple, IEnumerable> QueryMultiple(Expression< orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, top2: top2, orderBy2: orderBy2, hints2: hints2, + cacheKey2: cacheKey2, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -84,12 +96,24 @@ public Tuple, IEnumerable> QueryMultiple(Expression< /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// A tuple of 3 enumerable target data entity types. public Tuple, IEnumerable, IEnumerable> QueryMultiple(Expression> where1, @@ -98,12 +122,15 @@ public Tuple, IEnumerable, IEnumerable> QueryMultiple orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -121,12 +148,15 @@ public Tuple, IEnumerable, IEnumerable> QueryMultiple, IEnumerable, IEnumerable> QueryMultipleThe order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// A tuple of 4 enumerable target data entity types. public Tuple, IEnumerable, IEnumerable, IEnumerable> @@ -176,15 +222,19 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable> IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -204,15 +254,19 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable> orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -245,15 +299,31 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable> /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). @@ -268,18 +338,23 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -301,18 +376,23 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -347,21 +427,45 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). + /// + /// The key to the cache item 5. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T6). /// The number of rows to be returned (at T6). /// The table hints to be used (at T6). + /// + /// The key to the cache item 6. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// A tuple of 6 enumerable target data entity types. public Tuple, IEnumerable, IEnumerable, IEnumerable, IEnumerable, IEnumerable> @@ -374,21 +478,27 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IEnumerable orderBy6 = null, int? top6 = 0, string hints6 = null, + string cacheKey6 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -412,21 +522,27 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, orderBy6: orderBy6, top6: top6, hints6: hints6, + cacheKey6: cacheKey6, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -463,24 +579,52 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). + /// + /// The key to the cache item 5. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T6). /// The number of rows to be returned (at T6). /// The table hints to be used (at T6). + /// + /// The key to the cache item 6. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T7). /// The number of rows to be returned (at T7). /// The table hints to be used (at T7). + /// + /// The key to the cache item 7. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// A tuple of 7 enumerable target data entity types. public Tuple, IEnumerable, IEnumerable, IEnumerable, IEnumerable, IEnumerable, IEnumerable> @@ -494,24 +638,31 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IEnumerable orderBy6 = null, int? top6 = 0, string hints6 = null, + string cacheKey6 = null, IEnumerable orderBy7 = null, int? top7 = 0, string hints7 = null, + string cacheKey7 = null, IDbTransaction transaction = null) where T1 : class where T2 : class @@ -537,24 +688,31 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, orderBy6: orderBy6, top6: top6, hints6: hints6, + cacheKey6: cacheKey6, orderBy7: orderBy7, top7: top7, hints7: hints7, + cacheKey7: cacheKey7, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -585,9 +743,17 @@ public Tuple, IEnumerable, IEnumerable, IEnumerable, /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 2 enumerable target data entity types. @@ -596,9 +762,11 @@ public async Task, IEnumerable>> QueryMultipleAsync orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, int? top2 = 0, IEnumerable orderBy2 = null, string hints2 = null, + string cacheKey2 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -615,9 +783,11 @@ public async Task, IEnumerable>> QueryMultipleAsync, IEnumerable>> QueryMultipleAsyncThe order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 3 enumerable target data entity types. @@ -662,12 +844,15 @@ public async Task, IEnumerable, IEnumerable>> Quer IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -686,12 +871,15 @@ public async Task, IEnumerable, IEnumerable>> Quer orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -723,15 +911,31 @@ public async Task, IEnumerable, IEnumerable>> Quer /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 4 enumerable target data entity types. @@ -743,15 +947,19 @@ public async Task, IEnumerable, IEnumerable, IEnum IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -772,15 +980,19 @@ public async Task, IEnumerable, IEnumerable, IEnum orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -814,18 +1026,38 @@ public async Task, IEnumerable, IEnumerable, IEnum /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). + /// + /// The key to the cache item 5. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 5 enumerable target data entity types. @@ -838,18 +1070,23 @@ public async Task, IEnumerable, IEnumerable, IEnum IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -872,18 +1109,23 @@ public async Task, IEnumerable, IEnumerable, IEnum orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -919,21 +1161,45 @@ public async Task, IEnumerable, IEnumerable, IEnum /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). + /// + /// The key to the cache item 5. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T6). /// The number of rows to be returned (at T6). /// The table hints to be used (at T6). + /// + /// The key to the cache item 6. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 6 enumerable target data entity types. @@ -947,21 +1213,27 @@ public async Task, IEnumerable, IEnumerable, IEnum IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IEnumerable orderBy6 = null, int? top6 = 0, string hints6 = null, + string cacheKey6 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -986,21 +1258,27 @@ public async Task, IEnumerable, IEnumerable, IEnum orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, orderBy6: orderBy6, top6: top6, hints6: hints6, + cacheKey6: cacheKey6, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace, @@ -1038,24 +1316,52 @@ public async Task, IEnumerable, IEnumerable, IEnum /// The order definition of the fields to be used (at T1). /// The number of rows to be returned (at T1). /// The table hints to be used (at T1). + /// + /// The key to the cache item 1. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T2). /// The number of rows to be returned (at T2). /// The table hints to be used (at T2). + /// + /// The key to the cache item 2. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T3). /// The number of rows to be returned (at T3). /// The table hints to be used (at T3). + /// + /// The key to the cache item 3. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T4). /// The number of rows to be returned (at T4). /// The table hints to be used (at T4). + /// + /// The key to the cache item 4. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T5). /// The number of rows to be returned (at T5). /// The table hints to be used (at T5). + /// + /// The key to the cache item 5. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T6). /// The number of rows to be returned (at T6). /// The table hints to be used (at T6). + /// + /// The key to the cache item 6. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The order definition of the fields to be used (at T7). /// The number of rows to be returned (at T7). /// The table hints to be used (at T7). + /// + /// The key to the cache item 7. By setting this argument, it will return the item from the cache if present, otherwise it will query the database. + /// This will only work if the 'cache' argument is set. + /// /// The transaction to be used. /// The object to be used during the asynchronous operation. /// A tuple of 7 enumerable target data entity types. @@ -1070,24 +1376,31 @@ public async Task, IEnumerable, IEnumerable, IEnum IEnumerable orderBy1 = null, int? top1 = 0, string hints1 = null, + string cacheKey1 = null, IEnumerable orderBy2 = null, int? top2 = 0, string hints2 = null, + string cacheKey2 = null, IEnumerable orderBy3 = null, int? top3 = 0, string hints3 = null, + string cacheKey3 = null, IEnumerable orderBy4 = null, int? top4 = 0, string hints4 = null, + string cacheKey4 = null, IEnumerable orderBy5 = null, int? top5 = 0, string hints5 = null, + string cacheKey5 = null, IEnumerable orderBy6 = null, int? top6 = 0, string hints6 = null, + string cacheKey6 = null, IEnumerable orderBy7 = null, int? top7 = 0, string hints7 = null, + string cacheKey7 = null, IDbTransaction transaction = null, CancellationToken cancellationToken = default) where T1 : class @@ -1114,24 +1427,31 @@ public async Task, IEnumerable, IEnumerable, IEnum orderBy1: orderBy1, top1: top1, hints1: hints1, + cacheKey1: cacheKey1, orderBy2: orderBy2, top2: top2, hints2: hints2, + cacheKey2: cacheKey2, orderBy3: orderBy3, top3: top3, hints3: hints3, + cacheKey3: cacheKey3, orderBy4: orderBy4, top4: top4, hints4: hints4, + cacheKey4: cacheKey4, orderBy5: orderBy5, top5: top5, hints5: hints5, + cacheKey5: cacheKey5, orderBy6: orderBy6, top6: top6, hints6: hints6, + cacheKey6: cacheKey6, orderBy7: orderBy7, top7: top7, hints7: hints7, + cacheKey7: cacheKey7, commandTimeout: CommandTimeout, transaction: transaction, trace: Trace,