Author: dr
Date: Tue Sep 18 20:02:01 2007
New Revision: 6192

Log:
- Clarify documentation on mappings and fixed a typo.

Modified:
    trunk/PersistentObject/docs/tutorial.txt

Modified: trunk/PersistentObject/docs/tutorial.txt
==============================================================================
--- trunk/PersistentObject/docs/tutorial.txt [iso-8859-1] (original)
+++ trunk/PersistentObject/docs/tutorial.txt [iso-8859-1] Tue Sep 18 20:02:01 
2007
@@ -630,7 +630,9 @@
 database column "id" from the table "persons" would be mapped to the column
 "person_id" in the table "addresses". In general, this means, that "id" is the
 primary key from the "persons" table and "person_id" is the foreign key in the
-"addresses" table, that refers to the "persons" table.
+"addresses" table, that refers to the "persons" table. Please note that the 
+relation mappings are done on the table name/column name and not on the
+class name/property name.
 
 If you want to map using several columns, you can add more
 ezcPersistentSingleTableMap instances to the columnMap array. For example, if
@@ -715,7 +717,7 @@
 Defining n:m relations
 ----------------------
 
-The eczPersistentManyToManyRelation class works slightly different than
+The ezcPersistentManyToManyRelation class works slightly different than
 the other ezcPersistentRelation classes. For this kind of relation, you need an
 extra table in your database to store the relation records. The next example
 shows the definition of an ezcPersistentManyToManyRelation relation, based on


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to