-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the connection info type into own class
- Loading branch information
Andreas Pouwels
committed
Oct 14, 2020
1 parent
89b67f4
commit 8c7a99e
Showing
5 changed files
with
46 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
|
||
namespace ZimLabs.Database.MySql | ||
{ | ||
/// <summary> | ||
/// Provides the different connection info types | ||
/// </summary> | ||
[Flags] | ||
public enum ConnectionInfoType | ||
{ | ||
/// <summary> | ||
/// Shows nothing | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// Shows the name of the server | ||
/// </summary> | ||
Server = 1, | ||
|
||
/// <summary> | ||
/// Shows the name of the database | ||
/// </summary> | ||
Database = 2, | ||
|
||
/// <summary> | ||
/// Shows the user name | ||
/// </summary> | ||
User = 4, | ||
|
||
/// <summary> | ||
/// Shows the port number | ||
/// </summary> | ||
Port = 8 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters