You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From discussion with @divega and @ajcvickers. We would like to support Entity classes with indexers:
publicclassSomeEntity{publicobjectthis[stringpropertyName]{get{// get value of property named propertyName}set{// set value of property named propertyName}}}
You can then declare an indexed property in OnModelCreating() and have EF use the indexer to access that property, instead of expecting a member. (Note: this addresses parts of issues #2968 and #9914).