コード例 #1
0
        public void CanEjectIdentityMap()
        {
            var session = new StubMartenSession();

            CreateSlot().IdentityMap.Store(session, Document);
            CreateSlot().IdentityMap.Eject(session, Document);
        }
コード例 #2
0
        public void CanEjectLightweight()
        {
            var session = new StubMartenSession();

            CreateSlot().Lightweight.Store(session, Document);
            CreateSlot().Lightweight.Eject(session, Document);
        }