Re: How to use datetime and boolean?
Re: How to use datetime and boolean?
- Subject: Re: How to use datetime and boolean?
- From: Ian Joyner <email@hidden>
- Date: Fri, 20 Jan 2006 11:45:31 +1100
There isn't a boolean. Put in your EOPrototypes entity an attribute
named boolean with external data type char, internal data type String
and external width of 1 (why is external width in the internal data
type box?). The only two values allowed in this field is 'T' or
'F' (ie., class invariant is value = 'T' or value = 'F')
Similar thing for date and time put in EOPrototypes:
date: external date, internal date
date_time: external datetime, internal date
You can define everything in EOPrototype including primary keys,
foreign keys (although these are the same, it is handy to use these
to document what an attribute is for). Define your own data types
(eg., gender, again char (1)).
Ian
On 20/01/2006, at 2:34 AM, Jim Wong wrote:
In EOModeler, how do I define date n boolean?? how's the format
handling done? is there even boolean?
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sportstec.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden