You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
` public int DeleteBatch(IDbConnection conn, IEnumerable ids, IDbTransaction transaction = null) where T : class
{
var tblName = GetTableName();
var idsin = string.Join(",", ids.ToArray());
var sql = string.Format("DELETE FROM {0} WHERE ID in (@ids)", tblName);
var result = SqlMapper.Execute(conn, sql, new { ids = idsin },transaction);
return result;
}`
The text was updated successfully, but these errors were encountered:
` public int DeleteBatch(IDbConnection conn, IEnumerable ids, IDbTransaction transaction = null) where T : class
{
var tblName = GetTableName();
var idsin = string.Join(",", ids.ToArray());
var sql = string.Format("DELETE FROM {0} WHERE ID in (@ids)", tblName);
var result = SqlMapper.Execute(conn, sql, new { ids = idsin },transaction);
The text was updated successfully, but these errors were encountered: