/// <summary>
        /// Создает экземпляр DBIndexColumnSchema.
        /// </summary>
        /// <param name="index">Индекс, к которому относится столбец.</param>
        protected DBIndexColumnSchema(DBIndexSchema index)
        {
            if (index == null)
            {
                throw new ArgumentNullException("index");
            }

            this.Index = index;
        }
Exemple #2
0
        /// <summary>
        /// Создает экземпляр DBIndex.
        /// </summary>
        /// <param name="schema">Схема индекса.</param>
        /// <param name="table">Таблица.</param>
        internal DBIndex(DBIndexSchema schema, DBTable table)
        {
            if (schema == null)
            {
                throw new ArgumentNullException("schema");
            }
            if (table == null)
            {
                throw new ArgumentNullException("table");
            }

            this.Schema = schema;
            this.Table  = table;
        }
 /// <summary>
 /// Создает экземпляр DBClusteredIndex.
 /// </summary>
 /// <param name="schema">Схема индекса.</param>
 /// <param name="table">Таблица.</param>
 internal DBClusteredIndex(DBIndexSchema schema, DBTable table)
     : base(schema, table)
 {
 }
 /// <summary>
 /// Создает экземпляр DBGenericIndexColumnSchema.
 /// </summary>
 /// <param name="initialProperties">Инициализационные свойства схемы столбца индекса.</param>
 /// <param name="index">Схема индекса.</param>
 public DBGenericIndexColumnSchema(DBGenericIndexColumnSchema.Properties initialProperties, DBIndexSchema index)
     : base(index)
 {
     if (initialProperties == null)
     {
         throw new ArgumentNullException("initialProperties");
     }
     this.InitialProperties = initialProperties;
 }