How to serialize multilevel data retrieved from a entity
Hi ,first of all sorry for my bad english.
I retrieve a data using a query from a Entity (source is SqlServer) linked in my wcf app.
This entity contains some linked tables so the resultset of my query (that i exposed in my webservice) is a table.
So,ii i named for example this table Table_A that contains fields:
Field_1 as int
Field_1 as string
Field_ ..
Field_
Field_N-1 is a Table_B 1-->1 element
Field_N is a Table_C 1--N elements
Then , Table_C contains sub resultset and so on.
the structure are multilevel.
Over serialization of my webservices i noted that only table_B obtain data (1 result) while Table_C (that have a multiple record) is not visible and this in not serialized.
Actually i solved remapping those originary tables (that are automatically created an ddefined by visual studio) in a equivalent class tables and making a mimrroring: this used large time ...
there are solutions for this?
tks in advance