Class IndexColumnDefinition
Index column definition
Inherited Members
Namespace: FluentMigrator.Model
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class IndexColumnDefinition : ICloneable, ICanBeValidated, ISupportAdditionalFeatures
Properties
| Edit this page View SourceAdditionalFeatures
Gets the dictionary to store the values for additional features
Declaration
public virtual IDictionary<string, object> AdditionalFeatures { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Direction
Gets or sets the sort direction of the index column
Declaration
public virtual Direction Direction { get; set; }
Property Value
Type | Description |
---|---|
Direction |
Name
Gets or sets the column name
Declaration
[Required(ErrorMessageResourceType = typeof(ErrorMessages), ErrorMessageResourceName = "ColumnNameCannotBeNullOrEmpty")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceClone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
object |
CollectValidationErrors(ICollection<string>)
Collect validation errors
Declaration
[Obsolete("Use the System.ComponentModel.DataAnnotations.Validator instead")]
public virtual void CollectValidationErrors(ICollection<string> errors)
Parameters
Type | Name | Description |
---|---|---|
ICollection<string> | errors | The collection of error messages |