Thursday, April 12, 2012 10:43 AM
Monday, April 16, 2012 8:11 AMModerator
You can use Fluent API to map your database name with schema, here is a link about the topic: http://msdn.microsoft.com/en-us/library/hh295845(v=vs.103).aspx hope it helps.
modelBuilder.Entity<Department>() .ToTable("t_ Department", "school");
Have a nice day.
- Marked As Answer by Alan_chenModerator Tuesday, May 08, 2012 2:37 AM