Click or drag to resize

SecurityDeviceToDbSecurityDeviceModelMapper Class

Transforms between model class SanteDB.Core.Model.Security.SecurityDevice, SanteDB.Core.Model and persistence class SanteDB.Persistence.Data.Model.Security.DbSecurityDevice, SanteDB.Persistence.Data
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.Data.ModelMapSecurityDeviceToDbSecurityDeviceModelMapper

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

The SecurityDeviceToDbSecurityDeviceModelMapper type exposes the following members.

Constructors
 NameDescription
Public methodSecurityDeviceToDbSecurityDeviceModelMapperInitializes a new instance of the SecurityDeviceToDbSecurityDeviceModelMapper 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(DbSecurityDevice) Performs a reverse map on target to TTarget from TSource
Public methodMapToSource(Object) Map from target to source
Public methodMapToTarget(Object) Map from source to target
Public methodMapToTarget(SecurityDevice) Maps source from TSource to TTarget
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