/// <summary> /// Adds an <see cref="Index"/> for this <see cref="Column"/>. /// </summary> /// <returns>The column.</returns> public Column Index() { Table.AddIndex(Name); return(this); }
/// <summary> /// Adds an <see cref="Index"/> for this <see cref="Column"/>. /// </summary> /// <param name="name">The name of the index.</param> /// <returns>The column.</returns> public Column Index(string name) { Table.AddIndex(name, Name); return(this); }