Skip to content

wintoncode/Winton.DomainModelling.Abstractions

Repository files navigation

Winton.DomainModelling.Abstractions

Build status Travis Build Status NuGet version NuGet version

Abstractions useful for modelling a domain.

Building blocks

Entity

A base class to implement entity types, which are defined by their identity rather than their attributes. Implementers are equal if their IDs are equal. Any equatable ID type can be used.

Exceptions

DomainException

Represents domain errors. Extensible for any domain-specific error.

EntityNotFoundException

Extends DomainException to indicate that an entity could not be found.

UnauthorizedException

Extends DomainException to indicate that the action being performed is not authorized.

About

Provides common abstractions for domain modelling

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages