Share via


CollectionPropertyConfiguration Class

 

CollectionPropertyConfiguration represents a CollectionProperty on either an EntityType or ComplexType.

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.StructuralPropertyConfiguration
      System.Web.OData.Builder.CollectionPropertyConfiguration

Syntax

public class CollectionPropertyConfiguration : StructuralPropertyConfiguration
public ref class CollectionPropertyConfiguration : StructuralPropertyConfiguration
type CollectionPropertyConfiguration = 
    class
        inherit StructuralPropertyConfiguration
    end
Public Class CollectionPropertyConfiguration
    Inherits StructuralPropertyConfiguration

Constructors

Name Description
System_CAPS_pubmethod CollectionPropertyConfiguration(PropertyInfo, StructuralTypeConfiguration)

Constructs a CollectionPropertyConfiguration using the property provided.

Properties

Name Description
System_CAPS_pubproperty 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.)

System_CAPS_pubproperty AutoExpand

Gets or sets whether the property is automatically expanded. default is false. (Inherited from PropertyConfiguration.)

System_CAPS_pubproperty ConcurrencyToken

Gets or sets a value indicating whether this property is a concurrency token or not.(Inherited from StructuralPropertyConfiguration.)

System_CAPS_pubproperty DeclaringType

Gets the declaring type.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty ElementType

Returns the type of Elements in the Collection

System_CAPS_pubproperty IsRestricted

Gets whether the property is restricted, i.e. not filterable, not sortable, not navigable, not expandable, or not countable.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty Kind

(Overrides PropertyConfiguration.Kind.)

System_CAPS_pubproperty Name

Gets or sets the name of the property.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NonFilterable

Gets or sets whether the property is nonfilterable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NotCountable

Gets or sets whether the property is not countable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NotExpandable

Gets or sets whether the property is not expandable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NotFilterable

Gets or sets whether the property is not filterable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NotNavigable

Gets or sets whether the property is not navigable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty NotSortable

Gets or sets whether the property is not sortable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty OptionalProperty

Gets or sets a value indicating whether this property is optional or not.(Inherited from StructuralPropertyConfiguration.)

System_CAPS_pubproperty PropertyInfo

Gets the mapping CLR PropertyInfo.(Inherited from PropertyConfiguration.)

System_CAPS_pubproperty RelatedClrType

(Overrides PropertyConfiguration.RelatedClrType.)

System_CAPS_pubproperty Unsortable

Gets or sets whether the property is unsortable. default is false.(Inherited from PropertyConfiguration.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsCountable()

Sets the property as countable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsExpandable()

Sets the property as expandable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsFilterable()

Sets the property as filterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNavigable()

Sets the property as navigable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNonFilterable()

Sets the property as nonfilterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNotCountable()

Sets the property as not countable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNotExpandable()

Sets the property as not expandable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNotFilterable()

Sets the property as not filterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNotNavigable()

Sets the property as not navigable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsNotSortable()

Sets the property as not sortable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsOptional()

Sets the CollectionProperty to optional (i.e. nullable).

System_CAPS_pubmethod IsRequired()

Sets the CollectionProperty to required (i.e. non-nullable).

System_CAPS_pubmethod IsSortable()

Sets the property as sortable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethod IsUnsortable()

Sets the property as unsortable.(Inherited from PropertyConfiguration.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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