NET小组会提供t 4模版(没有包含在Beta中)来生成objectcontext的类和扩展方法。
The ADO.NET team will make available a T4 template (not included in Beta) to generate classes and extension methods for ObjectContext.
与类指定一个创建对象的模版很相像,注释类型指定创建注释实例的模版。
Annotation types specify a template to create annotation instances, much the same way classes specify a template to create objects.
现在您需要建立的是为UM L类产生源代码的模版。
Now you have to create the actual template that will be used to generate the source code for a given UML class.
应用推荐