如何以只读模式打开持久字典,以便多个进程可以同时从中读取数据?
问问题
361 次
1 回答
0
At the moment, you can't.
If you are interested in making the changes, you'd need to change PersistentDictionary.CheckDatabaseMetaData()'s call to Api.JetAttachDatabase() and Api.JetOpenDatabase(). You'd have to change the grbits being passed to those functions.
Unfortunately if you do make the fix, I don't think your code can be shared for the rest of the community. MS's policy used to be that we can't accept source-code contributions from outside. I have heard that it may no longer be true, but I would need to confirm it.
How important is it?
-martin
于 2014-08-04T15:41:12.237 回答