1

Closed

AsStreaming doesn't work on IDbSet

description

The AsStreaming extension method on IDbSet throws an assertion in DbHelpers.CreateStreamingQuery because query==null.
class Program
{
    static void Main(string[] args)
    {
        using (var unitOfWork = new UoW())
        {
            unitOfWork.Entities.AsStreaming();
        }
    }
}
public class Entity
{
    public int Id { get; set; }
}
public class UoW : DbContext
{
    public IDbSet<Entity> Entities { get; set; }
}
Closed Mar 4, 2013 at 11:26 PM by nathangr
Verified.

comments

AndriySvyryd wrote Jan 22, 2013 at 5:50 PM

Fixed in changeset d605905a015d