Table of Contents

Class TagSqlModel

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll

Represents a tag entity.

[Table("Tags")]
public class TagSqlModel : EntityBase<int>
Inheritance
TagSqlModel
Inherited Members

Properties

AppTagMappings

The collection of app-tag mappings assigned to the tag.

public virtual List<AppTagMappingSqlModel> AppTagMappings { get; set; }

Property Value

List<AppTagMappingSqlModel>

CreatedBy

The user who created this tag.

[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }

Property Value

UserSqlModel

CreatedById

The id of the user who created this tag.

public Guid? CreatedById { get; set; }

Property Value

Guid?

Name

The name of the tag.

public string Name { get; set; }

Property Value

string

NameLowercase

The lowercase version of the Name, typically used for case-insensitive comparisons.

public string NameLowercase { get; set; }

Property Value

string

RowVersion

A concurrency token used for tracking changes.
Helps prevent conflicts during concurrent updates.

public byte[] RowVersion { get; set; }

Property Value

byte[]

Slug

An url friendly version of the Name, generated by trimming, converting to lowercase,
and replacing spaces or special characters with hyphens (using ToSlug(string) extension method).

public string Slug { get; set; }

Property Value

string

SortOrder

The sort order of this tag in a list.

public int SortOrder { get; set; }

Property Value

int

UpdatedBy

The user who last updated this app group.

[ForeignKey("UpdatedById")]
public virtual UserSqlModel UpdatedBy { get; set; }

Property Value

UserSqlModel

UpdatedById

The id of the user who last updated this tag.

public Guid? UpdatedById { get; set; }

Property Value

Guid?