Click or drag to resize

ModelMapper Methods

The ModelMapper type exposes the following members.

Methods
  NameDescription
Public methodCreateLambdaMemberAdjustmentExpression
Create a traversal expression for a lambda expression
Public methodEquals (Inherited from Object.)
Public methodExtractDomainType
Extracts a domain type from a generic if needed
Public methodGetHashCode (Inherited from Object.)
Public methodGetModelMapper
Gets a model mapper that can handle the specified type
Public methodGetType (Inherited from Object.)
Public methodMapDomainInstance(Type, Type, Object)
Map domain instance
Public methodMapDomainInstanceTDomain, TModel(TDomain)
Map the specified domain instance
Public methodMapDomainType
Gets the model type for the specified domain type
Public methodMapModelExpressionTFrom, TReturn(ExpressionFuncTFrom, TReturn, Type, Boolean)
Automap the model expression using the configured mapper type
Public methodMapModelExpressionTFrom, TTo, TReturn(ExpressionFuncTFrom, TReturn, Boolean)
Convert the specified lambda expression from model into query
Public methodMapModelInstanceTModel(TModel)
Map model instance
Public methodMapModelInstanceTModel, TDomain(TModel)
Map model instance
Public methodMapModelMember
Map member
Public methodMapModelProperty(Type, PropertyInfo)
Maps a model property at a root level only
Public methodMapModelProperty(Type, Type, PropertyInfo)
Maps a model property at a root level only
Public methodMapModelType
Gets the domain type for the specified model type
Public methodMapTypeCast
Maps a cast to appropriate path
Public methodToString (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.)
Top
See Also