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