ODataQuerySettings.EnableConstantParameterization Property
Gets or sets a value indicating whether constants should be parameterized. Parameterizing constants would result in better performance with Entity framework.
Namespace: System.Web.OData.Query
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public bool EnableConstantParameterization {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property bool EnableConstantParameterization {
[CompilerGeneratedAttribute]
bool get();
[CompilerGeneratedAttribute]
void set(bool value);
}
member EnableConstantParameterization : bool with get, set
Public Property EnableConstantParameterization As Boolean
Property Value
Type: System.Boolean
The default value is true.
See Also
ODataQuerySettings Class
System.Web.OData.Query Namespace
Return to top