Re: To modify a property



On Fri, 2005-12-02 at 21:22 +0100, Norvig Norvig wrote:
> It is possible to modify a property of an element?

Yes, but only if the property is explicitly marked as being modifiable.
You can do this by setting the Beagle.Property.IsMutable property to
true before adding it to a Beagle.Indexable.

There is only one extra rule: if a property a marked as mutable, it must
have a unique Key.  This simplifies things considerably, since you can
then reference the property uniquely (by its key value) when you want to
change it later.

-J





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]