private ServerXObjectRoot CreateAndLoadRoot()
        {
#if DEBUG
            var root = new ServerXObjectRoot(new Guid("00000000-0000-0000-0000-0123456789AB"));
#else
            var root = new ServerXObjectRoot(Guid.NewGuid());
#endif

            using (var st = CreateStorage())
            {
                foreach (var record in st.LoadRoot())
                {
                    var rt = record;
                    root.Add(rt.Kind, rt.Uid);
                    m_parents[rt.Uid] = root.Uid;
                }
            }
            m_objects.Add(root.Uid, root);
            return(root);
        }
 public virtual void Reset()
 {
     m_serverObjectSaved = null;
     m_root = null;
     m_objects.Clear();
 }
        private ServerXObjectRoot CreateAndLoadRoot()
        {
            #if DEBUG
            var root = new ServerXObjectRoot(new Guid("00000000-0000-0000-0000-0123456789AB"));
            #else
            var root = new ServerXObjectRoot(Guid.NewGuid());
            #endif

            using (var st = CreateStorage())
            {
                foreach (var record in st.LoadRoot())
                {
                    var rt = record;
                    root.Add(rt.Kind, rt.Uid);
                    m_parents[rt.Uid] = root.Uid;
                }
            }
            m_objects.Add(root.Uid, root);
            return root;
        }
 public virtual void Reset()
 {
     m_serverObjectSaved = null;
     m_root = null;
     m_objects.Clear();
 }