开发者

Lucene.NET through NHibernate.Search and POCO Entities

开发者 https://www.devze.com 2022-12-21 09:12 出处:网络
Is there anyway to keep true POCO Entities while working with Lucene.NET through NHibernate.Search ? It seems that Lucene.NET (NHibernate.Search) mapping only work with Att开发者_JAVA技巧ributes with

Is there anyway to keep true POCO Entities while working with Lucene.NET through NHibernate.Search ?

It seems that Lucene.NET (NHibernate.Search) mapping only work with Att开发者_JAVA技巧ributes within Entity classes.


Actually this was true, not too long ago. However, there are different mapping providers out there. Take a look into the source code for the Mapping namespace. You will have to build your own provider but it is possible.

0

精彩评论

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