public static void IgnoreNonCollectionNavigation(InternalEntityBuilder entityBuilder) { if (entityBuilder.Metadata.Type == typeof(MultipleNavigationsSecond)) { entityBuilder.Ignore(NonCollectionNavigationProperty.Name, ConfigurationSource.DataAnnotation); } }
public static void IgnoreNavigation(InternalEntityBuilder entityBuilder) { if (entityBuilder.Metadata.Type == typeof(OneToManyDependent)) { entityBuilder.Ignore(NavigationProperty.Name, ConfigurationSource.DataAnnotation); } }