WinForms Entity Framework Code-First Support
===

Does Winforms support **`Code-First`** Entity Framework. I know ASP.net MVC support it, but how about Winforms?

I create connection string in app.config:

    <connectionStrings>
        <add name ="Transaction" connectionString="DataSource=|DataDirectory|Transaction.sdf" providerName="System.Data.SqlServerCe.4.0"/>
      </connectionStrings>

I also create Transaction class with all the fields, and Transaction DbContext, but when I compile, it does not create the sdf file automatically.

Thank you.