public Database() { logger = new Log.Logger(); string mdfPath = Path.Combine(Directory.GetCurrentDirectory(), "Database.mdf"); con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=" + mdfPath + ";Integrated Security=True"); }
public Server() { logger = new Log.Logger(); ctrl = new Controller(); Storage = new Models.Storage(BEGIN_MESSAGE_DELIMITER, END_MESSAGE_DELIMITER); SetupServer(); }