Class SettingHistorySqlModel
- Namespace
- OpenSettings.Domains.Sql.Entities
- Assembly
- OpenSettings.dll
Represents a setting history entity.
[Table("SettingHistories")]
public class SettingHistorySqlModel : EntityBase<Guid>
- Inheritance
-
SettingHistorySqlModel
- Inherited Members
Properties
CompressionLevel
Defines the level of compression used.
public CompressionLevel CompressionLevel { get; set; }
Property Value
CompressionType
Specifies the type of compression applied to the data.
Determines which decoding method should be used.
public CompressionType CompressionType { get; set; }
Property Value
- CompressionType
CreatedBy
The user who created this setting history.
[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }
Property Value
CreatedById
The id of the user who created this setting history.
public Guid? CreatedById { get; set; }
Property Value
- Guid?
Data
The binary data associated with the setting history.
public byte[] Data { get; set; }
Property Value
- byte[]
RestoredBy
The user who last restored this setting history.
[ForeignKey("RestoredById")]
public virtual UserSqlModel RestoredBy { get; set; }
Property Value
RestoredById
The id of the user who last restored this setting history.
public Guid? RestoredById { get; set; }
Property Value
- Guid?
RestoredOn
The date and time when the entity was last restored, or null
if never restored.
public DateTime? RestoredOn { 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[]
SerializerType
Defines the serialization type used for data serialization and deserialization.
public SerializerType SerializerType { get; set; }
Property Value
Setting
[ForeignKey("SettingId")]
public virtual SettingSqlModel Setting { get; set; }
Property Value
SettingId
The setting id associated with this setting history.
public int SettingId { get; set; }
Property Value
Slug
An url friendly version of the Version, 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
UpdatedOn
The date and time when the entity was last updated, or null
if never updated.
[NotMapped]
public override DateTime? UpdatedOn { get; set; }
Property Value
Version
Represents the version of the setting.
public string Version { get; set; }