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); } }
public void RetractAllLinked(IEnumerable <KeyValuePair <object, object> > keyedFacts) { _session.RetractLinked(Activation, keyedFacts); }
public void RetractLinked(object key, object fact) { _session.RetractLinked(Activation, key, fact); }