Type Conversion error between BusinessEntities Class and DataContract Class

Topics: Service Factory Modeling Edition Forum
Apr 1, 2009 at 5:56 PM

Using a custom class say "Employee" in BusinessEntites Project and  using the same Class as datacontract governed by messagecontract...
At service Implementation while assiging the Employee class instance from BusinessEntities Project Via BusinessLogic Project to DataContract shows type conversion error...says couldnt assign
Employee instanc to Datacontract Class instance...

Do i need to add any attributes are any other options... ?

Please identify my problem...

Thanks in advance...
Developer
Apr 2, 2009 at 9:40 PM
Can you send an example that shows your custom class (no implementation details required, just type signatures) and the generated classes with details of where is throwing the error?

Thanks,
Hernan