/// <summary> /// Gets an internal object representing a scalar or complex property. /// The property may be a nested property on the given <see cref="InternalPropertyEntry" />. /// </summary> /// <param name="parentProperty"> The parent property entry, or null if this is a property directly on the entity. </param> /// <param name="propertyName"> Name of the property. </param> /// <param name="requestedType"> The type of object requested, which may be null or 'object' if any type can be accepted. </param> /// <param name="requireComplex"> /// if set to <c>true</c> then the found property must be a complex property. /// </param> /// <returns> The entry. </returns> public InternalPropertyEntry Property( InternalPropertyEntry parentProperty, string propertyName, Type requestedType, bool requireComplex) { return(Property(parentProperty, propertyName, SplitName(propertyName), requestedType, requireComplex)); }