protected virtual void AssertSameTableRowCount(IDAC source, IDAC dest, string tableName) { var sourceCount = source.Count(tableName); var destCount = dest.Count(tableName); Assert.AreEqual(sourceCount, destCount); }
public static async Task <long> CountAsync(this IDAC dac, string tableName, IEnumerable <ColumnValue> columnMatches = null, string whereClause = null) { return(await Task.Run(() => dac.Count(tableName, columnMatches, whereClause))); }