entity framework 4.1 - EF: Reconnect to database if disconnected -
is there in ef 4.1 allows reconnect database should connection broken. if can ef remember wasn't yet committed , commit once reconnected?
if not there way can program occurrence not lose data?
when connection broken during saving changes exception. whole saving done in transaction not committed due exception , ef doesn't mark current changes set completed. can try save changes again - ef try open new connection , execute same transaction.
Comments
Post a Comment