namespace Connected.Data.Schema.Sql { internal class IndexDescriptor { private List? _columns; public bool Unique { get; set; } public string? Group { get; set; } public List Columns => _columns ??= new List(); public override string ToString() { return string.IsNullOrWhiteSpace(Group) ? Columns[0] : Group; } } }