/// <summary> /// Returns a record count for the current query. /// </summary> /// <param name="provider"></param> /// <param name="transactionContext"></param> /// <returns></returns> public long SelectCount(DataProviderBase provider, DbTransaction transactionContext) { return(provider.GetCount(this, transactionContext)); }