Udostępnij za pośrednictwem


RelationalShapedQueryCompilingExpressionVisitor.MaxNullableParametersForPregeneratedSql Property

Definition

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

Applies to