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(); }