internal QueryMapperVisitor(Type sourceType, Type destinationType, IQueryable destQuery, IConfigurationProvider config)
 {
     _sourceType        = sourceType;
     _destinationType   = destinationType;
     _destQuery         = destQuery;
     _instanceParameter = Expression.Parameter(destinationType, "dto");
     _memberVisitor     = new MemberAccessQueryMapperVisitor(this, config);
 }
Esempio n. 2
0
 internal QueryMapperVisitor(Type sourceType, Type destinationType, IQueryable destQuery,
                             IMappingEngine mappingEngine)
 {
     _sourceType        = sourceType;
     _destinationType   = destinationType;
     _destQuery         = destQuery;
     _instanceParameter = Expression.Parameter(destinationType, "dto");
     _memberVisitor     = new MemberAccessQueryMapperVisitor(this, mappingEngine);
 }