Annotation of Examples/DatabaseKit/AssociationSybase/README.rtf, revision 1.1.1.1

1.1       root        1: {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fmodern Ohlfs;}
                      2: \paperw13700
                      3: \paperh11540
                      4: \margl120
                      5: \margr120
                      6: {\colortbl;\red0\green0\blue0;}
                      7: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 AssociationExample
                      8: \b0\fs24 \
                      9: by Mai Nguyen, NeXT Developer Support Team\
                     10: \
                     11: 
                     12: \b\fs28 Overview
                     13: \f1\b0\fs20 \
                     14: 
                     15: \f0\i\fs24 This is a twin example to the Oracle AssociationExample. To be used by Sybase developers.
                     16: \i0 \
                     17: The current version of DBKit does not provide a way to filter the records fetched by a detail FetchGroup. DBKit does not allow a qualifier to be built into a relationship, nor does it allow a qualifier to be permanently attached to a FetchGroup. The Association example provides a way to do filtering of detail records by using a subclass of DBAssociation that replaces the default association which exists between the master FetchGroup and the detail FetchGroup. In this example, the user can change the criteria of the qualifier by entering a new value in the quantity field and pressing the 
                     18: \b Fetch: 
                     19: \b0 button. The example is built such that you can easily reuse the object 
                     20: \b QualifiedAssociation
                     21: \b0  in your custom application.\
                     22: In order to run this application, you need to have access to a Sybase server and a pubs demo database as described in the 
                     23: \b SybaseDemo.dbmodela 
                     24: \b0 model file.\
                     25: 
                     26: \fc1\cf1 \
                     27: 
                     28: \b\fs28 Program Organization\
                     29: 
                     30: \b0\fs24 \
                     31: 
                     32: \b Major Classes in the Application
                     33: \b0 \
                     34: \
                     35:  \
                     36: 
                     37: \pard\tx2880\tx2900\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 Controller A general tester object.  This object is for testing whether the custom association works       properly. It is managing the UI of this example.\
                     38: 
                     39: \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 \
                     40: 
                     41: \pard\tx2880\tx2900\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-2920\li2920\fc1\cf1  QualifiedAssociation      A subclass of  DBAssociation. It overrides the method called when fetching, and add some new methods for setting up the proper qualifier. \
                     42:  
                     43: \fi-1900\li1900 \
                     44: 
                     45: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \
                     46: 
                     47: \b\fs28 Topics Of Interest\
                     48: 
                     49: \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fs24\fc1\cf1 \
                     50: 
                     51: \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc1\cf1 - How to set up a new DBAssociation between the master fetchgroup and the detail fetchgroup 
                     52: \b0 \
                     53: See the method 
                     54: \b initAndReplaceAssociationTo:
                     55: \b0  in the file QualifiedAssociation.m\
                     56: 
                     57: \pard\tx1340\tx2680\tx4020\tx5360\tx6720\tx8060\tx9400\tx10740\tx12080\tx13440\fc1\cf1 \
                     58: Last Edited: July 1993
                     59: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.