Skip to content

Commit

Permalink
优化track remove
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejmnet committed Jul 9, 2023
1 parent 8a969f2 commit b10ca53
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public interface TrackContext {

EntityState addQueryTracking(Object entity);

/**
* 只要不在当前上下文那么就是返回true
* @param entity
* @return
*/
boolean removeTracking(Object entity);

void release();
Expand Down

0 comments on commit b10ca53

Please sign in to comment.