Consider adding Ignore method directly on lightweight property configurations


This is based on customer feedback located here.

The idea is to enable doing something like this:
    .Where(p => p.GetCustomAttribute<ColumnAttribute>() == null))
    .Configure(p => p.Ignore());
Instead of having to do something like this:
    .Configure(conf => conf
        .Where(p => p.GetCustomAttribute<ColumnAttribute>() == null)
        .ForEach(p => conf.Ignore(p)));


MassoudMario wrote Jun 29, 2013 at 1:41 PM

Hi, that will be a nice feature if it will be included, specially in large, enterprise code-first models.

shrazaghi wrote Jun 30, 2013 at 9:48 AM

in code-first model this will be very useful pattern, and more understandable.

RoMiller wrote Jul 3, 2013 at 11:17 PM

EF Team Triage: We agree that this would be good to enable. Given we are closing down the EF6 release we're moving it to the Future release to re-triage after EF6.