C# Class Breeze.Entities.SaveWorkState

Contains the entities and other data needed to conduct the save process. Each instance should only be used for a single save request.
Afficher le fichier Open project: Breeze/breeze.server.net Class Usage Examples

Méthodes publiques

Свойство Type Description
EntityErrors List
KeyMappings List

Protected Properties

Свойство Type Description
EntityInfoGroups List

Méthodes publiques

Méthode Description
SaveWorkState ( List entityInfoGroups ) : Newtonsoft.Json

Populate the EntityInfoGroups, SaveMap, and EntitiesWithAutoGeneratedKeys

ToSaveResponse ( ) : BreezeSaveResponse

Convert the SaveWorkState to a response for sending to the client.

Method Details

SaveWorkState() public méthode

Populate the EntityInfoGroups, SaveMap, and EntitiesWithAutoGeneratedKeys
public SaveWorkState ( List entityInfoGroups ) : Newtonsoft.Json
entityInfoGroups List
Résultat Newtonsoft.Json

ToSaveResponse() public méthode

Convert the SaveWorkState to a response for sending to the client.
public ToSaveResponse ( ) : BreezeSaveResponse
Résultat BreezeSaveResponse

Property Details

EntityErrors public_oe property

Any business-rule errors generated during the save
public List EntityErrors
Résultat List

EntityInfoGroups protected_oe property

original entities materialized from the client
protected List EntityInfoGroups
Résultat List

KeyMappings public_oe property

mappings of temporary keys to server-generated keys. Updated during the save process
public List KeyMappings
Résultat List