public DbCommand(
			DbContext dbContext,
			System.Data.IDbCommand innerCommand)
		{
			Data = new DbCommandData(dbContext, innerCommand);
			Data.ExecuteQueryHandler = new ExecuteQueryHandler(this);
		}
 internal AutoMapper(DbCommandData dbCommandData, Type itemType)
 {
     _dbCommandData = dbCommandData;
     _reader = dbCommandData.Reader.InnerReader;
     _properties = ReflectionHelper.GetProperties(itemType);
     _fields = DataReaderHelper.GetDataReaderFields(_reader);
 }
 public QueryScalarHandler(DbCommandData data)
 {
     _data = data;
 }
 public QueryDynamicHandler(DbCommandData data)
 {
     _data       = data;
     _autoMapper = new DynamicTypeAutoMapper(_data.Reader.InnerReader);
 }