breeze-client / SaveResult
Interface: SaveResult
Defined in: src/manager/entity-manager.ts:319
The shape of the Promise returned by an EntityManager.saveChanges call.
Properties
deletedKeys?
optionaldeletedKeys?:object[]
Defined in: src/manager/entity-manager.ts:330
The entities the server reports it deleted during the save, by type name and key values. This can include entities the client did not send, such as ones deleted by server-side logic. Breeze detaches any of them that are in the cache.
entityTypeName
entityTypeName:
string
The name of the deleted entity's type, as the server sent it.
keyValues
keyValues:
any[]
The deleted entity's key values, one per key property.
entities
entities:
Entity[]
Defined in: src/manager/entity-manager.ts:322
The entities the server returned for the save, as merged into this manager's cache. Empty when there was nothing to save.
httpResponse?
optionalhttpResponse?:HttpResponse
Defined in: src/manager/entity-manager.ts:338
The raw response to the save request. Undefined when there was nothing to save, and so no request.
keyMappings
keyMappings:
KeyMapping[]
Defined in: src/manager/entity-manager.ts:326
For each entity saved with a temporary key, the permanent key the server assigned. Breeze has already applied them - to the entities and to the foreign keys that pointed at them - by the time the save resolves.