offline object creation

Posts   
 
    
Andrei
User
Posts: 7
Joined: 19-Jan-2007
# Posted on: 19-Jan-2007 05:15:51   

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.

Thanks.

smile

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 19-Jan-2007 09:31:26   

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.