Exemplo n.º 1
0
        protected ObjectArrayBackedEventBean LockTableReadAndGet(object group, ExprEvaluatorContext context)
        {
            TableAndLockGrouped tableAndLockGrouped = _provider.Get();

            ExprTableEvalLockUtil.ObtainLockUnless(tableAndLockGrouped.Lock, context);
            return(tableAndLockGrouped.Grouped.GetRowForGroupKey(group));
        }
 protected TableInstanceGrouped LockTableRead(ExprEvaluatorContext context) {
     var tableAndLockGrouped = _provider.Get();
     TableEvalLockUtil.ObtainLockUnless(tableAndLockGrouped.Lock, context);
     return tableAndLockGrouped.Grouped;
 }