It can be quite confusing to look at a class and notice that some members are missing [Field] or similar attributes... only to later realize that this is because these attributes are declared on the interface members. DO currently doesn't allow attributes to be duplicated on both the interface and class members.

Would it be possible to remove this limitation? Is it simple, or too much work?

asked Dec 17 '10 at 04:25

ara's gravatar image


edited Jan 04 '11 at 16:02

Sergey's gravatar image


One Answer:

It is allowed, AFAIR, but your attributes must not conflict, for example Nullable = false in the interface, and Nullable = true in the Entity

answered Dec 17 '10 at 05:12

xumix's gravatar image



Which version of DataObjects.Net are you using, Ara?

(Dec 17 '10 at 06:26) Dmitri Maximov Dmitri%20Maximov'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


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



Asked: Dec 17 '10 at 04:25

Seen: 9,045 times

Last updated: Jan 04 '11 at 16:02

powered by OSQA