Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个监听端口的 DB4O 服务器
IObjectServer server = Db4oClientServer.OpenServer("filename.db40", 11978);
我如何注册回调?例如,如何在读取或存储对象之前执行一些自定义代码?
您应该使用 EventRegistryFactory.ForObjectContainer(objectContainer);
欲了解更多信息,请阅读此处:
http://developer.db4o.com/Documentation/Reference/db4o-7.13/net35/reference/html/reference/implementation_strategies/callbacks/event_registry_api.html
最好的