EntityCollectionConfiguration<TEntityType> Class
EntityCollectionConfiguration represents a Collection of Entities. This class can be used to configure things that get bound to entities, like Actions bound to a collection.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.CollectionTypeConfiguration
System.Web.Http.OData.Builder.EntityCollectionConfiguration<TEntityType>
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class EntityCollectionConfiguration(Of TEntityType) _
Inherits CollectionTypeConfiguration
'Usage
Dim instance As EntityCollectionConfiguration(Of TEntityType)
public class EntityCollectionConfiguration<TEntityType> : CollectionTypeConfiguration
generic<typename TEntityType>
public ref class EntityCollectionConfiguration : public CollectionTypeConfiguration
type EntityCollectionConfiguration<'TEntityType> =
class
inherit CollectionTypeConfiguration
end
JScript does not support generic types and methods.
Type Parameters
- TEntityType
The EntityType that is the ElementType of the EntityCollection
The EntityCollectionConfiguration<TEntityType> type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ClrType | Gets the CLR type associated with this collection type. (Inherited from CollectionTypeConfiguration.) |
![]() |
ElementType | Gets the IEdmTypeConfiguration of elements in this collection. (Inherited from CollectionTypeConfiguration.) |
![]() |
FullName | Gets the full name (including namespace) of this collection type. (Inherited from CollectionTypeConfiguration.) |
![]() |
Kind | Gets the kind of the EdmType. In this case, it is Collection. (Inherited from CollectionTypeConfiguration.) |
![]() |
ModelBuilder | Gets the associated ODataModelBuilder. (Inherited from CollectionTypeConfiguration.) |
![]() |
Name | Gets the name of this collection type. (Inherited from CollectionTypeConfiguration.) |
![]() |
Namespace | Gets the namespace of this collection type. (Inherited from CollectionTypeConfiguration.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Action | Creates a new Action that binds to Collection(EntityType). |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
TransientAction | Creates a new Action that sometimes binds to Collection(EntityType). |
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.