wcf - Implement IExtensibleDataObject on a Base class -


we have several wcf services expose our domain model directly across wire. in other words, don't have layer of dtos map between our domain , service layers. have no choice directly decorate our domain objects [datacontract] , [datamember]. want implement iextensibledataobject on of our domain objects exposed on wire. sees wrong implementing iextensibledataobject on base class? have:

[datacontract] public entitybase:iextensibledataobject{///iextensibledataobject impl}  [datacontract]  public person:entitybase{}  [datacontract] public employee:person{} 

thanks in advance

thanks matt. guess know works fine, questions more related soa design. know in oo world fine, since domain objects serving dtos i'm worried adding inheritance chain lead issues down road. else implementing iextensibledataobject? if so, implementing iextensibledataobject on datacontracts or on base class?


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

c++ - Convert big endian to little endian when reading from a binary file -