Example #1
0
 /// <summary>Evaluates the given expression enlisted within the specified application transaction.</summary>
 public DAE.Runtime.Data.Scalar EvaluateScalarWith(IServerProcess process, Guid iD, string expression, DAE.Runtime.DataParams paramsValue)
 {
     if (process == null)
     {
         process = DataSession.UtilityProcess;
     }
     process.JoinApplicationTransaction(iD, false);
     try
     {
         return(EvaluateScalar(process, expression, paramsValue));
     }
     finally
     {
         process.LeaveApplicationTransaction();
     }
 }