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
entityInfoEntityInfoThe entity the error concerns, or null if it does not concern one.
errorNamestringShort name for the error, e.g. "ValidationError".
errorMessagestringThe message shown to the client.
propertyNamestringThe property at fault, or null if the error is not about one property.