I am evaluating your product. I could not figure out if you support offline object creation (with temp ids) so later they could be saved into the database with id updates. I thought your UnitOfWork would do the trick, but it seems that I need to be connected to the database when I need to create entity objects.
You don't need to be connected to the database when you create an entity in memory.
You only need to be connected when saving, fetching or deleting entities.
PK is not needed when you create an object offline.