entity framework - Returning subclassed entities from Ria Services -
i have entityimplements inherits entitybase
anyone know how can properties (they complex properties if matters) of entityimplements client side?
when query data both entity types, cant property unique entityimplements
i assume metadata issue
i tried adding class , metadata (which may have bungled) entity2 (default creates metadata base entity) no avail.
my next step try define query returns entityimplements causes lots of other issues.
help please
ok, think solved it.
here had do.
in metadata file of domainservice base class unseal sub new (or change friend in vb)
create partial class name of sub class (which not auto gened)
have partial class inherit base class have metadata class inherit baseclass.baseclassmetadata
in metadata portion of subclass, add properties not implimented base class, , annotate include needed, etc.
Comments
Post a Comment