private PropertyInfo GetPropertyInfo(IPropertyBase efProperty) { if (efProperty.IsShadowProperty()) { return(CreateShadowProperty(efProperty)); } if (efProperty.PropertyInfo == null) { return(efProperty.DeclaringType.ClrType.GetPropertyIgnoreCase(efProperty.Name)); } return(efProperty.PropertyInfo); }
public static bool IsShadowProperty(this IPropertyBase property) => property.IsShadowProperty();