초기커밋
This commit is contained in:
16
ServerBase/Helper/MySqlHelper.cs
Normal file
16
ServerBase/Helper/MySqlHelper.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using MySqlConnector;
|
||||
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
|
||||
|
||||
namespace ServerBase;
|
||||
|
||||
public static class MySqlHelper
|
||||
{
|
||||
public static string makeConnectionString(string server, string id, string passward, string database)
|
||||
{
|
||||
return $"Server={server};User ID={id};Password={passward};Database={database}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user