Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Issue: AsStreaming don't work for entire sets [751]

$
0
0
The AsStreaming extensión method in IDbSet' throw the 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; }
}


Viewing all articles
Browse latest Browse all 10318

Trending Articles