C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
EntityErrors List
KeyMappings List

Защищенные свойства (Protected)

Свойство Тип Описание
EntityInfoGroups List

Открытые методы

Метод Описание
SaveWorkState ( List entityInfoGroups ) : Newtonsoft.Json

Populate the EntityInfoGroups, SaveMap, and EntitiesWithAutoGeneratedKeys

ToSaveResponse ( ) : BreezeSaveResponse

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

Описание методов

SaveWorkState() публичный Метод

Populate the EntityInfoGroups, SaveMap, and EntitiesWithAutoGeneratedKeys
public SaveWorkState ( List entityInfoGroups ) : Newtonsoft.Json
entityInfoGroups List
Результат Newtonsoft.Json

ToSaveResponse() публичный Метод

Convert the SaveWorkState to a response for sending to the client.
public ToSaveResponse ( ) : BreezeSaveResponse
Результат BreezeSaveResponse

Описание свойств

EntityErrors публичное свойство

Any business-rule errors generated during the save
public List EntityErrors
Результат List

EntityInfoGroups защищенное свойство

original entities materialized from the client
protected List EntityInfoGroups
Результат List

KeyMappings публичное свойство

mappings of temporary keys to server-generated keys. Updated during the save process
public List KeyMappings
Результат List