ORM layer extension for Nette\Database