We still need a bindingsource when an entity framework exists

the entity structure plays the role of ORM between the underlying data source and the user interface controls, I wonder if we still need to use bindingsource on top of EF?

eg. can i just snap

datagridview.DataSource = entity.getdata();

instead

bindingsource.DataSource = entity.etdata();
this.datagridview.DataSource = this.bindingsource;
+3
source share
1 answer

Obviously, you can directly bind a Gridview data source to an entity result.
But what about the following scenarios:

  • The presence of several controls attached to the same data source, for example. List + Details
  • .
    "" CurrencyManager, bindingsource

bindingsource "" MSDN

+3

All Articles