Is there a way to determine which field is a discriminator field for an entity at runtime? I'm trying to populate data via reflection, and am having trouble figuring out how to tell my code to NOT specify a value for the discriminator, since the value is assigned automatically by the type that was instantiated.
Thanks