开发者

How to set default access to field.camelcase-underscore using Fluent NHibernate?

would like to set this convention up global开发者_JS百科ly if possible.


You need a convention, of which there are some shortcuts for the common scenarios. Specifically, there's a DefaultAccess shortcut, with a CamelCaseField(prefix) method.

.Conventions.Add(
  DefaultAccess.CamelCaseField(CamelCasePrefix.Underscore)
);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜