Exemple #1
0
 public Rdbs(IAcDomain acDomain, IDbTables dbTables, IDbViews dbViews, IDbTableColumns dbTableColumns, IDbViewColumns dbViewColumns)
 {
     if (acDomain == null)
     {
         throw new ArgumentNullException("acDomain");
     }
     if (dbTables == null)
     {
         throw new ArgumentNullException("dbTables");
     }
     if (dbViews == null)
     {
         throw new ArgumentNullException("dbViews");
     }
     if (dbTableColumns == null)
     {
         throw new ArgumentNullException("dbTableColumns");
     }
     if (dbViewColumns == null)
     {
         throw new ArgumentNullException("dbViewColumns");
     }
     _acDomain = acDomain;
     _dbTables = dbTables;
     _dbViews = dbViews;
     _dbTableColumns = dbTableColumns;
     _dbViewColumns = dbViewColumns;
 }
Exemple #2
0
 public Rdbs(IAcDomain acDomain, IDbTables dbTables, IDbViews dbViews, IDbTableColumns dbTableColumns, IDbViewColumns dbViewColumns)
 {
     if (acDomain == null)
     {
         throw new ArgumentNullException("acDomain");
     }
     if (dbTables == null)
     {
         throw new ArgumentNullException("dbTables");
     }
     if (dbViews == null)
     {
         throw new ArgumentNullException("dbViews");
     }
     if (dbTableColumns == null)
     {
         throw new ArgumentNullException("dbTableColumns");
     }
     if (dbViewColumns == null)
     {
         throw new ArgumentNullException("dbViewColumns");
     }
     _acDomain       = acDomain;
     _dbTables       = dbTables;
     _dbViews        = dbViews;
     _dbTableColumns = dbTableColumns;
     _dbViewColumns  = dbViewColumns;
 }