Udostępnij za pośrednictwem


EntityCollectionResourceType Class

Use this class to represent a collection of entities.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.ResourceType
    System.Data.Services.Providers.EntityCollectionResourceType

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Class EntityCollectionResourceType _
    Inherits ResourceType
'Usage
Dim instance As EntityCollectionResourceType
public class EntityCollectionResourceType : ResourceType
public ref class EntityCollectionResourceType : public ResourceType
type EntityCollectionResourceType =  
    class 
        inherit ResourceType 
    end
public class EntityCollectionResourceType extends ResourceType

The EntityCollectionResourceType type exposes the following members.

Properties

  Name Description
Public property BaseType Gets a reference to base resource type, if any. (Inherited from ResourceType.)
Public property CanReflectOnInstanceType Gets whether the corresponding instance type represents the CLR type of this entity. (Inherited from ResourceType.)
Public property CustomState Gets or sets a placeholder to hold custom state information about a resource type that is defined by the developer. (Inherited from ResourceType.)
Public property ETagProperties Gets the list of properties for this type. (Inherited from ResourceType.)
Public property FullName Gets the full name of the resource. (Inherited from ResourceType.)
Public property InstanceType Reference to the CLR type that this resource represents. (Inherited from ResourceType.)
Public property IsAbstract Gets a Boolean value that indicates whether this is an abstract type. (Inherited from ResourceType.)
Public property IsMediaLinkEntry Gets or sets a Boolean value that is true if the resource type includes a default stream. (Inherited from ResourceType.)
Public property IsOpenType Gets whether the resource type has open properties. (Inherited from ResourceType.)
Public property IsReadOnly Gets a Boolean value that is true if this resource type has been set to read-only. (Inherited from ResourceType.)
Public property ItemType Resource type of a single item in the collection.
Public property KeyProperties Gets a list of key properties for this type (Inherited from ResourceType.)
Public property Name Gets the name of the resource type. (Inherited from ResourceType.)
Public property Namespace Gets the namespace of the resource type. (Inherited from ResourceType.)
Public property Properties Gets a list of properties declared on this type that includes only properties defined on the type, not in the base type. (Inherited from ResourceType.)
Public property PropertiesDeclaredOnThisType Gets or sets the list of properties declared on this type. (Inherited from ResourceType.)
Public property ResourceTypeKind Gets the ResourceTypeKind for the type. (Inherited from ResourceType.)

Top

Methods

  Name Description
Public method AddEntityPropertyMappingAttribute Adds an EntityPropertyMappingAttribute for the resource type. (Inherited from ResourceType.)
Public method AddProperty Adds the property supplied by the resourceProperty parameter to the type. (Inherited from ResourceType.)
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 LoadPropertiesDeclaredOnThisType Returns a list of properties declared by this resource type. (Inherited from ResourceType.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetReadOnly Sets the resource type to read-only. (Inherited from ResourceType.)
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.Data.Services.Providers Namespace