PropertyConfiguration Class
Base class for all property configurations.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Builder.PropertyConfiguration
System.Web.OData.Builder.NavigationPropertyConfiguration
System.Web.OData.Builder.StructuralPropertyConfiguration
Syntax
public abstract class PropertyConfiguration
public ref class PropertyConfiguration abstract
[<AbstractClass>]
type PropertyConfiguration = class end
Public MustInherit Class PropertyConfiguration
Constructors
Name | Description | |
---|---|---|
PropertyConfiguration(PropertyInfo, StructuralTypeConfiguration) | Initializes a new instance of the PropertyConfiguration class. |
Properties
Name | Description | |
---|---|---|
AddedExplicitly | Gets or sets a value that is true if the property was added by the user; false if it was inferred through conventions. |
|
AutoExpand | Gets or sets whether the property is automatically expanded. default is false. |
|
DeclaringType | Gets the declaring type. |
|
IsRestricted | Gets whether the property is restricted, i.e. not filterable, not sortable, not navigable, not expandable, or not countable. |
|
Kind | Gets the PropertyKind of the property. |
|
Name | Gets or sets the name of the property. |
|
NonFilterable | Gets or sets whether the property is nonfilterable. default is false. |
|
NotCountable | Gets or sets whether the property is not countable. default is false. |
|
NotExpandable | Gets or sets whether the property is not expandable. default is false. |
|
NotFilterable | Gets or sets whether the property is not filterable. default is false. |
|
NotNavigable | Gets or sets whether the property is not navigable. default is false. |
|
NotSortable | Gets or sets whether the property is not sortable. default is false. |
|
PropertyInfo | Gets the mapping CLR PropertyInfo. |
|
RelatedClrType | Gets the CLR Type of the property. |
|
Unsortable | Gets or sets whether the property is unsortable. default is false. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IsCountable() | Sets the property as countable. |
|
IsExpandable() | Sets the property as expandable. |
|
IsFilterable() | Sets the property as filterable. |
|
IsNavigable() | Sets the property as navigable. |
|
IsNonFilterable() | Sets the property as nonfilterable. |
|
IsNotCountable() | Sets the property as not countable. |
|
IsNotExpandable() | Sets the property as not expandable. |
|
IsNotFilterable() | Sets the property as not filterable. |
|
IsNotNavigable() | Sets the property as not navigable. |
|
IsNotSortable() | Sets the property as not sortable. |
|
IsSortable() | Sets the property as sortable. |
|
IsUnsortable() | Sets the property as unsortable. |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.OData.Builder Namespace
Return to top