コード例 #1
0
 /// <summary>
 /// Open Connection with Connection String
 /// </summary>
 /// <param name="connectionString"></param>
 public void OpenConnection(string connectionString)
 {
     _context = new AccountManagementDatabase(connectionString);
 }
コード例 #2
0
 /// <summary>
 /// Open Connection
 /// </summary>
 public Object OpenConnection()
 {
     _context = new AccountManagementDatabase();
     return(_context);
 }
コード例 #3
0
 public void OpenConnection(Object dbConnection)
 {
     _context = (AccountManagementDatabase)dbConnection;
 }
コード例 #4
0
 /// <summary>
 ///
 /// </summary>
 public void CloseConnection()
 {
     _transaction = null;
     _context     = null;
 }