C# ASP.Net MVC dynamic object properties
问题 I am working on a ASP.NET MVC project, with C# , and EF code first. I am required to add dynamic properties to entities. For example - I have a car as a base object. I can add custom properties for it like engine power, length, color etc etc. Properties can be boolean, int, string or select options (ie, i have to create checkbox, input or select html elements when a user inputs values for those properties). Properties must have custom validation rules (i.e., required, number only, range only