Method to allow for query on DataAccess