File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ public static async Task CacheByUniqueKeysAsync(
40
40
41
41
// Use reflection for supporting custom persisters.
42
42
var ukLoadableType = ukLoadable . GetType ( ) ;
43
- var registerMethod = ukLoadableType . GetMethod (
43
+ var cacheByUniqueKeysMethod = ukLoadableType . GetMethod (
44
44
nameof ( AbstractEntityPersister . CacheByUniqueKeysAsync ) ,
45
45
new [ ] { typeof ( object ) , typeof ( ISessionImplementor ) } ) ;
46
- if ( registerMethod != null )
46
+ if ( cacheByUniqueKeysMethod != null )
47
47
{
48
- registerMethod . Invoke ( ukLoadable , new [ ] { entity , session } ) ;
48
+ cacheByUniqueKeysMethod . Invoke ( ukLoadable , new [ ] { entity , session } ) ;
49
49
return ;
50
50
}
51
51
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ public static void CacheByUniqueKeys(
36
36
37
37
// Use reflection for supporting custom persisters.
38
38
var ukLoadableType = ukLoadable . GetType ( ) ;
39
- var registerMethod = ukLoadableType . GetMethod (
39
+ var cacheByUniqueKeysMethod = ukLoadableType . GetMethod (
40
40
nameof ( AbstractEntityPersister . CacheByUniqueKeys ) ,
41
41
new [ ] { typeof ( object ) , typeof ( ISessionImplementor ) } ) ;
42
- if ( registerMethod != null )
42
+ if ( cacheByUniqueKeysMethod != null )
43
43
{
44
- registerMethod . Invoke ( ukLoadable , new [ ] { entity , session } ) ;
44
+ cacheByUniqueKeysMethod . Invoke ( ukLoadable , new [ ] { entity , session } ) ;
45
45
return ;
46
46
}
47
47
You can’t perform that action at this time.
0 commit comments