Skip to content

Rules not working on inherited properties #112

@WouterThys

Description

@WouterThys

When setting rules for properties which are defined in an abstract parent class, they are not applied to the base class..

AbstractBaseObject is defined as

public abstract class AbstractBaseObject 
{
    protected long id;
    protected string code;

    public long Id 
    {
        get => id;
        set => id = value;
    }

    public string Code 
    {
        get => code ?? "";
        set => code = value;
    }

}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions