-1

What is nameof() equivalent for the following expression:

query.Include(x => x.Collection.Select(y => y.Property))
roozbeh S
  • 1,084
  • 1
  • 9
  • 16

1 Answers1

0
 $"{nameof(XType.Collection)}.{nameof(CollectionType.Property)}";

Would probably be the closest thing?

vzwick
  • 11,008
  • 5
  • 43
  • 63