Example #1
0
 public virtual ulong Save(ulong transactionId, BrightstarProfiler profiler)
 {
     using (profiler.Step("BPlusTree.Save"))
     {
         _isDirty = false;
         _nodeCache.Clear();
         return(RootId);
     }
 }
Example #2
0
        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);
        }