private UserServer GetDatabase(Boolean refresh = false) { if (_database.IsNull() || refresh) { if (_database.IsNotNull()) { _database.Dispose(); } _database = new UserServer(); _database.BeginTransaction(); } return(_database); }