wcf序列化问题,
There was an error while trying to serialize parameter http://www.shiyan56.com:GetProcessLineByIdResult. The InnerException message was 'Type
'System.Data.Entity.DynamicProxies.ProcessLine_376596B54C4C52E7D20DEAE03D96C5BA56D55C89F7D84766AB4831384EBC11E8' with data contract name
'ProcessLine_376596B54C4C52E7D20DEAE03D96C5BA56D55C89F7D84766AB4831384EBC11E8:http://schemas.datacontract.org/2004/07/System.Data.Entity.DynamicProxies' is not expected.
Consider using a DataContractResolver or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list
of known types passed to DataContractSerializer.'. Please see InnerException for more details.
初始wcf,好像是序列化问题,可是不会解决,请大神指点,谢主龙恩!