Class IdentifierSqlModel
- Namespace
- OpenSettings.Domains.Sql.Entities
- Assembly
- OpenSettings.dll
Represents an identifier entity.
[Table("Identifiers")]
public class IdentifierSqlModel : EntityBase<int>
- Inheritance
-
IdentifierSqlModel
- Inherited Members
Properties
AppIdentifierMappings
A collection of app-identifier mappings.
public virtual List<AppIdentifierMappingSqlModel> AppIdentifierMappings { get; set; }
Property Value
CreatedBy
The user who created this identifier.
[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }
Property Value
CreatedById
The id of the user who created this identifier.
public Guid? CreatedById { get; set; }
Property Value
- Guid?
Name
The name of the identifier.
public string Name { get; set; }
Property Value
NameLowercase
The lowercase version of the Name, typically used for case-insensitive comparisons.
public string NameLowercase { get; set; }
Property Value
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
SortOrder
The sort order of this identifier in a list.
public int SortOrder { get; set; }
Property Value
UpdatedBy
The user who last updated this identifier.
[ForeignKey("UpdatedById")]
public virtual UserSqlModel UpdatedBy { get; set; }
Property Value
UpdatedById
The id of the user who last updated this identifier.
public Guid? UpdatedById { get; set; }
Property Value
- Guid?