Example #1
0
        public void AddIfNotExists(ColumnMap columnMap)
        {
            if (keyMap.Any(_ => _.ColumnMap.Equals(columnMap))) return;

            keyMap.Add(new ColumnMapAndDesc(columnMap, false));
        }
Example #2
0
 public ColumnMapAndDesc(ColumnMap columnMap, bool desc)
 {
     ColumnMap = columnMap;
     Desc = desc;
 }