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.
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.
Then it would populate them when I call SelectFacet.