C# Class EPiCode.Relations.Core.RelationProviders.DynamicDataStoreProvider.DDSRelationProvider

Inheritance: RelationProviderBase
Afficher le fichier Open project: BVNetwork/Relations

Private Properties

Свойство Type Description
DDSRelationProvider System
EnsureKey void
GetCacheKey string
GetFromCache object
RemovedCallback void
SetKey void
SetKey void
StoreInCache void
UpdateCache void
UpdateLocalOnly void
UpdateRemoteOnly void
ValidationFilter void

Méthodes publiques

Méthode Description
AddRelation ( string rule, int pageLeft, int pageRight ) : void
DeleteAll ( ) : void
DeleteAll ( string rule ) : void
DeleteRelation ( Relation relationToDelete ) : void
GetAllRelations ( string rule ) : List
GetRelation ( Identity id ) : Relation
GetRelation ( string rule, int pageLeft, int pageRight ) : Relation
GetRelationPagesForPage ( int pageID, Rule rule ) : List
GetRelationPagesForPage ( int pageID, Rule rule, Rule direction ) : List
GetRelationsCount ( string rule ) : int
GetRelationsForPage ( int pageID ) : List
GetRelationsForPage ( int pageID, Rule rule ) : List
GetRelationsForPage ( int pageID, Rule rule, Rule direction ) : List
GetRelationsForPageTwoHop ( int pageID, Rule firstRule, Rule firstDirection, Rule secondRule, Rule secondDirection ) : List
RelationExists ( string rule, int pageLeft, int pageRight ) : bool
Save ( Relation relation ) : void

Private Methods

Méthode Description
DDSRelationProvider ( ) : System
EnsureKey ( ) : void
GetCacheKey ( int pageid, string rule, Rule direction ) : string
GetFromCache ( string cacheKey ) : object

Will get the pages from the cache, if it exists.

RemovedCallback ( string key, object value, CacheItemRemovedReason reason ) : void
SetKey ( ) : void
SetKey ( long value ) : void
StoreInCache ( string cacheKey, object relations ) : void
UpdateCache ( ) : void
UpdateLocalOnly ( ) : void
UpdateRemoteOnly ( ) : void
ValidationFilter ( List relations ) : void

Method Details

AddRelation() public méthode

public AddRelation ( string rule, int pageLeft, int pageRight ) : void
rule string
pageLeft int
pageRight int
Résultat void

DeleteAll() public méthode

public DeleteAll ( ) : void
Résultat void

DeleteAll() public méthode

public DeleteAll ( string rule ) : void
rule string
Résultat void

DeleteRelation() public méthode

public DeleteRelation ( Relation relationToDelete ) : void
relationToDelete Relation
Résultat void

GetAllRelations() public méthode

public GetAllRelations ( string rule ) : List
rule string
Résultat List

GetRelation() public méthode

public GetRelation ( Identity id ) : Relation
id Identity
Résultat Relation

GetRelation() public méthode

public GetRelation ( string rule, int pageLeft, int pageRight ) : Relation
rule string
pageLeft int
pageRight int
Résultat Relation

GetRelationPagesForPage() public méthode

public GetRelationPagesForPage ( int pageID, Rule rule ) : List
pageID int
rule Rule
Résultat List

GetRelationPagesForPage() public méthode

public GetRelationPagesForPage ( int pageID, Rule rule, Rule direction ) : List
pageID int
rule Rule
direction Rule
Résultat List

GetRelationsCount() public méthode

public GetRelationsCount ( string rule ) : int
rule string
Résultat int

GetRelationsForPage() public méthode

public GetRelationsForPage ( int pageID ) : List
pageID int
Résultat List

GetRelationsForPage() public méthode

public GetRelationsForPage ( int pageID, Rule rule ) : List
pageID int
rule Rule
Résultat List

GetRelationsForPage() public méthode

public GetRelationsForPage ( int pageID, Rule rule, Rule direction ) : List
pageID int
rule Rule
direction Rule
Résultat List

GetRelationsForPageTwoHop() public méthode

public GetRelationsForPageTwoHop ( int pageID, Rule firstRule, Rule firstDirection, Rule secondRule, Rule secondDirection ) : List
pageID int
firstRule Rule
firstDirection Rule
secondRule Rule
secondDirection Rule
Résultat List

RelationExists() public méthode

public RelationExists ( string rule, int pageLeft, int pageRight ) : bool
rule string
pageLeft int
pageRight int
Résultat bool

Save() public méthode

public Save ( Relation relation ) : void
relation Relation
Résultat void