Ketan Kolte

Ketan Kolte

  • 1.2k
  • 513
  • 2.6k

Ignoring Properties at runtime in .net efcore and Odata

Apr 3 2024 11:44 AM

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)