2018-05-09 18:51:53 +02:00
|
|
|
|
namespace Geekbot.net.Database
|
|
|
|
|
{
|
|
|
|
|
public class SqlConnectionString
|
|
|
|
|
{
|
2018-05-10 00:00:51 +02:00
|
|
|
|
public string Host { get; set; }
|
|
|
|
|
public string Port { get; set; }
|
|
|
|
|
public string Database { get; set; }
|
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
public string Password { get; set; }
|
2018-05-09 18:51:53 +02:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
2018-05-10 00:00:51 +02:00
|
|
|
|
return $"Server={Host};Port={Port};Database={Database};Uid={Username};Pwd={Password};";
|
2018-05-09 18:51:53 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|