diff --git a/Demo/Program.cs b/Demo/Program.cs
index 2b6ad24..b93a832 100644
--- a/Demo/Program.cs
+++ b/Demo/Program.cs
@@ -46,7 +46,7 @@ static void Main(string[] args)
// Step 5: Print the connection info
var conStringInfo =
- connector.ConnectionStringInfo(Helper.ConnectionInfoType.Server | Helper.ConnectionInfoType.Database);
+ connector.ConnectionStringInfo(ConnectionInfoType.Server | ConnectionInfoType.Database);
Console.WriteLine($"Connection: {conStringInfo}");
Console.WriteLine("Done");
diff --git a/ZimLabs.Database.MySql/ConnectionInfoType.cs b/ZimLabs.Database.MySql/ConnectionInfoType.cs
new file mode 100644
index 0000000..1f5abf5
--- /dev/null
+++ b/ZimLabs.Database.MySql/ConnectionInfoType.cs
@@ -0,0 +1,36 @@
+using System;
+
+namespace ZimLabs.Database.MySql
+{
+ ///
+ /// Provides the different connection info types
+ ///
+ [Flags]
+ public enum ConnectionInfoType
+ {
+ ///
+ /// Shows nothing
+ ///
+ None = 0,
+
+ ///
+ /// Shows the name of the server
+ ///
+ Server = 1,
+
+ ///
+ /// Shows the name of the database
+ ///
+ Database = 2,
+
+ ///
+ /// Shows the user name
+ ///
+ User = 4,
+
+ ///
+ /// Shows the port number
+ ///
+ Port = 8
+ }
+}
diff --git a/ZimLabs.Database.MySql/Connector.cs b/ZimLabs.Database.MySql/Connector.cs
index f48a705..f6170c9 100644
--- a/ZimLabs.Database.MySql/Connector.cs
+++ b/ZimLabs.Database.MySql/Connector.cs
@@ -143,7 +143,7 @@ public void SwitchDatabase(string database)
///
/// The type
/// The connection string info
- public string ConnectionStringInfo(Helper.ConnectionInfoType type)
+ public string ConnectionStringInfo(ConnectionInfoType type)
{
var server = $"Server: {_settings.Server}";
var database = $"Database: {_settings.Database}";
diff --git a/ZimLabs.Database.MySql/Helper.cs b/ZimLabs.Database.MySql/Helper.cs
index ba596ac..7472149 100644
--- a/ZimLabs.Database.MySql/Helper.cs
+++ b/ZimLabs.Database.MySql/Helper.cs
@@ -9,37 +9,6 @@ namespace ZimLabs.Database.MySql
///
public static class Helper
{
- ///
- /// Provides the different connection info types
- ///
- [Flags]
- public enum ConnectionInfoType
- {
- ///
- /// Shows nothing
- ///
- None = 0,
-
- ///
- /// Shows the name of the server
- ///
- Server = 1,
-
- ///
- /// Shows the name of the database
- ///
- Database = 2,
-
- ///
- /// Shows the user name
- ///
- User = 4,
-
- ///
- /// Shows the port number
- ///
- Port = 8
- }
///
/// Converts a secure string into a normal string
///
diff --git a/ZimLabs.Database.MySql/ZimLabs.Database.MySql.csproj b/ZimLabs.Database.MySql/ZimLabs.Database.MySql.csproj
index 7e917eb..9a82935 100644
--- a/ZimLabs.Database.MySql/ZimLabs.Database.MySql.csproj
+++ b/ZimLabs.Database.MySql/ZimLabs.Database.MySql.csproj
@@ -13,10 +13,10 @@
https://github.com/InvaderZim85/ZimLabs.Database.MySql
git
Helper, Database, MySql, Connector
- 1.0.4
- Added possibility to get the connection string info
- 1.0.4.0
- 1.0.4.0
+ 1.1.0
+ Moved the enum into own class
+ 1.1.0.0
+ 1.1.0.0
latest
@@ -24,6 +24,10 @@
D:\Repositories\NuGet_Packages\ZimLabs.Database.MySql\ZimLabs.Database.MySql\ZimLabs.Database.MySql.xml
+
+
+
+