QueryableAttribute.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
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Property EnableConstantParameterization As Boolean
Get
Set
'Usage
Dim instance As QueryableAttribute
Dim value As Boolean
value = instance.EnableConstantParameterization
instance.EnableConstantParameterization = value
public bool EnableConstantParameterization { get; set; }
public:
property bool EnableConstantParameterization {
bool get ();
void set (bool value);
}
member EnableConstantParameterization : bool with get, set
function get EnableConstantParameterization () : boolean
function set EnableConstantParameterization (value : boolean)
Property Value
Type: System.Boolean
A value indicating whether constants should be parameterized. The default value is true.