Monday, September 17, 2012 9:35 AM
I would like to use a local database with the entity framwork.
I added a local db to my project, used the entity framework, entered the connection string to my existing database, chose my tables and clicked finished.
After this the model was created, but if I click on the server explorer and on my database there are no tables etc added to the local db. Is this ok? Do I have to create all the tables manually?
- Moved by Chester HongMicrosoft Contingent Staff Tuesday, October 02, 2012 8:18 AM Not WinForm dev question. (From:Windows Forms Data Controls and Databinding)
Monday, September 17, 2012 10:57 AM
I'm not clear about your defects. As per my assumption you are trying to create the tables in your local DB by using entityframe work. If yes means please check the following url
With Thanks and Regards
click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you
Monday, September 17, 2012 12:32 PM
I have an odata service for my data, but the odata data needs longer to load.
So I would like to have a local db, to load the data first to the local db and synchronize the data with the remote db.
But I do not know how to create the same db as local db and connect to the local db with entity framework.
Friday, September 21, 2012 9:03 AM
I'm afraid that your question is more related to Entity Framework than databinding and data controls in WinForm. If your problem is about Entity Framework, you can try this forum: http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/threads
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.