C# Класс EPiCode.Relations.Core.RelationProviders.DynamicDataStoreProvider.DDSRelationProvider

Наследование: RelationProviderBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DDSRelationProvider System
EnsureKey void
GetCacheKey string
GetFromCache object
RemovedCallback void
SetKey void
SetKey void
StoreInCache void
UpdateCache void
UpdateLocalOnly void
UpdateRemoteOnly void
ValidationFilter void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddRelation() публичный Метод

public AddRelation ( string rule, int pageLeft, int pageRight ) : void
rule string
pageLeft int
pageRight int
Результат void

DeleteAll() публичный Метод

public DeleteAll ( ) : void
Результат void

DeleteAll() публичный Метод

public DeleteAll ( string rule ) : void
rule string
Результат void

DeleteRelation() публичный Метод

public DeleteRelation ( Relation relationToDelete ) : void
relationToDelete Relation
Результат void

GetAllRelations() публичный Метод

public GetAllRelations ( string rule ) : List
rule string
Результат List

GetRelation() публичный Метод

public GetRelation ( Identity id ) : Relation
id Identity
Результат Relation

GetRelation() публичный Метод

public GetRelation ( string rule, int pageLeft, int pageRight ) : Relation
rule string
pageLeft int
pageRight int
Результат Relation

GetRelationPagesForPage() публичный Метод

public GetRelationPagesForPage ( int pageID, Rule rule ) : List
pageID int
rule Rule
Результат List

GetRelationPagesForPage() публичный Метод

public GetRelationPagesForPage ( int pageID, Rule rule, Rule direction ) : List
pageID int
rule Rule
direction Rule
Результат List

GetRelationsCount() публичный Метод

public GetRelationsCount ( string rule ) : int
rule string
Результат int

GetRelationsForPage() публичный Метод

public GetRelationsForPage ( int pageID ) : List
pageID int
Результат List

GetRelationsForPage() публичный Метод

public GetRelationsForPage ( int pageID, Rule rule ) : List
pageID int
rule Rule
Результат List

GetRelationsForPage() публичный Метод

public GetRelationsForPage ( int pageID, Rule rule, Rule direction ) : List
pageID int
rule Rule
direction Rule
Результат List

GetRelationsForPageTwoHop() публичный Метод

public GetRelationsForPageTwoHop ( int pageID, Rule firstRule, Rule firstDirection, Rule secondRule, Rule secondDirection ) : List
pageID int
firstRule Rule
firstDirection Rule
secondRule Rule
secondDirection Rule
Результат List

RelationExists() публичный Метод

public RelationExists ( string rule, int pageLeft, int pageRight ) : bool
rule string
pageLeft int
pageRight int
Результат bool

Save() публичный Метод

public Save ( Relation relation ) : void
relation Relation
Результат void