private void Process( IConventionEntityTypeBuilder entityTypeBuilder, MemberInfo navigationMemberInfo, Type targetClrType, InversePropertyAttribute attribute) { if (!entityTypeBuilder.CanHaveNavigationBase( navigationMemberInfo.GetSimpleMemberName(), fromDataAnnotation: true)) { return; } var targetEntityTypeBuilder = ((InternalEntityTypeBuilder)entityTypeBuilder).GetTargetEntityTypeBuilder( targetClrType, navigationMemberInfo, ConfigurationSource.DataAnnotation); if (targetEntityTypeBuilder == null) { return; } ConfigureInverseNavigation(entityTypeBuilder, navigationMemberInfo, targetEntityTypeBuilder, attribute); }