Q:

Entity Framework not flushing data to the database

I am using Visual Studio 2012.  I have a very simple Products table in a Local Database (cleverly named Database1).  It has two fields: id and Name. I preloaded it with a few test data.
The following code should update the Name of the first Product.  Internally, it does.  I can retrieve all Products and see that the first one's Name is "Shirt."  But the change is never flushed to the database.  The record is never updated.  Examining the database reveals that the name has not been changed. 
My question is simple: Why are changes not being sent to the database?
using (var context = new Database1Entities())
{
    var products = context.Products;

    products.First().Name = "Shirt";
    context.SaveChanges();
}

Thanks in advance.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
EDIT:
I tried my best to enter the full code and output here.  But, no matter what I do, I continue to get the "Your post appears to contain code that is not properly formatted" error message.  After 30 minutes I am giving up.
EDIT: 
The code and output is here: http://pastebin.com/GmQtwAND

A:

I discovered the issue...and its solution.
The "Copy to Output Directory" property of the database file was set to "Copy always."  This, of course, meant that every time the application was built, a fresh copy was placed into the Bin directory.  The fix was to set it to "Copy if newer."   Doh.
In other words, the changes were being persisted in the database, but then the database was being clobbered when the application got rebuilt.

