What problem are you trying to solve?
Structural type scalar property order is determined internally by Core using PropertyNameComparer, and can't be overwritten by providers. However a different order might be warrented in some cases. For example: JSON entities that support inheritance hierarchies might want to put the discriminator as the first property for faster materialization. This is currently the case for the Cosmos DB provider.
Describe the solution you'd like
Some way to overwrite scalar property order for structural type instances
What problem are you trying to solve?
Structural type scalar property order is determined internally by Core using
PropertyNameComparer, and can't be overwritten by providers. However a different order might be warrented in some cases. For example: JSON entities that support inheritance hierarchies might want to put the discriminator as the first property for faster materialization. This is currently the case for the Cosmos DB provider.Describe the solution you'd like
Some way to overwrite scalar property order for structural type instances