From 6d0c7119137749ca31b3d66406c6a270fbbb5fc2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 6 Sep 2012 13:59:15 +0200 Subject: Rename id() to no_id --- doc/manual.xhtml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index e5632ce..adcc45a 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -454,7 +454,7 @@ for consistency. 12.1.3abstract 12.1.4readonly 12.1.5optimistic - 12.1.6id + 12.1.6no_id 12.1.7callback 12.1.8schema 12.1.9polymorphic @@ -2271,7 +2271,7 @@ class person default-constructible. It is also possible to declare a persistent class without an object id, however, such a class will have limited functionality (Section 12.1.6, - "id").

+ "no_id").

The above two pragmas are the minimum required to declare a persistent class with an object id. Other pragmas can be used to @@ -9221,7 +9221,7 @@ class person - id + no_id persistent class has no object id 12.1.6 @@ -9435,14 +9435,13 @@ class person

For a more detailed discussion of optimistic concurrency, refer to Chapter 11, "Optimistic Concurrency".

-

12.1.6 id

+

12.1.6 no_id

-

The id specifier specifies that the persistent class - has no object id. It should be followed by opening and closing - parenthesis. For example:

+

The no_id specifier specifies that the persistent class + has no object id. For example:

-#pragma db object id()
+#pragma db object no_id
 class person
 {
   ...
@@ -10920,8 +10919,8 @@ class person
 
   

Normally, every persistent class has a data member designated as an object's identifier. However, it is possible to declare a - persistent class without an id using the object id - specifier (Section 12.1.6, "id").

+ persistent class without an id using the object no_id + specifier (Section 12.1.6, "no_id").

Note also that the id specifier cannot be used for data members of composite value types or views.

-- cgit v1.1