EnableQueryAttribute.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.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public bool EnableConstantParameterization { get; set; }
public:
property bool EnableConstantParameterization {
bool get();
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
EnableQueryAttribute Class
System.Web.Http.OData Namespace
Return to top