public static OeModelBoundProvider?CreateModelBoundProvider(IEdmModel edmModel, int pageSize, bool navigationNextLink) { if (pageSize > 0 || navigationNextLink) { var modelBoundSettingsBuilder = new OeModelBoundSettingsBuilder(); Build(edmModel, modelBoundSettingsBuilder, pageSize, navigationNextLink); return(modelBoundSettingsBuilder.Build()); } return(null); }