Author:jfiat

Date:2008-12-09T09:52:15.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@130 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-12-09 09:52:15 +00:00
parent 30270d751f
commit 8782e3dbe7
2 changed files with 46 additions and 41 deletions

View File

@@ -1,8 +1,7 @@
[[Property:title|EiffelStudio Debugger]]
[[Property:link_title|Debugger]]
[[Property:title|Debugger]]
[[Property:weight|-8]]
[[Property:uuid|31c4857e-f19e-e9e3-b7db-d6c30515277f]]
* [[Eiffel Debugger: Introduction|Introduction]]
* [[Debugger: Introduction|Introduction]]
* [[Execution commands|Execution commands]]
* [[Breakpoints|Breakpoint management]]
* [[Call stack tool|Call stack information]]

View File

@@ -11,7 +11,9 @@ A smart way to work with relational databases is to have Eiffel objects directly
A [[ref:/libraries/store/reference/db_repository_flatshort|DB_REPOSITORY]] object stores available information about a table. To access this information, you mainly have to give the table name and load the table description:
<code>
repository: DB_REPOSITORY
...
create repository.make ("CONTACTS")
repository.load
if repository.exists then
@@ -26,13 +28,13 @@ A [[ref:/libraries/store/reference/db_repository_flatshort|DB_REPOSITORY]] obje
Using the table information, [[ref:/libraries/store/reference/db_repository_flatshort|DB_REPOSITORY]] then helps generating Eiffel classes mapping relational tables:
* You can directly use {[[ref:/libraries/store/reference/db_repository_flatshort|DB_REPOSITORY]] }.generate_class. Generated class may look like:
<code>
class CONTACTS
class CONTACTS
feature -- Access
feature -- Access
id: INTEGER
...
feature -- Settings
feature -- Settings
set_id (an_id: INTEGER)
-- Set an_id to id.
@@ -56,7 +58,9 @@ This is straight-forward since you only have to give [[ref:/libraries/store/refe
storage: DB_STORE
contacts_rep: DB_REPOSITORY
a_contact: CONTACTS
...
create storage.make
-- contacts_rep is loaded and exists.
storage.set_repository (contacts_rep)
@@ -71,7 +75,9 @@ This is straight-forward since you only have to give [[ref:/libraries/store/refe
selection: DB_SELECTION
list_filling: DB_ACTION [CONTACTS]
contact: CONTACTS
...
selection.object_convert (contact)
create list_filling.make (selection, contact)
selection.set_action (list_filling)