mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-19 14:55:01 +00:00
Merge pull request #2437 from mrcarlberg/cpobjectcontroller_set_entity_name_from_code
Fixed: Setting entity name from code does not work
This commit is contained in:
commit
cd92ebd69c
1 file changed
+6
@@ -192,6 +192,12 @@
|
||||
*/
|
||||
- (void)setEntityName:(CPString)newEntityName
|
||||
{
|
||||
if (!_managedProxy)
|
||||
{
|
||||
_managedProxy = [[_CPManagedProxy alloc] init];
|
||||
_isUsingManagedProxy = YES;
|
||||
}
|
||||
|
||||
[_managedProxy setEntityName:newEntityName];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user