I am new to EF 5.0, i have purposely set the wrong database name in connection string in Web.Config. i.e. Initial Catalog = "Wrong Database Name";
Now I have created a boolean property, which detects whether the database exists or not. Like below - where context is the EFDbContext.
bool IsDatabaseExist = context.DataBase.Exists();
My question is, why this is always showing true, even if the DataBase name which I have provided is wrong ?