public Csla.Server.DataPortalResult Update(object obj, Csla.Server.DataPortalContext context)
        {
            //evict cache items based on ObjectCacheEvictionAttribute
            RemoveCacheItems(obj.GetType());

            proxy = GetDataPortalProxy();
            return proxy.Update(obj, context);
        }
Esempio n. 2
0
        public Csla.Server.DataPortalResult Update(object obj, Csla.Server.DataPortalContext context)
        {
            //evict cache items based on ObjectCacheEvictionAttribute
            RemoveCacheItems(obj.GetType());

            proxy = GetDataPortalProxy();
            return(proxy.Update(obj, context));
        }
Esempio n. 3
0
        public async Task <DataPortalResult> Update(object obj, Csla.Server.DataPortalContext context, bool isSync)
        {
            //evict cache items based on ObjectCacheEvictionAttribute
            RemoveCacheItems(obj.GetType());

            proxy = GetDataPortalProxy();
            return(await proxy.Update(obj, context, isSync));
        }
        public async Task<DataPortalResult> Update(object obj, Csla.Server.DataPortalContext context, bool isSync)
        {
            //evict cache items based on ObjectCacheEvictionAttribute
            RemoveCacheItems(obj.GetType());

            proxy = GetDataPortalProxy();
            return await proxy.Update(obj, context, isSync);
        }