Пример #1
0
 public DocumentReader(IDocumentEngine engine, string typeOf)
 {
     Engine = engine;
     Query  = new DocumentQuery(typeOf);
 }
Пример #2
0
 public DocumentReader(IDocumentEngine engine, string typeOf, params object[] primaryOf)
 {
     Engine = engine;
     Query  = new DocumentQuery(typeOf, primaryOf);
 }
Пример #3
0
 public DocumentReader(IDocumentEngine engine)
 {
     Engine = engine;
     Query  = new DocumentQuery();
 }
Пример #4
0
 public virtual string CacheOf(DocumentQuery query)
 {
     return($"objectiks:{Bucket}:{DocumentDefaults.CacheOf}:{query.TypeOf}:{query.GetCacheOfKey()}".ToLowerInvariant());
 }
Пример #5
0
 public abstract T Get <T>(DocumentQuery query);
Пример #6
0
 public abstract void Set <T>(DocumentQuery query, T data);
Пример #7
0
 public abstract void Remove(DocumentQuery query);