示例#1
0
 /// <summary>
 /// Adds an <see cref="Index"/> for this <see cref="Column"/>.
 /// </summary>
 /// <returns>The column.</returns>
 public Column Index()
 {
     Table.AddIndex(Name);
     return(this);
 }
示例#2
0
 /// <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);
 }