SqlNullabilityProcessor.CalculateBucketPadding 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.
Calculates the number of padding parameters to append to a multi-parameter collection expansion so that parameter counts align to a shared bucket size. This is composed from CalculateParameterBucketSize(Int32, RelationalTypeMapping) and CalculatePadding(Int32, Int32).
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual int CalculateBucketPadding(int count, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping elementTypeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member CalculateBucketPadding : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> int
override this.CalculateBucketPadding : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> int
Protected Overridable Function CalculateBucketPadding (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