I ended up having to query for all business transactions then doing a
seperate query for all data fields and manually mapping them
together.  I'm still trying to come up with a way to join those two
queries and use my own transformer to resolve things.

On Dec 15, 11:08 am, Shane C <[email protected]> wrote:
> Assuming we have the following
>
> BusinessTransaction
>    has an Id &&
>    has a IList<DataFields>
>
> DataField
>    has a property called Value &&
>    has a DataFieldDefinition
>        has a property called name
>
> The basic idea is that the user specifies every single data field in
> the system so all of our data fields point to their definition.
>
> And I have a DTO...
>
> BusinessTransactionDTO
>    BusinessTranasctionId
>    MiscField1
>    MiscField2
>
> Is there any hope of me using the AliasToBean transformer to fill this
> beast?  I need to be able to query a data field by
> dataFieldDefinition.Name = MiscField1 and then somehow alias the
> result to MiscField1.  I've got some of the basic ideas figured out
> but I don't see how I could filter the data fields and alias them as
> soon as there is more then one.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to