Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Aug 11, 2025

Part of #35722

@roji roji requested review from a team and Copilot August 11, 2025 07:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the Entity Framework Core parameter handling API by renaming CacheSafeParameterFacade to ParametersCacheDecorator and updating related method names to improve clarity and consistency.

  • Renames the core parameter handling class from CacheSafeParameterFacade to ParametersCacheDecorator
  • Updates method names to be more descriptive (IsParameterNullIsNull, GetParametersAndDisableSqlCachingGetAndDisableCaching)
  • Modernizes constructor syntax in SQL processor classes using primary constructors

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ParametersCacheDecorator.cs Renames class and methods, updates documentation to reflect "decorator" pattern terminology
SqlNullabilityProcessor.cs Updates all references to use new class and method names
RelationalParameterBasedSqlProcessor.cs Updates method signatures and calls to use new parameter type and names
RelationalParameterProcessor.cs Updates field names and method calls to use new decorator class
SqliteParameterBasedSqlProcessor.cs Modernizes constructor and updates method parameter types
SqlServerParameterBasedSqlProcessor.cs Modernizes constructor and updates method signatures
SqlServerSqlNullabilityProcessor.cs Updates method signatures and calls to use new decorator
SqlServerZeroLimitConverter.cs Updates field names and method calls to use new decorator

@roji roji enabled auto-merge (squash) August 11, 2025 07:43
@roji roji merged commit 70275c9 into dotnet:main Aug 11, 2025
7 checks passed
@roji roji deleted the ApiReview branch August 11, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants