The DSPMetadata type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| DSPMetadata | Creates new empty metadata definition. |
Methods
| Name | Description | |
|---|---|---|
| AddComplexProperty | Adds a complex property to the specified resourceType. | |
| AddComplexType | Adds a new complex type (without any properties). | |
| AddEntityType | Adds a new entity type (without any properties). | |
| AddKeyProperty | Adds a key property to the specified resourceType. | |
| AddPrimitiveProperty | Adds a primitive property to the specified resourceType. | |
| AddResourceSet | Adds a resource set to the metadata definition. | |
| AddServiceOperation |
Adds a new service operation.
| |
| (Inherited from | ||
| GetDerivedTypes | Returns list of all types derived (directly or indirectly) from the specified resourceType. | |
Serves as a hash function for a particular type. (Inherited from | ||
| GetResourceAssociationSet |
Gets the ResourceAssociationSet instance when given the source association end.
| |
Gets the (Inherited from | ||
| HasDerivedTypes | Returns true if the specified type has some derived types. | |
| RemoveResourceSet |
Removes the specified resource set.
| |
| RemoveResourceType |
Removes the specified resource type.
| |
Returns a string that represents the current object. (Inherited from | ||
| TryResolveResourceSet | Returnes a resource set specified by its name. | |
| TryResolveResourceType | Returnes a resource type specified by its name. | |
| TryResolveServiceOperation | Returns a service operation specified by its name. |
Properties
| Name | Description | |
|---|---|---|
| ContainerName | Returns the name of the container. This value is used for example when a proxy is generated by VS through Add Service Reference.
The main context class generated will have the ContainerName. | |
| ContainerNamespace | The namespace name for the container. This is used in the $metadata response. | |
| ResourceSets | Returns all resource sets. | |
| ServiceOperations | Returns all service operations. | |
| Types | Returns all resource types. |
See Also