public static GetConnectionString ( ) : string | ||
Résultat | string |
private static void CreateAndInitializeDatabase() { var recreateDatabaseSql = String.Format( @"CREATE DATABASE IF NOT EXISTS `{0}`", ConnectionUtils.GetDatabaseName()); using (var connection = new MySqlConnection( ConnectionUtils.GetMasterConnectionString())) { connection.Execute(recreateDatabaseSql); } using (var connection = new MySqlConnection( ConnectionUtils.GetConnectionString())) { MySqlObjectsInstaller.Install(connection); } }
private MySqlStorage CreateStorage() { return(new MySqlStorage( ConnectionUtils.GetConnectionString(), _options)); }
private ElasticStorage.ElasticStorage CreateStorage() { return(new ElasticStorage.ElasticStorage( ConnectionUtils.GetConnectionString(), _options)); }