Skip to content

Instantly share code, notes, and snippets.

@aevitas
Created November 21, 2021 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aevitas/caf326e683d4cba6edd689c40a92f0c9 to your computer and use it in GitHub Desktop.
Save aevitas/caf326e683d4cba6edd689c40a92f0c9 to your computer and use it in GitHub Desktop.
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