How does one Attach to an MDF file created by Code First using Server Explorer
问题 Given: Code First Technique (all properly done and validated). I can actually, in the application see records added from the program. This means all the SaveChanges and subsequent queries are working. Problem: I want to expose this DB to another program but cannot get Server Explorer Data Connections to attach to it... What did you try? In VS2013 I opened the Server Explorer, clicked on Add Connetion and entered this (after changing the DataSource to SQLClient and not the default database