CreateDatabaseOnlyIfNotExists is the default strategy. This means that you do not even need to install it through Database.SetInitializer. EF Code First, check the database, and if you could not find a name with the same name as the full name of your context, it will create it for you.
source
share