src/Shared/EntityFramework/Core/SchemaObjectModel/StructuredType.cs
// <summary>
// Find a property by name in the type hierarchy
// </summary>
// <param name="name"> simple property name </param>
// <returns> the StructuredProperty object if name exists, null otherwise </returns>
Find a property by name in the type hierarchy
Find a property by name in the type hierarchy
public StructuredProperty FindProperty(string name)
        {
            var property = Properties.LookUpEquivalentKey(name);
            if (property != null)
            {
                return property;
            }
            if (IsTypeHierarchyRoot)
            {
                return null;
            }
            return BaseType.FindProperty(name);
        }
public StructuredProperty FindProperty ( string name ) { var property = Properties . LookUpEquivalentKey ( name ) ; if ( property != null ) { return property ; } if ( IsTypeHierarchyRoot ) { return null ; } return BaseType . FindProperty ( name ) ; }
Find a property by name in the type hierarchy
Find a property by name in the type hierarchy
the StructuredProperty object if name exists, null otherwise
the StructuredProperty object if name exists null otherwise
name
string
simple property name
simple property name