public IEnumerable <IRelationById> GetAncestorRelations(HiveId descendentId, RelationType relationType) { return(UnitScopedCache.GetOrCreateTyped( "erg_GetAncestorRelations" + descendentId + (relationType != null ? relationType.RelationName : "any_relationtype"), () => ChildSessions.GetAncestorRelations(descendentId, IdRoot, relationType))); }
public IEnumerable <IRelationById> GetAncestorRelations(HiveId descendentId, RelationType relationType) { return(ChildSessions.GetAncestorRelations(descendentId, IdRoot, relationType)); }