Add interface for ignoring specific property names to ConventionModelMapper

Description

There is not currently a convenient syntax to ignore some property names ad-hoc. To do so currently requires overriding the isPersistentProperty method with the public API, which necessitates copying a large part of default implementation.

For inspiration, Entity Framework offers two ways to achieve this: 1) respect `System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute`, and 2) `Entity<Model>().Ignore()`.

Environment

None

Activity

Show:

Yufan Lou August 8, 2017 at 12:06 PM

I just realized I am not clear which I wanted: whether to ignore property names or specific properties. I am currently using a solution that ignores property names, but I think it is better to implement ignore of specific properties, which would make a name based filter intuitive to implement.

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created August 8, 2017 at 9:20 AM
Updated August 8, 2017 at 12:06 PM
Who's Looking?