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.
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.CollectionTypeConfiguration
System.Web.Http.OData.Builder.EntityCollectionConfiguration<TEntityType>
Syntax
public class EntityCollectionConfiguration<TEntityType> : CollectionTypeConfiguration
generic<typename TEntityType>
public ref class EntityCollectionConfiguration : CollectionTypeConfiguration
type EntityCollectionConfiguration<'TEntityType> =
class
inherit CollectionTypeConfiguration
end
Public Class EntityCollectionConfiguration(Of TEntityType)
Inherits CollectionTypeConfiguration
Type Parameters
- TEntityType
The EntityType that is the ElementType of the EntityCollection
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 fullname (including namespace) of this collection type.(Inherited from CollectionTypeConfiguration.) |
|
Kind | Gets the kind of the IEdmType. In this case, it is Collection.(Inherited from CollectionTypeConfiguration.) |
|
ModelBuilder | Gets the ODataModelBuilder used to create this configuration.(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.) |
Methods
Name | Description | |
---|---|---|
Action(String) | Creates a new Action that binds to Collection(EntityType). |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
TransientAction(String) | Creates a new Action that sometimes binds to Collection(EntityType). |
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