I am trying to get data that are returned from an EntityQuery
public EntityQuery<Product> GetProductsQuery()
and I am using an ObservableCollection to store them
var query = ctx.GetProductsQuery();
ctx.Load(query, op =>
{
var data = op.Entities;
ProductList = new ObservableCollection<Product>(op.Entities);
return;
}, null);
but after this code, the ProductList is still empty