get premitive , complex, ArrayEnumerable types
Posted
by john
on Stack Overflow
See other posts from Stack Overflow
or by john
Published on 2010-05-07T05:26:44Z
Indexed on
2010/05/07
5:28 UTC
Read the original article
Hit count: 166
c#
|reflection
i have a separate class for each of my database entities and when i create an object of my class to reference the properties of a class it returns a circular reference which contains properties of other entities too that are related via FK ... to remove the circular reference i want to first make a copy of the object through "context proxy object" copy and then get the primitive, complex, arrayEnumerable types of that object and strip off these types from the object and then the object get returned by web service....
© Stack Overflow or respective owner