src/Shared/EntityFramework/Core/Mapping/ViewValidator.cs
// <summary>
// Retrieves all complex types that can be constructed as part of the view.
// </summary>
Retrieves all complex types that can be constructed as part of the view.
Retrieves all complex types that can be constructed as part of the view .
private IEnumerable<ComplexType> GetComplexTypes()
            {
                var properties = GetEntityTypes().SelectMany(entityType => entityType.Properties).Distinct();
                return GetComplexTypes(properties);
            }
private IEnumerable < ComplexType > GetComplexTypes ( ) { var properties = GetEntityTypes ( ) . SelectMany ( entityType => entityType . Properties ) . Distinct ( ) ; return GetComplexTypes ( properties ) ; }
Retrieves all complex types that can be constructed as part of the view.
Retrieves all complex types that can be constructed as part of the view .
// Retrieve all top-level properties of entity types constructed in the view.