Fluxera.ComponentModel.Annotations 6.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Fluxera.ComponentModel.Annotations --version 6.1.0
NuGet\Install-Package Fluxera.ComponentModel.Annotations -Version 6.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="6.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fluxera.ComponentModel.Annotations --version 6.1.0
#r "nuget: Fluxera.ComponentModel.Annotations, 6.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fluxera.ComponentModel.Annotations as a Cake Addin
#addin nuget:?package=Fluxera.ComponentModel.Annotations&version=6.1.0

// Install Fluxera.ComponentModel.Annotations as a Cake Tool
#tool nuget:?package=Fluxera.ComponentModel.Annotations&version=6.1.0

Build Status

Fluxera.ComponentModel.Annotations

A collection of custom data annotations.

Available Attributes

  • [CompositeIndex]
    • An attribute to provide the composite indices of an entity.
    • Targets classes.
    • Allows multiple.
  • [DateOnly]
    • A marker attribute to signal potential data stores to only store the date.
    • Targets properties and fields.
    • Denys multiple.
  • [DatePrecision]
    • An attribute to provide the date precision to potential data stores.
    • Targets properties and fields.
    • Denys multiple.
  • [Ignore]
    • A marker attribute to signal potential data stores to ignore this value.
    • Targets properties and fields.
    • Denys multiple.
  • [Index]
    • An attribute to provide an index of the entity.
    • Targets properties and fields.
    • Denys multiple.
  • [Reference]
    • An attribute to signal potential data stores that this property should be stored as database reference.
    • Targets properties and fields.
    • Denys multiple.

Validation attributes

  • [Contains]
    • A validation that checks if the annotated property contains the given check value.
    • Targets properties and fields.
    • Denys multiple.
  • [EndsWith]
    • A validation attribute that checks if the value end with the given value.
    • Targets properties and fields.
    • Denys multiple.
  • [EnforceTrue]
    • A validation attribute that checks if the value is true.
    • Targets properties and fields.
    • Denys multiple.
  • [ListLength]
    • A validation attribute to check the length of a list.
    • Targets properties and fields.
    • Denys multiple.
  • [ListMaxLength]
    • A validation attribute to check the maximum length of a list.
    • Targets properties and fields.
    • Denys multiple.
  • [ListMinLength]
    • A validation attribute to check the minimum length of a list.
    • Targets properties and fields.
    • Denys multiple.
  • [NotEmpty]
    • A validation attribute to check if an enumerable contains at least one element.
    • Targets properties and fields.
    • Denys multiple.
  • [RequiredIf]
    • A validation attribute that checks if the value is required when a condition is met.
    • Targets properties and fields.
    • Denys multiple.
  • [StartsWith]
    • A validation attribute that checks if the value starts with the given value.
    • Targets properties and fields.
    • Denys multiple.

Datatype attributes

  • [Currency]
    • A data-type attribute for currency values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Date]
    • A data-type attribute for date values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [DateTime]
    • A data-type attribute for date-time values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Duration]
    • A data-type attribute for duration (timespan) values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [ImageUrl]
    • A data-type attribute for image-url values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [MultilineText]
    • A data-type attribute for multiline text values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Password]
    • A data-type attribute for password values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [PostalCode]
    • A data-type attribute for postal code values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Select]
    • A data-type attribute to signal that the values comes from a selection of values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Text]
    • A data-type attribute for text values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Time]
    • A data-type attribute for time values.
    • Targets properties, fields and parameters.
    • Denys multiple.
  • [Upload]
    • A data-type attribute for upload values.
    • Targets properties, fields and parameters.
    • Denys multiple.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Fluxera.ComponentModel.Annotations:

Package Downloads
Fluxera.Entity The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An aggregate root and entity objects library.

Fluxera.Temporal The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A libary that provides temporal types.

Fluxera.Repository.MongoDB The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A MongoDB repository implementation.

Fluxera.Extensions.Hosting.Modules.Domain The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A module that enables the domain.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.2 0 4/13/2024
8.0.1 3,827 11/23/2023
8.0.0 566 11/15/2023
7.1.1 802 7/20/2023
7.1.0 5,836 1/18/2023
7.0.4 3,016 12/9/2022
7.0.3 1,113 11/15/2022
7.0.2 1,020 11/12/2022
7.0.0 583 11/9/2022
6.1.1 21,067 6/7/2022
6.1.0 406 6/5/2022
6.0.9 20,794 5/5/2022
6.0.8 2,147 4/20/2022
6.0.7 4,398 3/24/2022
6.0.6 543 2/17/2022
6.0.5 1,297 12/17/2021
6.0.2 681 12/8/2021