public Parser(IQueryable source, string predicate, params object[] parameters) : base(GetDataContext(source), predicate, ConvertToObjectParameters(parameters)) { p = ExpressionUtility.CreateParameter(source.ElementType); this.source = source; }
public ActualTypeReplacer(Type oldType, Type newType) { this.newType = newType; this.oldType = oldType; this.parameter = ExpressionUtility.CreateParameter(newType); }