I\'m trying to connect to an SQL Server 2008 database in a shared hosting environment from C# from within an ASP.NET MVC 3 application connecting via EF (code first).
With EF6, you can now do this.
protected override void OnModelCreating(DbModelBuilder modelBuilder) { modelBuilder.HasDefaultSchema("logs"); //set default schema modelBuilder.Configurations.Add(new LogMap()); ... }