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