public List <Index> GeneratAllIndexes() { var result = BackReference.GenerateIndexes(this).ToList(); result.AddRange(Field.GenerateIndexes(this)); if (MultiColumnIndexes != null) { result.AddRange(MultiColumnIndexes); } return(result); }
public List <TableIndex> GeneratAllIndexes() { var result = new List <TableIndex> { new PrimaryClusteredIndex(this) }; result.AddRange(BackReference.GenerateIndexes(this)); result.AddRange(Field.GenerateIndexes(this)); if (MultiColumnIndexes != null) { result.AddRange(MultiColumnIndexes); } return(result); }