src/Shared/EntityFramework/Core/Query/InternalTrees/relpropertyhelper.cs
// <summary>
// Get the rel-properties of this entity and its supertypes (starting from the root)
// </summary>
// <param name="entityType"> the entity type </param>
// <returns> set of rel-properties for this entity type (and its supertypes) </returns>
Get the rel-properties of this entity and its supertypes (starting from the root)
Get the rel - properties of this entity and its supertypes ( starting from the root )
internal IEnumerable<RelProperty> GetRelProperties(EntityTypeBase entityType)
        {
            if (entityType.BaseType != null)
            {
                foreach (var p in GetRelProperties(entityType.BaseType as EntityTypeBase))
                {
                    yield return p;
                }
            }
            foreach (var p in GetDeclaredOnlyRelProperties(entityType))
            {
                yield return p;
            }
        }
internal IEnumerable < RelProperty > GetRelProperties ( EntityTypeBase entityType ) { if ( entityType . BaseType != null ) { foreach ( var p in GetRelProperties ( entityType . BaseType as EntityTypeBase ) ) { yield return p ; } } foreach ( var p in GetDeclaredOnlyRelProperties ( entityType ) ) { yield return p ; } }
Get the rel-properties of this entity and its supertypes (starting from the root)
Get the rel - properties of this entity and its supertypes ( starting from the root )
set of rel-properties for this entity type (and its supertypes)
set of rel - properties for this entity type ( and its supertypes )
entityType
EntityTypeBase
the entity type
the entity type