wcf returns object with null property if I have no breakpoints. Linq to SQL class
Posted on 2009-04-01
I have a problem with my wcf service. My webservice it returning a ticket object. This object has a property called sessions. When i am debugging my stuff and putting in breakpoint everything goes ok but as soon as i remove these breakpoints this sessions is null.
When i put a breakpoint in the service the object is ok but when this object is returned by the service it has some null values.
My classes i try to pass is made from the Linq To Sql designer. Maybe this is related?