public ConstraintColumnManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = this.session.Connection; }
public ResourceLimitManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = this.session.Connection; }
public RoleManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = session.Connection; privManager = session.PrivManager; }
public TableManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.manager = session.SchemaManager; this.conn = session.Connection; this.columnManager = manager.ColumnManager; this.constraintManager = manager.ConstraintManager; this.indexManager = manager.IndexManager; }
public SchemaManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = session.Connection; this.tableManager = new TableManager(session); this.columnManager = new ColumnManager(); this.constraintManager = new ConstraintManager(); this.indexManager = new IndexManager(); }
public UserManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = session.Connection; // load current user if (!loadCurrentUser()) throw new Exception("Current user not loaded"); // load other users loadUsers(); // create user view defaultUserView = CollectionViewSource.GetDefaultView(users) as ListCollectionView; }
public UserRole(string name, SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.userRoleManager = session.RoleManager; this.name = name; this.conn = session.Connection; // register with events of the role manager userRoleManager.RoleGrantsOfAllRolesRefreshed += new RoleGrantsOfAllRolesRefreshedHandler(manager_RoleGrantsOfAllRolesRefreshed); userRoleManager.RoleGrantsRefreshed += new RoleGrantsRefreshedHandler(manager_RoleGrantsRefreshed); }
public QuotasManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = session.Connection; }
public UserRoleManagerLocal(SessionManager.Session session, UserManager.User user) : base(session, user) { }
public RoleRoleManagerLocal(SessionManager.Session session, Role role) : base(session, role) { }
public RoleManagerLocal(SessionManager.Session session, UserRole userRole) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; manager = session.RoleManager; this.userRole = userRole; this.conn = session.Connection; }
public Role(string name, bool passwordRequired, SessionManager.Session session) : base(name, session) { this.passwordRequired = passwordRequired; // create managers createManagers(); }
public CurrentUserRoleManagerLocal(SessionManager.Session session, UserManager.CurrentUser currentUser) : base(session, currentUser) { }
public User(decimal id, string name, object defaultTablespace, object temporaryTablespace, DateTime? created, DateTime? expiryDate, SessionManager.Session session) : base(name, session) { this.id = id; this.defaultTablespace = defaultTablespace; this.temporaryTablespace = temporaryTablespace; this.expiryDate = expiryDate; this.created = created; this.manager = session.UserManager; // create managers createManagers(); }
public CurrentUser( decimal id, string name, object defaultTablespace, object temporaryTablespace, DateTime? created, DateTime? expiryDate, SessionManager.Session session) : base(id, name, defaultTablespace, temporaryTablespace, created, expiryDate, session) { }
public LocalColumnManager(SessionManager.Session session) { if (session == null) throw new ArgumentNullException("Session"); this.session = session; this.conn = this.session.Connection; manager = this.session.SchemaManager.ColumnManager; // set up event handlers this.manager.AllColumnsRefreshed += new AllColumnsRefreshedHandler(manager_AllColumnsRefreshed); }