问题描述
我是CTP5的用户,想知道是否有人可以指导我提供文档或提供创建自定义约定的示例。我一直在搜索,但似乎找不到任何东西。
我想更改ComplexTypes数据库列名的约定,以便它们以ComplexType名称为前缀。
例如,如果我有一个带有DateCreated的State对象,那么数据库表名将是StateDateCreated。
目前,列名只是DateCreated。
非常感谢任何帮助。
Hi, I'm usin CTP5 and was wondering if someone can guide me to documentation or supply a sample of creating a custom convention. I've searched around but can't seem to find anything.
I would like to change the convention for a ComplexTypes database column names so that they are prefixed with the ComplexType name.
For example, if I had a State object with DateCreated the database table name would be StateDateCreated.
Currently, the column name is simply DateCreated.
Any help is greatly appreciated.
这篇关于ComplexTypes的自定义约定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!