Book a Demo

Author Topic: Problem- reverse engeneering in C# with attributes  (Read 2895 times)

Drc

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Problem- reverse engeneering in C# with attributes
« 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.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8098
  • Karma: +118/-20
    • View Profile
Re: Problem- reverse engeneering in C# with attrib
« Reply #1 on: May 17, 2005, 08:57:22 pm »
Hello Drc,

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

Simon