Share via


StructuralPropertyConfiguration Class

Definition

Base class for all structural property configurations.

public abstract class StructuralPropertyConfiguration : Microsoft.AspNet.OData.Builder.PropertyConfiguration
type StructuralPropertyConfiguration = class
    inherit PropertyConfiguration
Public MustInherit Class StructuralPropertyConfiguration
Inherits PropertyConfiguration
Inheritance
StructuralPropertyConfiguration
Derived

Constructors

StructuralPropertyConfiguration(PropertyInfo, StructuralTypeConfiguration)

Initializes a new instance of the StructuralPropertyConfiguration class.

Properties

AddedExplicitly

Gets or sets a value that is true if the property was added by the user; false if it was inferred through conventions.

(Inherited from PropertyConfiguration)
AutoExpand

Gets or sets whether the property is automatically expanded. default is false.

(Inherited from PropertyConfiguration)
ConcurrencyToken

Gets or sets a value indicating whether this property is a concurrency token or not.

DeclaringType

Gets the declaring type.

(Inherited from PropertyConfiguration)
DerivedTypeConstraints

List of allowed derived types that are allowed for the property.

(Inherited from PropertyConfiguration)
DisableAutoExpandWhenSelectIsPresent

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

(Inherited from PropertyConfiguration)
IsRestricted

Gets whether the property is restricted, i.e. not filterable, not sortable, not navigable, not expandable, not countable, or automatically expand.

(Inherited from PropertyConfiguration)
Kind

Gets the PropertyKind of the property.

(Inherited from PropertyConfiguration)
Name

Gets or sets the name of the property.

(Inherited from PropertyConfiguration)
NonFilterable

Gets or sets whether the property is nonfilterable. default is false.

(Inherited from PropertyConfiguration)
NotCountable

Gets or sets whether the property is not countable. default is false.

(Inherited from PropertyConfiguration)
NotExpandable

Gets or sets whether the property is not expandable. default is false.

(Inherited from PropertyConfiguration)
NotFilterable

Gets or sets whether the property is not filterable. default is false.

(Inherited from PropertyConfiguration)
NotNavigable

Gets or sets whether the property is not navigable. default is false.

(Inherited from PropertyConfiguration)
NotSortable

Gets or sets whether the property is not sortable. default is false.

(Inherited from PropertyConfiguration)
OptionalProperty

Gets or sets a value indicating whether this property is optional or not.

Order

Get or sets order in "order by" expression.

(Inherited from PropertyConfiguration)
PropertyInfo

Gets the mapping CLR PropertyInfo.

(Inherited from PropertyConfiguration)
QueryConfiguration

Gets or sets the QueryConfiguration.

(Inherited from PropertyConfiguration)
RelatedClrType

Gets the CLR Type of the property.

(Inherited from PropertyConfiguration)
Unsortable

Gets or sets whether the property is unsortable. default is false.

(Inherited from PropertyConfiguration)

Methods

Count()

Sets this property is countable.

(Inherited from PropertyConfiguration)
Count(QueryOptionSetting)

Sets whether this property is countable.

(Inherited from PropertyConfiguration)
Expand()

Sets all properties expandable.

(Inherited from PropertyConfiguration)
Expand(Int32)

Sets all properties expandable with maximum depth of expand result.

(Inherited from PropertyConfiguration)
Expand(Int32, SelectExpandType, String[])

Sets the maximum depth of expand result, expandable properties and their SelectExpandType of this navigation property.

(Inherited from PropertyConfiguration)
Expand(Int32, String[])

Sets the maximum depth of expand result, expandable properties of this navigation property.

(Inherited from PropertyConfiguration)
Expand(SelectExpandType)

Sets SelectExpandType of all properties.

(Inherited from PropertyConfiguration)
Expand(SelectExpandType, Int32)

Sets SelectExpandType of all properties with maximum depth of expand result.

(Inherited from PropertyConfiguration)
Expand(SelectExpandType, String[])

Sets the expandable properties and their SelectExpandType of this navigation property.

(Inherited from PropertyConfiguration)
Expand(String[])

Sets the expandable properties of this navigation property.

(Inherited from PropertyConfiguration)
Filter()

Sets all properties of this property is filterable.

(Inherited from PropertyConfiguration)
Filter(QueryOptionSetting)

Sets whether all properties of this property is filterable.

(Inherited from PropertyConfiguration)
Filter(QueryOptionSetting, String[])

Sets filterable properties depends on QueryOptionSetting of this property.

(Inherited from PropertyConfiguration)
Filter(String[])

Sets filterable properties of this property.

(Inherited from PropertyConfiguration)
IsCountable()

Sets the property as countable.

(Inherited from PropertyConfiguration)
IsExpandable()

Sets the property as expandable.

(Inherited from PropertyConfiguration)
IsFilterable()

Sets the property as filterable.

(Inherited from PropertyConfiguration)
IsNavigable()

Sets the property as navigable.

(Inherited from PropertyConfiguration)
IsNonFilterable()

Sets the property as nonfilterable.

(Inherited from PropertyConfiguration)
IsNotCountable()

Sets the property as not countable.

(Inherited from PropertyConfiguration)
IsNotExpandable()

Sets the property as not expandable.

(Inherited from PropertyConfiguration)
IsNotFilterable()

Sets the property as not filterable.

(Inherited from PropertyConfiguration)
IsNotNavigable()

Sets the property as not navigable.

(Inherited from PropertyConfiguration)
IsNotSortable()

Sets the property as not sortable.

(Inherited from PropertyConfiguration)
IsSortable()

Sets the property as sortable.

(Inherited from PropertyConfiguration)
IsUnsortable()

Sets the property as unsortable.

(Inherited from PropertyConfiguration)
OrderBy()

Sets all properties of this property is sortable.

(Inherited from PropertyConfiguration)
OrderBy(QueryOptionSetting)

Sets whether all properties of this property is sortable.

(Inherited from PropertyConfiguration)
OrderBy(QueryOptionSetting, String[])

Sets sortable properties depends on QueryOptionSetting of this property.

(Inherited from PropertyConfiguration)
OrderBy(String[])

Sets sortable properties of this property.

(Inherited from PropertyConfiguration)
Page()

Sets this property enable paging.

(Inherited from PropertyConfiguration)
Page(Nullable<Int32>, Nullable<Int32>)

Sets the max value of $top of this property that a client can request and the maximum number of query results of this property to return.

(Inherited from PropertyConfiguration)
Select()

Sets all properties of this property is selectable.

(Inherited from PropertyConfiguration)
Select(SelectExpandType)

Sets SelectExpandType of all properties of this property is selectable.

(Inherited from PropertyConfiguration)
Select(SelectExpandType, String[])

Sets selectable properties depends on SelectExpandType of this property.

(Inherited from PropertyConfiguration)
Select(String[])

Sets selectable properties of this property.

(Inherited from PropertyConfiguration)

Applies to