ResourceType Class
Represents a data service primitive, complex, or entity type.
Assembly: System.Data.Services (in System.Data.Services.dll)
| Name | Description | |
|---|---|---|
![]() | ResourceType(Type^, ResourceTypeKind, ResourceType^, String^, String^, Boolean) | Creates an instance of a data service ResourceType. |
| Name | Description | |
|---|---|---|
![]() | BaseType | Gets a reference to base resource type, if any. |
![]() | CanReflectOnInstanceType | Get whether the corresponding instance type represents the CLR type of this entity. |
![]() | CustomState | Gets or sets a placeholder to hold custom state information about a resource type that is defined by the developer. |
![]() | ETagProperties | Gets the list of properties for this type. |
![]() | FullName | Gets the full name of the resource. |
![]() | InstanceType | Reference to the CLR type that this resource represents. |
![]() | IsAbstract | Gets a Boolean value that indicates whether this is an abstract type. |
![]() | IsMediaLinkEntry | Gets or sets a Boolean value that is true if the resource type includes a default stream. |
![]() | IsOpenType | Gets whether the resource type has open properties. |
![]() | IsReadOnly | Gets a Boolean value that is true if this resource type has been set to read-only. |
![]() | KeyProperties | Gets a list of key properties for this type |
![]() | Name | Gets the name of the resource type. |
![]() | Namespace | Gets the namespace of the resource type. |
![]() | Properties | Gets a list of properties declared of this type that includes only properties defined on the type, not in the base type. |
![]() | PropertiesDeclaredOnThisType | List of properties declared on this type. |
![]() | ResourceTypeKind | Gets the ResourceTypeKind for the type. |
| Name | Description | |
|---|---|---|
![]() | AddEntityPropertyMappingAttribute(EntityPropertyMappingAttribute^) | Adds an EntityPropertyMappingAttribute for the resource type. |
![]() | AddProperty(ResourceProperty^) | Adds the property supplied by the resourceProperty parameter to the type. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetPrimitiveResourceType(Type^) | Gets a resource type that represent a primitive type when given a Type object. |
![]() | GetType() | |
![]() | LoadPropertiesDeclaredOnThisType() | Returns a list of properties declared by this resource type. |
![]() | MemberwiseClone() | |
![]() | SetReadOnly() | Sets the resource type to read-only. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Nested types are not supported as resource types.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



