-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
round 1 - model + mig + some tests #24562
Merged
Merged
Conversation
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
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeExtensions.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Metadata/Conventions/SqlServerTemporalConvention.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Metadata/Internal/SqlServerAnnotationProvider.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Metadata/Internal/SqlServerTemporalTableAnnotationValue.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Scaffolding/Internal/SqlServerDatabaseModelFactory.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
test/EFCore.SqlServer.FunctionalTests/Migrations/MigrationsSqlServerTest.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Metadata/Conventions/SqlServerTemporalConvention.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 1, 2021
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
AndriySvyryd
reviewed
Apr 1, 2021
test/EFCore.SqlServer.FunctionalTests/Migrations/MigrationsSqlServerTest.cs
Outdated
Show resolved
Hide resolved
You should also include the model snapshot changes ( |
AndriySvyryd
reviewed
Apr 1, 2021
src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs
Outdated
Show resolved
Hide resolved
bricelam
reviewed
Apr 2, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. (I skimmed through the Migrations and Scaffolding code)
maumar
force-pushed
the
temporal_tables_draft1
branch
from
April 12, 2021 06:50
fa19711
to
53b9708
Compare
maumar
commented
Apr 12, 2021
src/EFCore.Relational/Migrations/Internal/MigrationsModelDiffer.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 12, 2021
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 12, 2021
src/EFCore.SqlServer/Infrastructure/Internal/SqlServerModelValidator.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
from
April 12, 2021 07:00
53b9708
to
c3e9c6c
Compare
maumar
commented
Apr 12, 2021
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
from
April 12, 2021 07:16
c3e9c6c
to
ee6ccc0
Compare
maumar
commented
Apr 12, 2021
maumar
commented
Apr 12, 2021
src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 12, 2021
test/EFCore.SqlServer.FunctionalTests/Migrations/MigrationsSqlServerTest.cs
Outdated
Show resolved
Hide resolved
maumar
commented
Apr 12, 2021
test/EFCore.SqlServer.FunctionalTests/Migrations/MigrationsSqlServerTest.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
from
April 13, 2021 07:18
ee6ccc0
to
f046c3c
Compare
bricelam
reviewed
Apr 13, 2021
src/EFCore.SqlServer/Migrations/SqlServerMigrationsSqlGenerator.cs
Outdated
Show resolved
Hide resolved
src/EFCore.SqlServer/Metadata/Conventions/SqlServerValueGenerationConvention.cs
Outdated
Show resolved
Hide resolved
src/EFCore.SqlServer/Metadata/Internal/SqlServerAnnotationProvider.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
from
May 28, 2021 06:33
dbf4630
to
6855940
Compare
new version up @AndriySvyryd @bricelam @smitpatel |
maumar
force-pushed
the
temporal_tables_draft1
branch
from
May 28, 2021 07:00
6855940
to
0f42aa8
Compare
src/EFCore.SqlServer/Extensions/SqlServerTableBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/EFCore.SqlServer/Infrastructure/Internal/SqlServerModelValidator.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
from
May 28, 2021 22:20
0f42aa8
to
351e8a2
Compare
AndriySvyryd
reviewed
Jun 2, 2021
src/EFCore.SqlServer/Metadata/Conventions/SqlServerTemporalConvention.cs
Outdated
Show resolved
Hide resolved
AndriySvyryd
reviewed
Jun 2, 2021
src/EFCore.SqlServer/Metadata/Conventions/SqlServerTemporalConvention.cs
Outdated
Show resolved
Hide resolved
AndriySvyryd
reviewed
Jun 2, 2021
src/EFCore.SqlServer/Extensions/SqlServerTableBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
maumar
force-pushed
the
temporal_tables_draft1
branch
3 times, most recently
from
June 2, 2021 20:37
7461ef5
to
b7e49cb
Compare
AndriySvyryd
approved these changes
Jun 2, 2021
- added model builder APIs that allows mapping entity to a temporal table as well as related configuration - added conventions and validation for entities mapped to temporal table - added migration support for adding/removing/modifying entities mapped to a temporal table - added model snapshot generation for entities mapped to temporal table
maumar
force-pushed
the
temporal_tables_draft1
branch
from
June 4, 2021 18:43
b7e49cb
to
e7c0b9d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For now just metadata and create+ drop migration operations