public void AddIfNotExists(ColumnMap columnMap) { if (keyMap.Any(_ => _.ColumnMap.Equals(columnMap))) return; keyMap.Add(new ColumnMapAndDesc(columnMap, false)); }
public ColumnMapAndDesc(ColumnMap columnMap, bool desc) { ColumnMap = columnMap; Desc = desc; }