Share via


CollectionTypeConfiguration Class

Represents a Collection of some named type. For example, Collection(Namespace.Customer) or Collection(Namespace.Adress).

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 CollectionTypeConfiguration _
    Implements IEdmTypeConfiguration
'Usage
Dim instance As CollectionTypeConfiguration
public class CollectionTypeConfiguration : IEdmTypeConfiguration
public ref class CollectionTypeConfiguration : IEdmTypeConfiguration
type CollectionTypeConfiguration =  
    class 
        interface IEdmTypeConfiguration 
    end
public class CollectionTypeConfiguration implements IEdmTypeConfiguration

The CollectionTypeConfiguration type exposes the following members.

Constructors

  Name Description
Public method CollectionTypeConfiguration Constructs a collection that contains elements of the specified ElementType and that is represented in CLR using the specified clrType.

Top

Properties

  Name Description
Public property ClrType Gets the CLR type associated with this collection type.
Public property ElementType Gets the IEdmTypeConfiguration of elements in this collection.
Public property FullName Gets the full name (including namespace) of this collection type.
Public property Kind Gets the kind of the EdmType. In this case, it is Collection.
Public property ModelBuilder Gets the associated ODataModelBuilder.
Public property Name Gets the name of this collection type.
Public property Namespace Gets the namespace of this collection type.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Http.OData.Builder Namespace