update code generation using T4 template

Signed-off-by: sword <caoxiangkun@gmail.com>
update test csproj

Signed-off-by: sword <caoxiangkun@gmail.com>
Merge pull request #21 from caoxk/CodeGenerationUpdate

update code generation