public class UserGuid
{
public Guid Guid { get; set; }
}
.SetProjection( Projections.ProjectionList().Add( Projections.Property(
"UserId" ),
"Guid" ) )
.SetResultTransformer( Transformers.AliasToBean<UserGuid>() )
Is is possible to create a Projection/Transformer to return a
primitive type, in this case a Guid, instead of a class?
So that I don't have to create a class.
Thank you,
Daniel
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.