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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user