mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 13:39:22 +00:00
Fixed: When setting entity name from code the _managedProxy will be null and the name will not be stored
This commit is contained in:
1 parent
598a6ebaed
commit
480a125a20
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