Table of Contents

Class EFEntityError

Namespace
Breeze.Persistence.EFCore
Assembly
Breeze.Persistence.EFCore.dll

An EntityError that fills in the entity type name and key values from the entity it concerns.

public class EFEntityError : EntityError
Inheritance
EFEntityError
Inherited Members

Constructors

EFEntityError(EntityInfo?, string, string, string?)

Create an error, taking the type name and key values from the entity if one is given.

public EFEntityError(EntityInfo? entityInfo, string errorName, string errorMessage, string? propertyName)

Parameters

entityInfo EntityInfo

The entity the error concerns, or null if it does not concern one.

errorName string

Short name for the error, e.g. "ValidationError".

errorMessage string

The message shown to the client.

propertyName string

The property at fault, or null if the error is not about one property.