Request for ignore out of synch

Posts   
 
    
Gabbo
User
Posts: 56
Joined: 12-Jun-2006
# Posted on: 17-Nov-2006 18:54:37   

Hi all,

Feature Request: include option to not mark properties out of synch

I know this has been discussed ad naseum, but it would be really nice to have a flag that basically says:

"I take full responsibility for my actions and I realize that my data may be forever corrupt by doing this, but when I do this save, I really want you to not refresh my data from the database or mark all my existing properties as out of synch when I don't refresh from the database. I also understand that Otis really recommends that we don't do this, and I indemnify him and his family and his heirs from all legal reprecussions from my potentially stupid actions".

stuck_out_tongue_winking_eye

For developers that truly understand the ramifications of their actions this allows them to use the entity objects without having to make additional calls to the database. I find myself pulling data into local variables for use after the commit when the pieces of data I want are from multiple objects/tables and I don't want to incur the expense off pulling the data again.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 18-Nov-2006 12:02:04   

This feature is indeed already requested and I've added it to the todolist with prio 10, which means it's on the list for v2.1. I'll add a global flag which will make a saved entity which isn't fetched again as Fetched instead of outofsync.

Frans Bouma | Lead developer LLBLGen Pro