Click or drag to resize

NotificationTemplateToDbNotificationTemplateModelMapper Class

Transforms between model class SanteDB.Core.Notifications.NotificationTemplate, SanteDB.Core.Api and persistence class SanteDB.Persistence.Data.Model.Notifications.DbNotificationTemplate, SanteDB.Persistence.Data
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Data.ModelMapNotificationTemplateToDbNotificationTemplateModelMapper

Namespace: SanteDB.Persistence.Data.ModelMap
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public sealed class NotificationTemplateToDbNotificationTemplateModelMapper : IModelMapper, 
	IModelMapper<NotificationTemplate, DbNotificationTemplate>

The NotificationTemplateToDbNotificationTemplateModelMapper type exposes the following members.

Constructors
 NameDescription
Public methodNotificationTemplateToDbNotificationTemplateModelMapperInitializes a new instance of the NotificationTemplateToDbNotificationTemplateModelMapper class
Top
Properties
 NameDescription
Public propertySourceType Source type
Public propertyTargetType Target type
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMapToSource(DbNotificationTemplate) Performs a reverse map on target to TTarget from TSource
Public methodMapToSource(Object) Map from target to source
Public methodMapToTarget(NotificationTemplate) Maps source from TSource to TTarget
Public methodMapToTarget(Object) Map from source to target
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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