mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 19:01:04 +00:00
* EOAccess/EODatabaseDataSource.m (-insertObject): Do not
insert object into the editing context. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20654 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff4b08e06d
commit
af3705ad45
1 changed files with 8 additions and 3 deletions
|
@ -301,12 +301,17 @@ RCS_ID("$Id$")
|
||||||
detailKey: detailKey];
|
detailKey: detailKey];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)insertObject: object
|
/**
|
||||||
|
* Overrides superclasses implementation but doesn't do anything
|
||||||
|
* useful. You must insert the object into the editing context
|
||||||
|
* manually.
|
||||||
|
*/
|
||||||
|
- (void)insertObject: (id)object
|
||||||
{
|
{
|
||||||
[_editingContext insertObject: object];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)deleteObject: object
|
- (void)deleteObject: (id)object
|
||||||
{
|
{
|
||||||
[_editingContext deleteObject: object];
|
[_editingContext deleteObject: object];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue