CollectionPropertyConfiguration Class
CollectionPropertyConfiguration represents a CollectionProperty on either an EntityType or ComplexType.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.PropertyConfiguration
System.Web.Http.OData.Builder.StructuralPropertyConfiguration
System.Web.Http.OData.Builder.CollectionPropertyConfiguration
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class CollectionPropertyConfiguration _
Inherits StructuralPropertyConfiguration
'Usage
Dim instance As CollectionPropertyConfiguration
public class CollectionPropertyConfiguration : StructuralPropertyConfiguration
public ref class CollectionPropertyConfiguration : public StructuralPropertyConfiguration
type CollectionPropertyConfiguration =
class
inherit StructuralPropertyConfiguration
end
public class CollectionPropertyConfiguration extends StructuralPropertyConfiguration
The CollectionPropertyConfiguration type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CollectionPropertyConfiguration | Constructs a CollectionPropertyConfiguration using the property provided. |
Top
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. (Inherited from PropertyConfiguration.) | |
DeclaringType | Gets the declaring type. (Inherited from PropertyConfiguration.) | |
ElementType | Returns the type of Elements in the Collection | |
Kind | Gets the PropertyKind of this collection. (Overrides PropertyConfiguration.Kind.) | |
Name | Gets the name of the property. (Inherited from PropertyConfiguration.) | |
OptionalProperty | Gets or sets a value indicating whether this property is optional or not. (Inherited from StructuralPropertyConfiguration.) | |
PropertyInfo | Gets the mapping CLR PropertyInfo. (Inherited from PropertyConfiguration.) | |
RelatedClrType | Gets the CLR type of the collection. (Overrides PropertyConfiguration.RelatedClrType.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsOptional | Sets the CollectionProperty to optional (i.e. nullable). | |
IsRequired | Sets the CollectionProperty to required (i.e. non-nullable). | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.