alkampfer on August 12th, 2009

I’m writing a simple Dto generator, and today I found a challenging problem. I supported dto composition like this:

I have a CustomerDto3 that have only CustomerId and ContactName properties, then I want to autogenerate a OrderTestDto that have a Customers property of type CustomerDto3. The syntax on My T4 generator is this one.

SyntaxCode syntax [...]



kick it on DotNetKicks.com

Continue reading about Manipulate Expression Tree in DtoGenerator