CollectionPropertyConfiguration Class
CollectionPropertyConfiguration represents a CollectionProperty on either an EntityType or ComplexType.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.PropertyConfiguration
System.Web.Http.OData.Builder.StructuralPropertyConfiguration
System.Web.Http.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 | |
---|---|---|
CollectionPropertyConfiguration(PropertyInfo, StructuralTypeConfiguration) | Constructs a CollectionPropertyConfiguration using the property provided. |
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.) |
|
ConcurrencyToken | Gets or sets a value indicating whether this property is a concurrency token or not. (Inherited from StructuralPropertyConfiguration.) |
|
DeclaringType | Gets the declaring type. (Inherited from PropertyConfiguration.) |
|
ElementType | Returns the type of Elements in the Collection |
|
Kind | (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 | (Overrides PropertyConfiguration.RelatedClrType.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (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.) |
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.Http.OData.Builder Namespace
Return to top