private void button4_Click(object sender, EventArgs e) { DecompressDatabaseMigration decompress = new DecompressDatabaseMigration(); decompress.CompressModel( "201704120821095_AddBlogUrl", @"Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=EF6_CodeFirst.BloggingContext;Integrated Security=True", "AddBlogUrl_NewCol.xml"); }
private void button3_Click(object sender, EventArgs e) { DecompressDatabaseMigration decompress = new DecompressDatabaseMigration(); //decompress.DecompressModel( // "201704120821095_AddBlogUrl", // @"Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=EF6_CodeFirst.BloggingContext;Integrated Security=True"); decompress.DecompressModel( "201704121034137_AddPostClass", @"Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=EF6_CodeFirst.BloggingContext;Integrated Security=True"); }