Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Entity Data Model update model from database - BindingSource loses its datasources

$
0
0
Using Entity Data Model in Visual Studio 2015 Community, using the data model objects as Datasources in bindingsources for windows forms data grids, etc.. Every time I need to update the data model (add columns, add a new view, etc) I update Model from Database. As a result the Entity Data Model gets rebuilt successfully BUT all the Datasources are wiped out and essentially I have to and set all those back up on all the bindingsources for all the forms.. plus edit the datagrids to hide the columns from the entity data model object that I don't want to see which takes a long time...

Aaron Brockhaus


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>