AutoExpandAttribute Class

Definition

Represents an Attribute that can be placed on a navigation property to specify it is auto expanded, or placed on a class to specify all navigation properties are auto expanded.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)]
public sealed class AutoExpandAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property)>]
type AutoExpandAttribute = class
    inherit Attribute
Public NotInheritable Class AutoExpandAttribute
Inherits Attribute
Inheritance
AutoExpandAttribute
Attributes

Constructors

Name Description
AutoExpandAttribute()

Properties

Name Description
DisableWhenSelectPresent

Gets or sets whether the automatic expand will be disabled if there is a $select specify by client.

Applies to