@@ -267,7 +267,7 @@ internal override Expression VisitStructureFieldExpression(StructureFieldExpress
267
267
return Expression . Convert (
268
268
Expression . Call (
269
269
WellKnownMembers . CreateStructure ,
270
- Expression . Field ( itemMaterializationContextParameter , ItemMaterializationContext . SessionFieldInfo ) ,
270
+ Expression . Property ( itemMaterializationContextParameter , ItemMaterializationContext . SessionPropertyInfo ) ,
271
271
Expression . Constant ( expression . Type ) ,
272
272
persistentTupleExpression ) ,
273
273
expression . Type ) ;
@@ -313,7 +313,7 @@ internal override Expression VisitStructureExpression(StructureExpression expres
313
313
return Expression . Convert (
314
314
Expression . Call (
315
315
WellKnownMembers . CreateStructure ,
316
- Expression . Field ( itemMaterializationContextParameter , ItemMaterializationContext . SessionFieldInfo ) ,
316
+ Expression . Property ( itemMaterializationContextParameter , ItemMaterializationContext . SessionPropertyInfo ) ,
317
317
Expression . Constant ( expression . Type ) ,
318
318
persistentTupleExpression ) ,
319
319
expression . Type ) ;
@@ -330,7 +330,7 @@ internal override Expression VisitKeyExpression(KeyExpression expression)
330
330
WellKnownMembers . Key . Create ,
331
331
Expression . Constant ( context . Domain ) ,
332
332
Expression . Property (
333
- Expression . Field ( itemMaterializationContextParameter , ItemMaterializationContext . SessionFieldInfo ) ,
333
+ Expression . Property ( itemMaterializationContextParameter , ItemMaterializationContext . SessionPropertyInfo ) ,
334
334
WellKnownMembers . SessionNodeId ) ,
335
335
Expression . Constant ( expression . EntityType ) ,
336
336
TypeReferenceAccuracyConstantExpression ,
0 commit comments