dtretyakov / WindowsAzure

.NET library aimed at managing and querying entities from Windows Azure Storage. It can be used as LINQ to Azure Tables.
MIT License
64 stars 27 forks source link

Ignoring a property is not properly respected #45

Closed richiej84 closed 7 years ago

richiej84 commented 8 years ago

If your model has an unsupported property type on it (e.g. an enum or another class) then you should be able to mark this property as being ignored (it can then still be used by your application). However, due to the way the EntityTypeMap auto-maps its properties on construction it doesn't know that the property is to be ignored (this is only found out after construction).

I'm guessing this is quite a sizable change but am thinking the best way would be to separate evaluation an building of the entity mapping from that of the mapping config itself, i.e the mapping config just becomes dumb and something else evaluates this.