Example #1
0
 public static object ConvertToParameterValue(DataRow row, ParameterProfile paramInfo)
 {
     if (string.IsNullOrEmpty(paramInfo.LambdaExpression))
     {
         return(MonadSaveTask.ConvertToParameterValue(row, paramInfo.Reference));
     }
     return(ExpressionCalculator.CalculateLambdaExpression(ExpressionCalculator.BuildColumnExpression(paramInfo.LambdaExpression), typeof(object), row, null));
 }
 public void AddParameterProfile(ParameterProfile profile)
 {
     this.parameterProfileList.Add(profile);
 }