Пример #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));
 }
Пример #2
0
 public void AddParameterProfile(ParameterProfile profile)
 {
     this.parameterProfileList.Add(profile);
 }