Example #1
0
        private static void UnlinkFacts(ISessionInternal session, Activation activation)
        {
            var linkedKeys = session.GetLinkedKeys(activation).ToList();

            foreach (var key in linkedKeys)
            {
                var linkedFact = session.GetLinked(activation, key);
                session.RetractLinked(activation, key, linkedFact);
            }
        }
Example #2
0
 public IEnumerable <object> GetLinkedKeys()
 {
     return(_session.GetLinkedKeys(Activation));
 }