C# 클래스 EPiCode.Relations.Core.RelationProviders.DynamicDataStoreProvider.DDSRelationProvider

상속: RelationProviderBase
파일 보기 프로젝트 열기: BVNetwork/Relations

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