Tag Archives: ADO.NET

How to change the schema for Entity Framework Code First

By default Entity Framework will call the dbo user/schema when attempting to communicate with the database.  Today I received an exception because the tables I was calling was not [dbo].[Customer] but [Sales].[Customer].

Posted in Entity Framework | Tagged , , | Comments Off on How to change the schema for Entity Framework Code First

How to get Entity Framework to talk to SQL CE 4

Note: Eric pointed me to a SQL Compact Toolbox he wrote that does a better job and quicker to setup. So this week I wanted to add a local database to my application and I got the bright idea of … Continue reading

Posted in Database | Tagged , , , | 7 Comments