Right now individual properties must be configured with HasDateTimeKind on each one.
Adding a HaveDateTimeKind extensions on the PropertiesConfigurationBuilder would allow users to specify this at a type-level rather than a property level, e.g.
cb.Properties<DateTimeOffset>().HaveDateTimeKind(DateTimeKind.Utc)
This PR was created to finish the work started in EF-195.
- clones
-
EF-195 Support configuration-level HasBsonRepresentation
-
- Closed
-