Click or drag to resize

MetadataResourceHandlerTMetadata Class

Represents a resource handler base class which has appropriate permissions for metadata
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.CommonResourceHandlerBaseTMetadata
    SanteDB.Rest.AMI.ResourcesResourceHandlerBaseTMetadata
      SanteDB.Rest.AMI.ResourcesMetadataResourceHandlerTMetadata
        SanteDB.Rest.AMI.ResourcesAssigningAuthorityResourceHandler
        SanteDB.Rest.AMI.ResourcesExtensionTypeResourceHandler

Namespace:  SanteDB.Rest.AMI.Resources
Assembly:  SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 2.2.1
Syntax
public class MetadataResourceHandler<TMetadata> : ResourceHandlerBase<TMetadata>
where TMetadata : new(), IdentifiedData

Type Parameters

TMetadata

[Missing <typeparam name="TMetadata"/> documentation for "T:SanteDB.Rest.AMI.Resources.MetadataResourceHandler`1"]

The MetadataResourceHandlerTMetadata type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodCreate
Create a resource
(Overrides ResourceHandlerBaseTResourceCreate(Object, Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Get the resource
(Overrides ResourceHandlerBaseTResourceGet(Object, Object).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
(Inherited from ResourceHandlerBaseTResource.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObsolete
Obsolete metadata
(Overrides ResourceHandlerBaseTResourceObsolete(Object).)
Public methodQuery(NameValueCollection)
Perform a query
(Inherited from ResourceHandlerBaseTResource.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Query for metadata
(Overrides ResourceHandlerBaseTResourceQuery(NameValueCollection, Int32, Int32, Int32).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update metadata
(Overrides ResourceHandlerBaseTResourceUpdate(Object).)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also