/// <summary> /// Get all entities that satisfy the given entity filter. /// </summary> /// <param name="filter">Entity filter to use</param> /// <returns>Collection of entities as result of filter operation</returns> public EntityQueryResult GetEntities(IEntityFilter filter) { var result = Result .Where(x => filter.Apply(x)) .ToList(); return(new EntityQueryResult(result)); }