public QueryCustomEntityHandler(DbCommandData data)
 {
     _data       = data;
     _autoMapper = new AutoMapper(_data, typeof(TEntity));
 }