Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NewSchemaDialog"/> class.
 /// </summary>
 public NewSchemaDialog(MySqlWorkbenchConnection wbConnection)
 {
     _wbConnection = wbConnection ?? throw new ArgumentNullException(nameof(wbConnection));
     InitializeComponent();
     SchemaName = _wbConnection.GetSchemaNameAvoidingDuplicates(null);
     CollationComboBox.SetupCollations(_wbConnection, "Server Default");
 }