-
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
Add GetSchemaQualifiedHistoryTableName method to SqlServerEntityTypeExtensions #35018
Comments
I’ve just reviewed the idea of adding However, I wonder do you guys know whether anyone in this repo would double confirm if this is on the right track? |
Sounds good. You can add or modify existing tests in https://github.com/dotnet/efcore/blob/main/test/EFCore.SqlServer.FunctionalTests/ModelBuilding/SqlServerModelBuilderTestBase.cs |
@AndriySvyryd would we want to add such a dedicated API for something that users can easily do themselves? Would we add it to regular tables/views as well (which aren't the history table)? |
We already have them https://github.com/dotnet/efcore/blob/release/8.0/src/EFCore.Relational/Extensions/RelationalEntityTypeExtensions.cs#L221 |
@AndriySvyryd , @roji is this issue done? If it is not done, can I take this issue? |
@newmasterSG Sure, feel free to send a PR. However, we currently have a large backlog of PRs, so it might take a while for someone to take a look at it. |
@AndriySvyryd , Can I create a pull request for this issue as my first contribution? |
I have written a method for this in SqlServerEntityTypeExtensions and updated the existing tests to include the assertion for it. |
RelationalEntityTypeExtensions
has theGetSchemaQualifiedTableName
method, a complementing method should be added for temporal tables onSqlServerEntityTypeExtensions
:The text was updated successfully, but these errors were encountered: