/// <summary> /// Initializes a new instance of the <see cref="CreateIndexColumn"/> class. /// </summary> /// <param name="columnName">Name of the column.</param> /// <param name="type">The index type.</param> public CreateIndexColumn( string columnName, CreateIndexColumnType type) { this.columns = Collections.SingletonList<Expression>(Expressions.Property(columnName)); this.indexType = type.GetName(); }
/// <summary> /// Ctor. /// </summary> /// <param name="columnName">colum name</param> /// <param name="type">index type</param> public CreateIndexColumn(string columnName, CreateIndexColumnType type) { ColumnName = columnName; IndexColumnType = type; }