entity framework plays a role as ORM in between the underlying datasource and UI controls, i'm wondering do we still need to use bindingsource on top of EF?
e.g. can i just bind
datagridview.DataSource = entity.getdata();
instead of
bindingsource.DataSource = entity.etdata();
this.datagridview.DataSource = this.bindingsource;
Obviously you can directly bind the datasource of the Gridview to the entity result.
But what about following scenarios:
More here bindingsource "Remarks" section in MSDN
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With