Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Eco and Serialization

1 view
Skip to first unread message

Ramtin Kazemi

unread,
Dec 24, 2006, 4:06:39 PM12/24/06
to
Hi
I defined two class in eco package and marked them as [Serializable] as
follows:

[Serializable]
[UmlElement(Id="d605a30e-d093-4aa6-b395-3da8e3c83e57")]
public class BaseObject : ILoopBack
{...}

[Serializable]
[UmlElement(Id="c2c34d05-21e7-4ad0-98d5-6713b603a268")]
public class Line : BaseObject
{ ...}


but when I want to serialize an object of class Line, recieve this error
from ECO core:

The type Borland.Eco.Internal.TLocatorImpl in Assembly Borland.Eco.Core,
Version=10.0.4143.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b is not
marked as serializable.

What is wrong?


0 new messages