Meant for internal use only.
Maps a member to another class map. When this is used, accessing a property through
sub-property mapping later won't work. You can only use one or the other. When using
this, ConvertUsing will also not work.
Syntax
public virtual MemberReferenceMap References<TClassMap>(Expression<Func<TClass, object>> expression, params object[] constructorArgs)
where TClassMap : ClassMap
Type Parameters
Name |
Description |
TClassMap |
The type of the class map. |
Parameters
Name |
Type |
Description |
expression |
Expression<Func<TClass, object>> |
The expression. |
constructorArgs |
object[] |
Constructor arguments used to create the reference map. |
Return Value