开发者

ORM supporting mapping of generic types

Are there ORM tools for .NET supporting mapping of generic types?

I imagine at least 开发者_运维百科two possible mapping scenarios:

  • Mapping of particular generic type instances
  • Mapping of all possible generic instances (based on constraints & other mapped types).


I've been trying out Fluent NHibernate the last couple of months, and I'm pretty sure it can do that. We've certainly got generic lists as properties on objects. I'm not sure that I completely understand your second requirement. I've implement a generic repository that takes any type, and that works fine, if that's the sort of thing you are talking about?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜