Skip to content

Reintroduce virtual protected methods #203

Open
@be-philippe

Description

@be-philippe

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions