Share via


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.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.CollectionTypeConfiguration
    System.Web.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
System_CAPS_pubproperty ClrType

Gets the CLR type associated with this collection type. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty ElementType

Gets the IEdmTypeConfiguration of elements in this collection. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty FullName

Gets the fullname (including namespace) of this collection type. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty Kind

Gets the kind of the IEdmType. In this case, it is Collection. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty ModelBuilder

Gets the ODataModelBuilder used to create this configuration. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty Name

Gets the name of this collection type. (Inherited from CollectionTypeConfiguration.)

System_CAPS_pubproperty Namespace

Gets the namespace of this collection type. (Inherited from CollectionTypeConfiguration.)

Methods

Name Description
System_CAPS_pubmethod Action(String)

Creates a new Action that binds to Collection(EntityType).

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod Function(String)

Creates a new Function that binds to Collection(EntityType).

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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.OData.Builder Namespace

Return to top