title: How to pass parameters to DbMigration.Sql() Method
body: <p>When using Entity Framework Migrations, the <code>DbMigration</code> base class <a href="http://msdn.microsoft.com/en-us/library/system.data.entity.migrations.dbmigration.sql%28v=vs.113%29.aspx">has a Sql method which takes parameters in an anonymous object</a></p>
  
  <p>I cannot for the life of me figure out how to use it.</p>
  
  <pre><code>        Sql(@"
                  UPDATE dbo.SlideSets 
                  SET Name = @Name, 
              ", false, new {
                  Name = "Foo"
              }
          );
  </code></pre>
  
  <p>Results in the error</p>
  
  <pre><code>System.Data.SqlClient.SqlException (0x80131904): Must declare the scalar variable "@Name"
  </code></pre>
  
  <p>What's the correct syntax of this statement?</p>