public IEnumerable <T> GetAll(string connectionString, IQueryUnitOfWork queryUnitOfWork) { return(queryUnitOfWork.LoadData <T>($"{ GetAllFrom } { GetEntity(false) }", connectionString)); }
public IEnumerable <T> GetAllWhereJoined(string whereClause, string connectionString, IQueryUnitOfWork queryUnitOfWork, string entity) { return(queryUnitOfWork.LoadData <T>($"{ GetAllFromModelsPictures } { GetEntity(true) } { whereClause }", connectionString)); }