EntityFrameworkCore.TemporalTables icon indicating copy to clipboard operation
EntityFrameworkCore.TemporalTables copied to clipboard

Tables not being created as Temporal

Open MikeOtown opened this issue 3 years ago • 3 comments

Our project was working with all new tables created Temporal.

We have modelBuilder.UseTemporalTables(); in our OnModelCreating.

But now for some reason tables created with migrationBuilder.CreateTable() are no longer created as Temporal. How can we debug this?

MikeOtown avatar Oct 18 '21 13:10 MikeOtown

Standard CREATE TABLE statements are generated...

image

MikeOtown avatar Oct 18 '21 17:10 MikeOtown

we were missing options.UseInternalServiceProvider(provider);

MikeOtown avatar Oct 18 '21 18:10 MikeOtown

this is happening again. we do have options.UseInternalServiceProvider(provider); this time.

MikeOtown avatar Nov 17 '21 16:11 MikeOtown