public virtual int Count(Query query = null) { return(RepositoryUtils.Count(DatabaseType, ConnectionString, TableName, query)); }