المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Generate DataContract classes for WCF services?



C# Programming
10-30-2009, 11:10 AM
Hi
Usually, I generate classes from XSDschema and include those class files in my project. But I am trying to understand how to generate those classes for WCF service.

The issue is related to all those attributes (like DataContract, DataMember etc.) which DataContact needs. Regular xsd to C# code generation tools like XSD.exe don’t have provision of putting those attributes.

Are there other tools out there which can be used to create DataContract from xsd? Please advice. Thanks

Pankaj


Follow your goals, Means will follow you ---Gandhi---