Click or drag to resize

ModelMapBuilder Class

Model map builder
Inheritance Hierarchy
SystemObject
  SanteDB.Core.Model.Map.BuilderModelMapBuilder

Namespace: SanteDB.Core.Model.Map.Builder
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public class ModelMapBuilder

The ModelMapBuilder type exposes the following members.

Constructors
 NameDescription
Public methodModelMapBuilder Model map builder
Top
Methods
 NameDescription
Public methodCreateCodeNamespace Create a code namespace for the specified assembly
Public methodCreateMapper Creates a view model serializer
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
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
Remarks
The old version of the model mapping class used reflection which was extremely inefficient for mapping large sets of data. As part of the nuado refactoring, the model mapping is now handled by programmatically generated model mapping classes which contain explicit instructions on how to map the data from the source model into the target model
See Also