1

Closed

Provide api to specify options to disable generating Edit links when using Conventional model builder

description

In the following scenario, i would like to not generate edit links for Suppliers.

ODataModelBuilder modelBuilder = new ODataConventionModelBuilder();
modelBuilder.EntitySet<Product>("Products");
modelBuilder.EntitySet<ProductFamily>("ProductFamilies");
modelBuilder.EntitySet<Supplier>("Suppliers");
Closed Apr 2 at 12:28 AM by HongmeiG
dup of 519, which is already fixed.

comments

HongmeiG wrote Oct 26, 2012 at 12:53 AM

this is a duplicate issue.

HongmeiG wrote Oct 26, 2012 at 12:54 AM

similar to 519.

HongmeiG wrote Dec 14, 2012 at 9:03 PM

user can return null in the edit link function to work around it. So punting to vNext.