home *** CD-ROM | disk | FTP | other *** search
- {
- EOModelVersion = 1;
- adaptorName = Oracle7;
- connectionDictionary = {hostMachine = waddel; password = sqa; serverId = test; userName = sqa; };
- entities = (
- {
- attributes = (
- {calendarFormat = Text; name = company; valueClassName = NSString; },
- {calendarFormat = Text; name = id; valueClassName = NSString; },
- {calendarFormat = Text; name = name; valueClassName = NSString; },
- {calendarFormat = Text; name = type; valueClassName = NSString; }
- );
- attributesUsedForLocking = (id, name, company, type);
- className = EOGenericRecord;
- classProperties = (id, name, company, type, toItem);
- externalName = Product.table;
- name = Product;
- primaryKeyAttributes = (id);
- relationships = (
- {
- destination = Item;
- isToMany = Y;
- joins = (
- {
- destinationAttribute = ProductId;
- joinOperator = EOJoinEqualTo;
- joinSemantic = EOInnerJoin;
- sourceAttribute = id;
- }
- );
- name = toItem;
- }
- );
- },
- {
- attributes = (
- {calendarFormat = Text; name = ProductId; valueClassName = NSString; },
- {calendarFormat = Text; name = id; valueClassName = NSString; },
- {calendarFormat = Text; name = name; valueClassName = NSString; },
- {calendarFormat = Text; name = price; valueClassName = NSString; },
- {calendarFormat = Text; name = qty; valueClassName = NSString; },
- {calendarFormat = Text; name = serialNumber; valueClassName = NSString; }
- );
- attributesUsedForLocking = (serialNumber, name, price, ProductId, id, qty);
- className = EOGenericRecord;
- classProperties = (serialNumber, name, price, ProductId, id, qty);
- externalName = Item.table;
- name = Item;
- primaryKeyAttributes = (id);
- }
- );
- }