Mapping of a TColor

What should I do to store a TColor member in the database?

My guess is I should be storing an Integer and then cast it dynamicly through getters and setters and tag my TColor member as [Transcient].
Is that right? Is there something better to do? Is there a better way?

Yes, that's the current best way to do so. Create some "ColorInt" property that is saved to database and set Color as transient. GetColorInt and SetColorInt will convert values to/from the Color property.

Ok thanks!