Created
November 21, 2021 11:45
-
-
Save aevitas/66f70fc549243df2b07334f0cf3f1671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modelBuilder | |
.Entity<ShippingAddress>() | |
.ToTable( | |
"ShippingAddresses", | |
b => b.IsTemporal( | |
b => | |
{ | |
b.HasPeriodStart("ValidFrom"); | |
b.HasPeriodEnd("ValidTo"); | |
b.UseHistoryTable("ShippingAddressHistory"); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment