Table of Contents

Namespace Breeze.Persistence

Classes

AutoGeneratedKey

Server-generated keys for new entities

BreezeConfig

Server-wide Breeze settings: JSON serialization, transactions, and enum handling.

BreezeEntityValidator

Validates entities using Breeze metadata. This duplicates the validation performed on the Breeze client.

BreezeMetadata

Metadata structure sent to the client

ConcurrencyErrorsException

Thrown when a save fails because a row was changed or removed by someone else after it was read - an optimistic concurrency conflict.

DataAnnotationsValidator

Validates entities on the server with System.ComponentModel.DataAnnotations, turning any failures into the EntityError list a Breeze client expects.

EntityError

Entity-specific error (such as validation error) that occur during save.

EntityErrorsException

Exception thrown during validation and save

EntityInfo

All info for the entity on the server

EntityKey

Unique identifier for an entity

JsonPropertyFixupWriter

JsonTextWriter that alters property names coming from EF's mapping XML

KeyMapping

For server-generated keys. Maps temporary key (from the client) to the real key (generated on the server)

MaxLengthMetaValidator

Validator for the maximum length of a string

MetaDataProperty

Data Property

MetaEnum

Represents a C# enum type, which can be a value for a DataProperty

MetaNavProperty

Navigation Property

MetaProperty

Base class for Data and Navigation properties

MetaType

EntityType or ComplexType

MetaValidator

Validators for data types

NumericKeyGenerator

Generates numeric primary keys from a single-row NextId table in the database.

PersistenceManager

Manages persistence for Breeze entity models.

SaveOptions

Options passed from client

SaveResult

Type returned to client as JSON. Either Errors, or the other three, are set.

SaveWorkState

Data structure and methods for processing entities during save

SaveWorkState.EntityGroup

The entities of one type, as they arrived in the save bundle.

TempKeyInfo

Instances of this are sent to KeyGenerator

TransactionSettings

How a save should be wrapped in a transaction: which kind, at what isolation level, and with what timeout.

Interfaces

IKeyGenerator

Server-side key generator

Enums

AutoGeneratedKeyType

Types of key generation for new entities

EntityState

The state of the entity

TransactionType