~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/CacheAccess/IPersistenceProviderCache.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.Collections;
 
3
using System.Collections.Generic;
 
4
 
 
5
namespace ServiceStack.CacheAccess
 
6
{
 
7
        public interface IPersistenceProviderCache
 
8
        {
 
9
                TEntity GetById<TEntity>(object entityId)
 
10
                        where TEntity : class, new();
 
11
 
 
12
                List<TEntity> GetByIds<TEntity>(ICollection entityIds)
 
13
                        where TEntity : class, new();
 
14
 
 
15
                void SetCache<TEntity>(TEntity entity)
 
16
                        where TEntity : class, new();
 
17
 
 
18
                void Store<TEntity>(TEntity entity)
 
19
                        where TEntity : class, new();
 
20
 
 
21
                void StoreAll<TEntity>(params TEntity[] entities)
 
22
                        where TEntity : class, new();
 
23
 
 
24
                void ClearAll<TEntity>(ICollection entityIds)
 
25
                        where TEntity : class, new();
 
26
 
 
27
                void Clear<TEntity>(params object[] entityIds)
 
28
                        where TEntity : class, new();
 
29
        }
 
30
}
 
 
b'\\ No newline at end of file'