Data/CafeLib.Data/Persistence/Repository.cs
/// <summary>
/// Find collection matching the predicate.
/// </summary>
/// <param name="predicate">predicate used to filter the query</param>
/// <returns>collection matching the predicate</returns>
Find collection matching the predicate.
Find collection matching the predicate .
public async Task<IEnumerable<T>> Find(Expression<Func<T, bool>> predicate)
        {
            var results = await _storage.ConnectionInfo.QueryAsync(predicate);
            return results.Records;
        }
public async Task < IEnumerable < T > > Find ( Expression < Func < T , bool > > predicate ) { var results = await _storage . ConnectionInfo . QueryAsync ( predicate ) ; return results . Records ; }
Find collection matching the predicate.
Find collection matching the predicate .
collection matching the predicate
collection matching the predicate
predicate
Expression<Func<T, bool>>
predicate used to filter the query
predicate used to filter the query