예제 #1
0
 public CachedEntityService(VolvoxHeliosContext context,
                            EntityChangedDispatcher <T> dispatch,
                            ICache cache)
     : base(context, dispatch)
 {
     _cache = cache;
 }
 public CachedEntityService(VolvoxHeliosContext context,
                            EntityChangedDispatcher <T> dispatch,
                            ICache cache)
     : base(context, dispatch)
 {
     _cache = cache;
     _cacheExpressionKeys = new Dictionary <string, IList <string> >();
 }
 /// <summary>
 ///     Initialize a new EntityService class.
 /// </summary>
 /// <param name="context">Volvox.Helios context.</param>
 protected EntityServiceBase(VolvoxHeliosContext context,
                             EntityChangedDispatcher <T> dispatch)
 {
     Context  = context;
     Dispatch = dispatch;
 }
예제 #4
0
 /// <summary>
 ///     Initialize a new EntityService class.
 /// </summary>
 /// <param name="context">Volvox.Helios context.</param>
 public EntityService(VolvoxHeliosContext context,
                      EntityChangedDispatcher <T> dispatch)
     : base(context, dispatch)
 {
 }