tags:

views:

28

answers:

0

I'm trying to render the contents of a generated LinqToXsd class into a custom system.Windows.forms.Propertygrid

I've created the converter class by inheriting system.Componentmodel.ExpandableObjectConverter and all is well there.

My problem is trying to apply the TypeConverterAttribute to the LinqToXsd generated class as this gets regenerated at each compile.

How can I apply the attribute without it being removed when the LinqToXsd class is regenerated?

Many thanks.