If you have a entity with a nested entity, you can show the nested entity’s properties with a little trick.
For example if you have these business objects:
public class MyObj
{
public MyOtherObj MyProperty { get; set; }
}
public class MyOtherObj
{
public int SomeProperty { get; set; }
}
If you want to show a field from MyProperty (e.g. MyOtherObj.SomeProperty), and MyObj is your report’s datasource, your report fieldbox will need to look like this:
First(Fields!MyProperty.Value.SomeProperty)
(NOTE: do not add “.Value” onto the end of the property name as normal, it will produce a #error at runtime).
