Im using a ViewModel, and pagination works if I use just ONE entity.
My ViewModel uses this line:
public PagedResult AdPaged { get; set; }