Skip to content

Commit

Permalink
remove id suffix from index column name (#505)
Browse files Browse the repository at this point in the history
needs to be done via helpers that inject the data as not every column is id
  • Loading branch information
dpvreony authored Sep 30, 2024
1 parent 2fc1554 commit 643946e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ private static IEnumerable<string> GetIndexColumnNames(string[] names)
throw new ArgumentException($"Index at position {index} has a column name that is null or whitespace.", nameof(names));
}

yield return $"t.{name.Trim()}Id";
yield return $"t.{name.Trim()}";
}
}

Expand Down

0 comments on commit 643946e

Please sign in to comment.