开发者

Has anyone built an nhibernate provider for Microsoft Index Server?

开发者 https://www.devze.com 2022-12-13 09:06 出处:网络
This may be an odd question! But I was wondering if anyone has ever attempted this. I guess the first question most people would ask is why!!

This may be an odd question! But I was wondering if anyone has ever attempted this. I guess the first question most people would ask is why!!

With index server you can add additional meta data to standard file in开发者_如何学Cformation (name, size etc).

I want to be able to expose this information through to a BL component via nhibernate I need to write - so that when I replace the indexing, I don't have to rewrite the Business logic.


In theory, you would extract interface for indexing provider and then create a wrapper and wrap Micorosoft Index Server. Then when you have different provider, you create a wrapper for the new one and use IoC to inject implementation. I fail to see how NHibernate fits into this.

0

精彩评论

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