阅读背景:

有没有办法通过反射获得类型的别名?

来源:互联网 

I'm writing a simple code generation application to build POCO's from a DB2 database schema. I know it doesn't matter, but I prefer to use type aliases rather than the actual system type name if they are available, i.e., "int" rather than "Int32." Is there a way using reflection that I can get a type's alias rather than it's the actual type? I'm writing a simple code generation applicatio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: