An interesting problem...
When first loading a page, I call the GetWidgets Method to and bind the reults as an item source of a combo box. Works fine.
If i then add a widget to the database by any method (even through SQL Management studio) and execute my query again, it does not find the new item added.
This is my GetWidgets Method
public void GetWidgets()
{
IsBusy = true;
WidgetsList.Clear();
var query = Mgr.Widgets.Where(a => a.UserID == CurrentUserID);
query.ExecuteAsync(op =>
{
if (op.HasError)
{
MessageBoxServiceProvider.ShowError("Unable to retrive your Widgets",
"Widget Error");
op.MarkErrorAsHandled();
}
else
{
op.Results.ForEach(WidgetsList.Add);
}
IsBusy = false;
});
}