Пример #1
0
        protected virtual void AssertSameTableRowCount(IDAC source, IDAC dest, string tableName)
        {
            var sourceCount = source.Count(tableName);
            var destCount   = dest.Count(tableName);

            Assert.AreEqual(sourceCount, destCount);
        }
Пример #2
0
 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)));
 }