Share via


StructuralTypeConfiguration<TStructuralType>.Expand Method

Definition

Overloads

Expand(Int32, SelectExpandType, String[])

Sets the maximum depth of expand result, expandable properties and their SelectExpandType of this structural type.

Expand(Int32, String[])

Sets the maximum depth of expand result, expandable properties of this structural type.

Expand(SelectExpandType, Int32)

Sets SelectExpandType of all properties with maximum depth of expand result of this structural type.

Expand(SelectExpandType, String[])

Sets the expandable properties and their SelectExpandType of this structural type.

Expand(Int32)

Sets all properties expandable with maximum depth of expand result of this structural type.

Expand(String[])

Sets the expandable properties of this structural type.

Expand(SelectExpandType)

Sets SelectExpandType of all properties of this structural type.

Expand()

Sets all properties expandable of this structural type.

Expand(Int32, SelectExpandType, String[])

Sets the maximum depth of expand result, expandable properties and their SelectExpandType of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (int maxDepth, Microsoft.AspNet.OData.Query.SelectExpandType expandType, params string[] properties);
member this.Expand : int * Microsoft.AspNet.OData.Query.SelectExpandType * string[] -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (maxDepth As Integer, expandType As SelectExpandType, ParamArray properties As String()) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

maxDepth
Int32
expandType
SelectExpandType
properties
String[]

Returns

Applies to

Expand(Int32, String[])

Sets the maximum depth of expand result, expandable properties of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (int maxDepth, params string[] properties);
member this.Expand : int * string[] -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (maxDepth As Integer, ParamArray properties As String()) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

maxDepth
Int32
properties
String[]

Returns

Applies to

Expand(SelectExpandType, Int32)

Sets SelectExpandType of all properties with maximum depth of expand result of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (Microsoft.AspNet.OData.Query.SelectExpandType expandType, int maxDepth);
member this.Expand : Microsoft.AspNet.OData.Query.SelectExpandType * int -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (expandType As SelectExpandType, maxDepth As Integer) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

expandType
SelectExpandType
maxDepth
Int32

Returns

Applies to

Expand(SelectExpandType, String[])

Sets the expandable properties and their SelectExpandType of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (Microsoft.AspNet.OData.Query.SelectExpandType expandType, params string[] properties);
member this.Expand : Microsoft.AspNet.OData.Query.SelectExpandType * string[] -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (expandType As SelectExpandType, ParamArray properties As String()) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

expandType
SelectExpandType
properties
String[]

Returns

Applies to

Expand(Int32)

Sets all properties expandable with maximum depth of expand result of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (int maxDepth);
member this.Expand : int -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (maxDepth As Integer) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

maxDepth
Int32

Returns

Applies to

Expand(String[])

Sets the expandable properties of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (params string[] properties);
member this.Expand : string[] -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (ParamArray properties As String()) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

properties
String[]

Returns

Applies to

Expand(SelectExpandType)

Sets SelectExpandType of all properties of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand (Microsoft.AspNet.OData.Query.SelectExpandType expandType);
member this.Expand : Microsoft.AspNet.OData.Query.SelectExpandType -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand (expandType As SelectExpandType) As StructuralTypeConfiguration(Of TStructuralType)

Parameters

expandType
SelectExpandType

Returns

Applies to

Expand()

Sets all properties expandable of this structural type.

public Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TStructuralType> Expand ();
member this.Expand : unit -> Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<'StructuralType (requires 'StructuralType : null)>
Public Function Expand () As StructuralTypeConfiguration(Of TStructuralType)

Returns

Applies to