UnitOfWork, DataMapper bolon busad pattern ashiglaj DB ok bolgov. zuvhun PDO adapter belen bgaa.