Exemple #1
0
        internal static int DeleteAll <T>(this IDbCommand dbCmd, IEnumerable <T> rows)
        {
            var ids = rows.Map(x => x.GetId());

            return(dbCmd.DeleteByIds <T>(ids));
        }