SqlNullabilityProcessor.CalculateParameterBucketSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the bucket size into which the parameters are padded when generating a parameterized collection when using multiple parameters. This helps with query plan bloat.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual int CalculateParameterBucketSize(int count, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping elementTypeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member CalculateParameterBucketSize : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> int
override this.CalculateParameterBucketSize : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> int
Protected Overridable Function CalculateParameterBucketSize (count As Integer, elementTypeMapping As RelationalTypeMapping) As Integer
Parameters
- count
- Int32
Number of value parameters.
- elementTypeMapping
- RelationalTypeMapping
The type mapping for the collection element.
Returns
- Attributes