I am using nBuilder to populate an object graph, but it is only populating the value types. I want it to populate the reference types (related objects).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
NBuilder doesn’t support automatically populating reference types at this time.
However, it is possible to do what you’re wanting by using a builder to create each reference type.
At the moment you are probably doing this:
What you want to be doing is this: