Пример #1
0
 public void OpenConnection(Object dbConnection)
 {
     _context = (LoggingManagementDatabase)dbConnection;
 }
Пример #2
0
 /// <summary>
 /// Open Connection
 /// </summary>
 public Object OpenConnection()
 {
     _context = new LoggingManagementDatabase();
     return(_context);
 }
Пример #3
0
 /// <summary>
 /// Open Conection
 /// </summary>
 /// <param name="connectionString"></param>
 public void OpenConnection(string connectionString)
 {
     _context = new LoggingManagementDatabase(connectionString);
 }
Пример #4
0
 /// <summary>
 ///
 /// </summary>
 public void CloseConnection()
 {
     _transaction = null;
     _context     = null;
 }