Use another way to connect to database. (#3)

* Use another way to connect to database. Actual way crash if mysql user doesn't have for example the password.

* remove tabs -> spaces
This commit is contained in:
Elle
2017-07-07 17:00:52 +02:00
committed by hondacrx
parent 9b4549874a
commit db31558ded
6 changed files with 84 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Framework.Database
{
public class ConnectionObject
{
public string Host { get; set; }
public string Port { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Database { get; set; }
}
}