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:title|Debugger]]
[[Property:link_title|Debugger]]
[[Property:weight|-8]] [[Property:weight|-8]]
[[Property:uuid|31c4857e-f19e-e9e3-b7db-d6c30515277f]] [[Property:uuid|31c4857e-f19e-e9e3-b7db-d6c30515277f]]
* [[Eiffel Debugger: Introduction|Introduction]] * [[Debugger: Introduction|Introduction]]
* [[Execution commands|Execution commands]] * [[Execution commands|Execution commands]]
* [[Breakpoints|Breakpoint management]] * [[Breakpoints|Breakpoint management]]
* [[Call stack tool|Call stack information]] * [[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: 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> <code>
repository: DB_REPOSITORY repository: DB_REPOSITORY
... ...
create repository.make ("CONTACTS") create repository.make ("CONTACTS")
repository.load repository.load
if repository.exists then if repository.exists then
@@ -56,7 +58,9 @@ This is straight-forward since you only have to give [[ref:/libraries/store/refe
storage: DB_STORE storage: DB_STORE
contacts_rep: DB_REPOSITORY contacts_rep: DB_REPOSITORY
a_contact: CONTACTS a_contact: CONTACTS
... ...
create storage.make create storage.make
-- contacts_rep is loaded and exists. -- contacts_rep is loaded and exists.
storage.set_repository (contacts_rep) 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 selection: DB_SELECTION
list_filling: DB_ACTION [CONTACTS] list_filling: DB_ACTION [CONTACTS]
contact: CONTACTS contact: CONTACTS
... ...
selection.object_convert (contact) selection.object_convert (contact)
create list_filling.make (selection, contact) create list_filling.make (selection, contact)
selection.set_action (list_filling) selection.set_action (list_filling)