@@ -61,7 +61,7 @@ public void Clear()
6161 /// <param name="key">The entity key for which to locate any defined subselect fetch.</param>
6262 /// <returns>The fetch descriptor; may return null if no subselect fetch queued for
6363 /// this entity key.</returns>
64- public SubselectFetch GetSubselect ( EntityKey key )
64+ public SubselectFetch GetSubselect ( in EntityKey key )
6565 {
6666 SubselectFetch result ;
6767 subselectsByEntityKey . TryGetValue ( key , out result ) ;
@@ -73,7 +73,7 @@ public SubselectFetch GetSubselect(EntityKey key)
7373 /// </summary>
7474 /// <param name="key">The entity for which to register the subselect fetch.</param>
7575 /// <param name="subquery">The fetch descriptor.</param>
76- public void AddSubselect ( EntityKey key , SubselectFetch subquery )
76+ public void AddSubselect ( in EntityKey key , SubselectFetch subquery )
7777 {
7878 subselectsByEntityKey [ key ] = subquery ;
7979 }
@@ -84,7 +84,7 @@ public void AddSubselect(EntityKey key, SubselectFetch subquery)
8484 /// call this after loading the entity, since we might still
8585 /// need to load its collections)
8686 /// </summary>
87- public void RemoveSubselect ( EntityKey key )
87+ public void RemoveSubselect ( in EntityKey key )
8888 {
8989 subselectsByEntityKey . Remove ( key ) ;
9090 }
@@ -111,7 +111,7 @@ public void ClearSubselects()
111111 /// referenced entity to be included in a batch even though it is
112112 /// already associated with the <see cref="ISession" />.
113113 /// </remarks>
114- public void AddBatchLoadableEntityKey ( EntityKey key )
114+ public void AddBatchLoadableEntityKey ( in EntityKey key )
115115 {
116116 if ( key . IsBatchLoadable )
117117 {
@@ -129,7 +129,7 @@ public void AddBatchLoadableEntityKey(EntityKey key)
129129 /// need to batch fetch it anymore, remove it from the queue
130130 /// if necessary
131131 /// </summary>
132- public void RemoveBatchLoadableEntityKey ( EntityKey key )
132+ public void RemoveBatchLoadableEntityKey ( in EntityKey key )
133133 {
134134 if ( key . IsBatchLoadable )
135135 {
0 commit comments