Created
November 21, 2021 12:14
-
-
Save aevitas/caf326e683d4cba6edd689c40a92f0c9 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
var ron = context.Employees | |
.TemporalAsOf(beforeWeFiredRon) | |
.Single(e => e.EmployeeId == ron.EmployeeId); | |
context.Employees.Add(ron); | |
context.SaveChangesAsync(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment