Custom attributes
Overview
Custom attributes can extend every domain entity with extensible meta-data driven attributes.
Install
- ASOL.CustomAttributes.Connector - REST API connector to gets Custom Attributes service data.
Changelog
- 0.0.1.47861-dev
- Support for older .NET frameworks has been removed; only .NET 8 is now supported.
Example usage IExpandableEntity to extend entity with custom attributes
public class Book : BaseEntity<string>, IExpandableEntity
{
/// <inheritdoc/>
public Book()
{
}
/// <inheritdoc/>
public Book(string id, ClaimsPrincipal user)
: base(id, user)
{
}
/// <summary>
/// List of custom attributes
/// </summary>
public ICollection<Core.CustomAttributes.Domain.Entities.Values.Attribute> CustomAttributes { get; set; }
}