Click or drag to resize

ModelMapper Methods

The ModelMapper type exposes the following members.

Methods
 NameDescription
Public methodAddClassMap Add a class map definition map to this model mapper context
Public methodCreateLambdaMemberAdjustmentExpression Create a traversal expression for a lambda expression
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtractDomainType Extracts a domain type from a generic if needed
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetModelMapper Gets a model mapper that can handle the specified type
Public methodGetTypeGets the Type of the current instance.
(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(Type) Gets the domain type for the specified model type
Public methodMapModelType(Type, Boolean) Map the model type controlling whether there is an error thrown
Public methodMapTypeCast Maps a cast to appropriate path
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