Showing posts with label ENTITY FRAMEWORK. Show all posts
Showing posts with label ENTITY FRAMEWORK. Show all posts
Monday, February 25, 2019
Thursday, February 21, 2019
Saturday, September 16, 2017
Sunday, January 11, 2015
Friday, January 9, 2015
EF- To Set Default Values in Database Columns using CF Migrations
Friday, January 09, 2015
Vikas Sharma
Wednesday, January 7, 2015
EF: Unrecognized element 'providers' exception while downgrading from EF-6 to EF-5
Wednesday, January 07, 2015
Vikas Sharma
Sometimes the "<providers>" configuration is not removed while downgrading from EF-6 to EF-5.
some simply remove these "<providers>" tags inside the <entityFramework> tag.
<entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> <parameters> <parameter value="v12.0" /> </parameters> </defaultConnectionFactory> <!--<providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers>--> </entityFramework>
EF CodeFirst With Visual Studio Cannot drop database because it is in use error.
Wednesday, January 07, 2015
Vikas Sharma
Execute the following script from the master database catalog:
USE MASTER
ALTER DATABASE MyDBName SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER DATABASE MyDBName SET MULTI_USER

