Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Drc on May 11, 2005, 06:34:45 am

Title: Problem- reverse engeneering in C# with attributes
Post by: Drc on May 11, 2005, 06:34:45 am
I have this class declaration:
[Serializable]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(TranslationSearchDefinition))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FeatureSearchDefinition))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ProjectSearchDefinition))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(DisplayTextSearchDefinition))]
public abstract class SearchDefinition: ICloneable
{
... something
}

When I try to synchronize this class from code to EA (in database), I get error message "String or binary data would be truncated". If I remove these attributes, synchronization passes.
Title: Re: Problem- reverse engeneering in C# with attrib
Post by: Eve on May 17, 2005, 08:57:22 pm
Hello Drc,

Thanks, we'll fix the problem for the next build of EA.

Simon