Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Add support for IQueryable.Count(Func<T, bool> predicate) #6

Description

@sflanker

Currently .Where(predicate).Count() works but .Count(predicate) does not.

See test case:

[Fact]
public override void Count_Filtered() {
// TODO: Implement support for Count w/ predicate
var result = this.Suppliers.Where(s => s.Country == "USA").Count();
Assert.Equal(4, result);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions