示例#1
0
 private void btnDbPackage_Click(object sender, EventArgs e)
 {
     try
     {
         if (FlushMetadata())
         {
             var dbPackage = new DatabasePackage(_wizard.Connection);
             dbPackage.Write(_wizard.InstallScript);
         }
     }
     catch (Exception ex)
     {
         Utils.HandleError(ex);
     }
 }
 private void btnDbPackage_Click(object sender, EventArgs e)
 {
   try
   {
     if (FlushMetadata())
     {
       var dbPackage = new DatabasePackage(_wizard.Connection);
       dbPackage.Write(_wizard.InstallScript);
     }
   }
   catch (Exception ex)
   {
     Utils.HandleError(ex);
   }
 }