public class ConcreteEntity : Entity {
    [Field, NotNullConstraint]
    public AbstractEntity Foo { get; set; }
}

public abstract AbstractEntity : Entity {

}

asked Jan 23 '11 at 17:40

ara's gravatar image

ara
395878791

edited Jan 24 '11 at 10:23

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

And when you create new instance of ConcreteEntity class, do you manually assign value to property Foo ? And if so is this property of some type which is derived (non-abstract) class of base (abstract) class AbstractEntity ?

(Jan 24 '11 at 01:53) Peter Ĺ ulek Peter%20%C5%A0ulek's gravatar image

We will investigate the issue, thanks for the bug report.

(Jan 24 '11 at 10:23) Dmitri Maximov Dmitri%20Maximov's gravatar image

Could you publish a stack trace?

(Jan 26 '11 at 05:11) Alex Yakunin Alex%20Yakunin's gravatar image

One Answer:

Unfortunately, we've failed to reproduce the case.

answered Feb 08 '11 at 04:34

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA