public virtual ulong Save(ulong transactionId, BrightstarProfiler profiler) { using (profiler.Step("BPlusTree.Save")) { _isDirty = false; _nodeCache.Clear(); return(RootId); } }
public void NodeCache_LoadUaDefinedTypes() { INodeCache nodeCache = Session.NodeCache; Assert.IsNotNull(nodeCache); // clear node cache nodeCache.Clear(); // load the predefined types nodeCache.LoadUaDefinedTypes(Session.SystemContext); // reload the predefined types nodeCache.LoadUaDefinedTypes(Session.SystemContext); }