Beispiel #1
0
 public void OpenConnection(Object dbConnection)
 {
     _context = (ZeroErpManagementDatabase)dbConnection;
 }
Beispiel #2
0
 /// <summary>
 /// Open Connection
 /// </summary>
 public Object OpenConnection()
 {
     _context = new ZeroErpManagementDatabase();
     return(_context);
 }
Beispiel #3
0
 public void OpenConnection(string connectionString)
 {
     _context = new ZeroErpManagementDatabase(connectionString);
 }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 public void CloseConnection()
 {
     _transaction = null;
     _context     = null;
 }