RelationalShapedQueryCompilingExpressionVisitor.MaxNullableParametersForPregeneratedSql Property
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.
Determines the maximum number of nullable parameters a query may have for us to pregenerate SQL for it in precompiled queries; each additional nullable parameter doubles the number of SQLs we need to pregenerate. If a query has more nullable parameters than this number, we don't pregenerate SQL, but instead insert the SQL as an expression tree and execute RelationalParameterBasedSqlProcessor at runtime as usual (slower startup).
[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
protected virtual int MaxNullableParametersForPregeneratedSql { get; }
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
member this.MaxNullableParametersForPregeneratedSql : int
Protected Overridable ReadOnly Property MaxNullableParametersForPregeneratedSql As Integer
Property Value
- Attributes