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 5, 2013 at 12:26 AM by nathangr
Verified.

comments

AndriySvyryd wrote Jan 22, 2013 at 6:50 PM

Fixed in changeset d605905a015d