'Xtensive.Orm.Validation.NotNullConstraint' is not an attribute class

asked Feb 27 '15 at 04:22

Bhavini's gravatar image

Bhavini
5556

edited Feb 27 '15 at 04:23


One Answer:

Hello Bhavini.

It is an attribute. Why do you so?

answered Feb 27 '15 at 04:37

Alexey%20Kulakov's gravatar image

Alexey Kulakov
70215

OK. Tell me the version of DataObjects.Net you use and I'll try to find out what was happened in your case.

(Feb 27 '15 at 07:14) Alexey Kulakov Alexey%20Kulakov's gravatar image

the version of DataObjects.Net is 4.4.0.0

(Feb 27 '15 at 23:16) Bhavini Bhavini's gravatar image

Our constraints are based on PostSharp aspects. Those aspects are inherited from System.Attribute. Did you add reference to PostSharp library?

(Mar 02 '15 at 21:52) Alexey Kulakov Alexey%20Kulakov's gravatar image
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

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×3

Asked: Feb 27 '15 at 04:22

Seen: 2,075 times

Last updated: Mar 02 '15 at 21:52

powered by OSQA