From be91933546f29b5434b4d0ac1f54e51da3fbe4a9 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 3 May 2007 04:28:24 +0000 Subject: ar docs --- .../protected/pages/Database/ActiveRecord.page | 13 +++++++++++++ .../protected/pages/Database/ar_objects.png | Bin 14323 -> 19328 bytes .../protected/pages/Database/ar_objects.vsd | Bin 183296 -> 184832 bytes .../protected/pages/Database/ar_relations.png | Bin 9278 -> 9693 bytes .../protected/pages/Database/ar_relations.vsd | Bin 97280 -> 98304 bytes 5 files changed, 13 insertions(+) diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page index 967aae89..99c7acf8 100644 --- a/demos/quickstart/protected/pages/Database/ActiveRecord.page +++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page @@ -424,6 +424,19 @@ that supports foreign key contraints. For ActiveRecord relationships to function underlying database must support foreign key constraints (e.g. MySQL with InnoDB).

+

+In the following sections we shall consider the following entity relationship between +Teams, Players, Skills and Profiles. +

+ + + +

The goal is to obtain object models that represents to some degree the entity +relationships in the above figure. +

+ + +

Foreign Key Mapping

diff --git a/demos/quickstart/protected/pages/Database/ar_objects.png b/demos/quickstart/protected/pages/Database/ar_objects.png index 027d1e96..4171892c 100644 Binary files a/demos/quickstart/protected/pages/Database/ar_objects.png and b/demos/quickstart/protected/pages/Database/ar_objects.png differ diff --git a/demos/quickstart/protected/pages/Database/ar_objects.vsd b/demos/quickstart/protected/pages/Database/ar_objects.vsd index 595b7d86..5b3ce4d7 100644 Binary files a/demos/quickstart/protected/pages/Database/ar_objects.vsd and b/demos/quickstart/protected/pages/Database/ar_objects.vsd differ diff --git a/demos/quickstart/protected/pages/Database/ar_relations.png b/demos/quickstart/protected/pages/Database/ar_relations.png index df72823c..48e29f48 100644 Binary files a/demos/quickstart/protected/pages/Database/ar_relations.png and b/demos/quickstart/protected/pages/Database/ar_relations.png differ diff --git a/demos/quickstart/protected/pages/Database/ar_relations.vsd b/demos/quickstart/protected/pages/Database/ar_relations.vsd index 9b27e7e3..7cb353fe 100644 Binary files a/demos/quickstart/protected/pages/Database/ar_relations.vsd and b/demos/quickstart/protected/pages/Database/ar_relations.vsd differ -- cgit v1.2.3