DatabaseKit  0.5
DB(DBModel) Category Reference

#import <DB.h>

Instance Methods

(BOOL) - saveObjects:
 
(void) - registerObject:
 
(void) - removeObject:
 

Detailed Description

Definition at line 25 of file DB.h.

Method Documentation

- (void) registerObject: (DBModel *)  object

Registers a DBModel object with the database

Parameters
objectThe object to register. Raises NSInternalInconsistencyException if the object is nil, or already registered with a database.

Extends class DB.

- (void) removeObject: (DBModel *)  object

Remvoves a registered DBModel object from the database.

Parameters
objectThe object to remove. Raises NSInternalInconsistencyException if the object is not already in the database.

Extends class DB.

- (BOOL) saveObjects: (NSError **)  outErr

Saves any objects with pending changes.

Extends class DB.


The documentation for this category was generated from the following file: