Backbone.Data 1.1.0

Utilities to help with data structure manipulation.

Install-Package Backbone.Data -Version 1.1.0
dotnet add package Backbone.Data --version 1.1.0
<PackageReference Include="Backbone.Data" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Backbone.Data --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Backbone.Data v1.1.0

A collection of helpful classes, interfaces, and utility methods to help manage model, object validation, and data entities.

  • Model - Contains classes to help manage data models:
    • IHasId&lt;T&gt; - Marks and entity that has an Id of type T.
      Useful as function parameters that do not require the whole entity data properties.
  • Validation - Contains classes to help with object validation.
    • ObjectValidator - validates an object instance based on the data annotations.
      If there are errors, it emits an ObjectValidationException with an array of ValidationError.
      There are extension methods to help convert the error collection to different common formats like ModelState errors and ProblemDetail errors.
    • StrictEmailAttribute - A data annotation attribute with a better email validation.

Backbone.Data v1.1.0

A collection of helpful classes, interfaces, and utility methods to help manage model, object validation, and data entities.

  • Model - Contains classes to help manage data models:
    • IHasId&lt;T&gt; - Marks and entity that has an Id of type T.
      Useful as function parameters that do not require the whole entity data properties.
  • Validation - Contains classes to help with object validation.
    • ObjectValidator - validates an object instance based on the data annotations.
      If there are errors, it emits an ObjectValidationException with an array of ValidationError.
      There are extension methods to help convert the error collection to different common formats like ModelState errors and ProblemDetail errors.
    • StrictEmailAttribute - A data annotation attribute with a better email validation.

Release Notes

- Generalize Object Validation
- Added StrictEmailAddressAttribute

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 106 7/9/2020
1.0.2 82 6/24/2020