I have sfDataGrid bound to ObservableCollection from generic repository with UinitOfWork. But the Grid does not refresh its UI when the datasource changes. I don't know what I am doing wrong.
Below is my code:
sfDataGrid1.DataSource = GetCustomerListViews;
public ObservableCollection GetCustomerListViews => _unitOfWork.CustSups.GetCustomerListViews();
Is there a way to achieve two way binding with entityframework?
Thanks in advance for your assistance