WCF Tutorial
Lesson 13 of 236 · Part 7 KnownType attribute in WCF · Database
Part 7 KnownType attribute in WCF
Link for code samples used in the demo
http://csharp-video-tutorials.blogspot.com/2013/11/part-7-knowntype-attribute-in-wcf_24.html
Link for all dot net and sql server video tutorial playlists
http://www.youtube.com/user/kudvenkat/playlists
If we have classes related by inheritance, the wcf service generally accepts and returns the base type. If you expect the service to accept and return inherited types, then use KnownType attribute.
There are other ways of associating known types, which we will discuss in next video session.