Hi
I have a class named Filter in my web service which contains DateTime type properties. When I am calling GenerateScriptType(typeof(Filter)) it is throwing a run time error which is
Using the GenerateScriptTypes attribute is not supported for types in the following categories: primitive types; DateTime; generic types taking more than one parameter; types implementing IEnumerable or IDictionary; interfaces; Abstract classes; classes without a public default constructor.
My class is not abstract,is not implementing IEnumerable or IDictionary. Only match i am seeing is it has datetime properties.
Is there a workwround for this?
Thanks and Regards
Binil
...
Go to the complete details ...