Click or drag to resize

UpstreamRepositoryServiceBaseTModel, TWireFormat, TCollection Class

A generic implementation that calls the upstream for fetching data
Inheritance Hierarchy
SystemObject
  SanteDB.Client.Upstream.RepositoriesUpstreamServiceBase
    SanteDB.Client.Upstream.RepositoriesUpstreamRepositoryServiceBaseTModel, TWireFormat, TCollection
      SanteDB.Client.Upstream.RepositoriesHdsiUpstreamRepositoryTModel

Namespace: SanteDB.Client.Upstream.Repositories
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public abstract class UpstreamRepositoryServiceBase<TModel, TWireFormat, TCollection> : UpstreamServiceBase, 
	IRepositoryServiceEx<TModel>, IRepositoryService<TModel>, IServiceImplementation, IRepositoryService
where TModel : new(), IdentifiedData
where TWireFormat : class, new(), IIdentifiedResource
where TCollection : IResourceCollection

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "T:SanteDB.Client.Upstream.Repositories.UpstreamRepositoryServiceBase`3"]

TWireFormat

[Missing <typeparam name="TWireFormat"/> documentation for "T:SanteDB.Client.Upstream.Repositories.UpstreamRepositoryServiceBase`3"]

TCollection

[Missing <typeparam name="TCollection"/> documentation for "T:SanteDB.Client.Upstream.Repositories.UpstreamRepositoryServiceBase`3"]

The UpstreamRepositoryServiceBaseTModel, TWireFormat, TCollection type exposes the following members.

Constructors
Properties
 NameDescription
Protected propertyDataCachingService Gets the data caching service
Protected propertyIsUpstreamConfigured Get whether the upstream is conifgured
(Inherited from UpstreamServiceBase)
Protected propertyLocalizationService Gets the localization service
Protected propertyRestClientFactory Get the upstream client factory
(Inherited from UpstreamServiceBase)
Public propertyServiceName Gets the service name
Protected propertyUpstreamAvailabilityProvider Get the upstream availability provider
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamIntegrationService Get the upstream management service
(Inherited from UpstreamServiceBase)
Protected propertyUpstreamManagementService Gets the upstream management
(Inherited from UpstreamServiceBase)
Top
Methods
 NameDescription
Protected methodCreateAmiServiceClient Get client for the AMI
(Inherited from UpstreamServiceBase)
Protected methodCreateHdsiServiceClient Create an HDSI service client
(Inherited from UpstreamServiceBase)
Protected methodCreateRestClient Create a generic rest client
(Inherited from UpstreamServiceBase)
Public methodDelete Delete the object according to the current DeleteMode or according to server configuration
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFind(ExpressionFuncTModel, Boolean) Finds the specified data where the current version matches the query provided
Public methodFind(ExpressionFuncTModel, Boolean, Int32, NullableInt32, Int32, ModelSortTModel)Obsolete
Public methodGet(Guid) Gets the specified model data
Public methodGet(Guid, Guid) Gets the specified model data at the specified version
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetResourceName Get resource name on the API
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHasUpstreamAuthContext Determine if the current auth context is appropriate for upstream communications
(Inherited from UpstreamServiceBase)
Public methodInsert Inserts the specified model information
Public methodIsUpstreamAvailable Gets a value that indicates whether the upstream
(Inherited from UpstreamServiceBase)
Protected methodMapFromWire Map the wireObject received from the remote server into a TModel
Protected methodMapToWire Map the modelObject to a wire appropriate format
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSave Inserts or updates the specified data
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTouch Touch the specified object by updating its last modified time (forcing a re-synchronization) however not modifying the data in the object
Top
Fields
 NameDescription
Protected field_Tracer The tracer to use to log messages
(Inherited from UpstreamServiceBase)
Top
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also