2
Answers

Ignoring Properties at runtime in .net efcore and Odata

Ketan Kolte

Ketan Kolte

Apr 03
553
1

I want to make "Common.Student" and "xyzProp" dynamic(replaced programmatically), 
I have them as string right now how to handle Type 

var builder = new ODataConventionModelBuilder();
var entity = builder.EntityType<Common.Student>();
entity.Ignore(x => x.xyzProp);

Answers (2)