public void HasNavigationPropertiesLink(IEnumerable <NavigationPropertyConfiguration> navigationProperties, Func <EntityInstanceContext <TEntityType>, IEdmNavigationProperty, Uri> navigationLinkFactory, bool followsConventions) { if (navigationProperties == null) { throw Error.ArgumentNull("navigationProperties"); } if (navigationLinkFactory == null) { throw Error.ArgumentNull("navigationLinkFactory"); } _configuration.HasNavigationPropertiesLink(navigationProperties, new NavigationLinkBuilder((entity, property) => navigationLinkFactory(UpCastEntityInstanceContext(entity), property), followsConventions)); }