Share via


NavigationPropertyConfiguration.AutomaticallyExpand(Boolean) Method

Definition

Marks the navigation property is automatic expanded.

public Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration AutomaticallyExpand (bool disableWhenSelectIsPresent);
member this.AutomaticallyExpand : bool -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Function AutomaticallyExpand (disableWhenSelectIsPresent As Boolean) As NavigationPropertyConfiguration

Parameters

disableWhenSelectIsPresent
Boolean

If set to true then automatic expand will be disabled if there is a $select specify by client.

Returns

Applies to