© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
.HasPrincipalKey -> Specify different column name - C#
C
C#
•
3y ago
•
4 replies
engineertdog
.HasPrincipalKey -> Specify different column name
I need to use
.HasPrincipalKey
.HasPrincipalKey
in Fluent
, but I need the resulting column to be named differently from what the Fluent API wants to use
. I don
't see an option to override the column name to something different
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Invalid column name 'CityId'.
C
C# / help
4y ago
❔ Column names in each table must be unique. Column name x in table y
C
C# / help
3y ago
Column Name isn't changing / set as defined in the [Column(string name)] Attribute
C
C# / help
13mo ago
❔ Get full namespace name
C
C# / help
3y ago