Zyrenthian
Programmer
I am currently working with a WCF service and my searches both in this forum as well as on the web have no results specific enough to answer my question. Has anyone successfully passed attributes of a property via nettcp in WCF?
Here is the scenario. I have an attribute class with an ID field. This ID field is only used when I have a DB connection to allow faster queries to the DB for updates. At runtime, when I load my data to be passed over the wire, I use reflection to get me my attribute and set the ID field. I see it get set in on the server but when I access the same field on my client, the attribute is back to null.
I am thinking it is not possible. I am using .NET 3.5
Thanks,
Matt
Here is the scenario. I have an attribute class with an ID field. This ID field is only used when I have a DB connection to allow faster queries to the DB for updates. At runtime, when I load my data to be passed over the wire, I use reflection to get me my attribute and set the ID field. I see it get set in on the server but when I access the same field on my client, the attribute is back to null.
I am thinking it is not possible. I am using .NET 3.5
Thanks,
Matt