Пример #1
0
 public Parser(IQueryable source, string predicate, params object[] parameters)
     : base(GetDataContext(source), predicate, ConvertToObjectParameters(parameters))
 {
     p           = ExpressionUtility.CreateParameter(source.ElementType);
     this.source = source;
 }
Пример #2
0
 public ActualTypeReplacer(Type oldType, Type newType)
 {
     this.newType   = newType;
     this.oldType   = oldType;
     this.parameter = ExpressionUtility.CreateParameter(newType);
 }