开发者

Fluent nHibernate, ToManyBase, Generic usage

开发者 https://www.devze.com 2023-02-25 13:53 出处:网络
I have discovered the method T Generic() in the abstract class ToManyBase<T, TChild, TRelationshipAttributes> but I cannot find any documentation or examples of how this is used, or what it does

I have discovered the method T Generic() in the abstract class ToManyBase<T, TChild, TRelationshipAttributes> but I cannot find any documentation or examples of how this is used, or what it does. Can a开发者_JAVA技巧nyone enlighten me a bit?


Nothing of significance.

It's the equivalent of the NHibernate generic= attribute, which is simply away of explicitly specifying that a collection is a generic one. A holdover from NHibernate's pre-generic days.

0

精彩评论

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