Recently I work on SQL Server 2008 R2 database. I create database and attach .mdf file of same database in my application with some default data in it . Run application defa
What kind of object do you load your .mdf file data into? It is likely that you need to save the changes in that object before closing the application.