Esempio n. 1
0
 public void OpenConnection(Object dbConnection)
 {
     _context = (LoggingManagementDatabase)dbConnection;
 }
Esempio n. 2
0
 /// <summary>
 /// Open Connection
 /// </summary>
 public Object OpenConnection()
 {
     _context = new LoggingManagementDatabase();
     return(_context);
 }
Esempio n. 3
0
 /// <summary>
 /// Open Conection
 /// </summary>
 /// <param name="connectionString"></param>
 public void OpenConnection(string connectionString)
 {
     _context = new LoggingManagementDatabase(connectionString);
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 public void CloseConnection()
 {
     _transaction = null;
     _context     = null;
 }