Uploaded image for project: 'Entity Framework'
  1. Entity Framework
  2. EF-196

Support configuration-level HasDateTimeKind

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 8.3.0, 9.0.0
    • Affects Version/s: None
    • None
    • None
    • Dotnet Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            damien.guard@mongodb.com Damien Guard
            Reporter:
            damien.guard@mongodb.com Damien Guard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: