Exemplo n.º 1
0
 public IEnumerable <IRelationById> GetParentRelations(HiveId childId, RelationType relationType)
 {
     return(UnitScopedCache.GetOrCreateTyped(
                "erg_GetParentRelations" + childId + (relationType != null ? relationType.RelationName : "any_relationtype"),
                () => ChildSessions.GetParentRelations(childId, IdRoot, relationType)));
 }
 public IEnumerable <IRelationById> GetParentRelations(HiveId childId, RelationType relationType)
 {
     return(ChildSessions.GetParentRelations(childId, IdRoot, relationType));
 }