79468214

Date: 2025-02-26 00:34:26
Score: 2
Natty:
Report link

Do you want to flatten these two classes and bring the elements from the embedded "EnrollmentUser" up to its parent "Enrollment"? If so, you need to either define a class that reflects this structure and use Select to map the data from the nested classes to the flattened class. Alternatively, you can just map the data to an anonymous object if it is only to be used within a single method.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jeff Zola