Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
✅ What is a Discriminator? - C#
C
C#
•
3y ago
•
7 replies
kotrunga
✅ What is a Discriminator?
Can someone please expand a bit more on what a Discriminator specifically is
? There is some detail in the MS docs
- but what is it in general
? What are all the ways it can be used
?
References
:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.metadata.builders.discriminatorbuilder?view=efcore-7.0
https://learn.microsoft.com/en-us/ef/core/modeling/inheritance
Thank you
!
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
EFCore Discriminator Issue
C
C# / help
11mo ago
✅ What is a concrete class?
C
C# / help
17mo ago
❔ Constant string value for discriminator using Swashbuckle
C
C# / help
3y ago
✅ Trying to use a polymorphic type discriminator to deserialize child classes
C
C# / help
3y ago