Reintroduce virtual protected methods #203

be-philippe opened this Issue Jan 11, 2013 · 0 comments


None yet

1 participant


In version 1.1, I designed classes deriving from MapClass and SubmapClass to handle default behaviours in my class library.
Among other things, this implied to override protected methods such as

    protected override OneToManyPart<TChild> HasMany<TChild>(Member member)
        return MapHelper.HasMany<TChild>(member, base.HasMany<TChild>(member));

    protected override PropertyPart Map(Member property, string columnName)
        return MapHelper.Map(property, base.Map(property, columnName));

MapHelper then adds what is needed to the xxxPart.

In version 1.3, these are now private.
Is is possible to modify these back to virtual protected ?
Is there now another way to handle these situations ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment