Skip to content

DataContract inheritance behaviour #260

Closed Answered by dstelljes
DisplayL asked this question in Q&A
Discussion options

You must be logged in to vote

As long as the derived class has DataContract, Chr.Avro should use any DataMember annotations on both that class and the base class. Whether you add DataContract on the base class is up to you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DisplayL
Comment options

Answer selected by DisplayL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants