public string MappedName(bool camelCase = false) { var result = (OrdinalPosition == 1 && ColumnName.EndsWith("_ID") ? "Id" : (ColumnName.EndsWith("ID") ? string.Concat(ColumnName.Substring(0, ColumnName.Length - 2), "Id") : ColumnName)).Replace("_", string.Empty); if (camelCase) { return($"{result.Substring(0, 1).ToLower()}{result.Substring(1)}"); } return(result); }