mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
parent
844938a92c
commit
0da49440e2
18 changed files with 467 additions and 355 deletions
|
@ -286,7 +286,7 @@ namespace Ombi.Store.Repository
|
|||
}
|
||||
}
|
||||
|
||||
public bool BatchInsert(IEnumerable<T> entities, string tableName, params string[] values)
|
||||
public bool BatchInsert(IEnumerable<T> entities, string tableName)
|
||||
{
|
||||
// If we have nothing to update, then it didn't fail...
|
||||
var enumerable = entities as T[] ?? entities.ToArray();
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace Ombi.Store.Repository
|
|||
bool UpdateAll(IEnumerable<T> entity);
|
||||
Task<bool> UpdateAllAsync(IEnumerable<T> entity);
|
||||
|
||||
bool BatchInsert(IEnumerable<T> entities, string tableName, params string[] values);
|
||||
bool BatchInsert(IEnumerable<T> entities, string tableName);
|
||||
|
||||
IEnumerable<T> Custom(Func<IDbConnection, IEnumerable<T>> func);
|
||||
Task<IEnumerable<T>> CustomAsync(Func<IDbConnection, Task<IEnumerable<T>>> func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue