Skip to content

Temporal table usage #294

Description

@jovball

I would like to use a Facet DTO with temporal tables. How would you recommend doing that? IMO, it would be nice if Facet would generate the temporal properties (ValidTo/ValidFrom) based on the EF ModelBuilder configuration having IsTemporal defined.

    config.ToTable("MyTable", "dbo", b=>b.IsTemporal(b=> { b.HasPeriodStart("ValidFrom"); b.HasPeriodEnd("ValidTo");})); 

Then it would populate them when I call SelectFacet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions