Table of Contents

Class SettingHistorySqlModel

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

Represents a setting history entity.

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

Properties

CompressionLevel

Defines the level of compression used.

public CompressionLevel CompressionLevel { get; set; }

Property Value

CompressionLevel

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

UserSqlModel

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

UserSqlModel

RestoredById

The id of the user who last restored this setting history.

public Guid? RestoredById { get; set; }

Property Value

Guid?

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. Currently, only Json is supported. Future support for other formats may be added.

public SerializerType SerializerType { get; set; }

Property Value

SerializerType

Setting

[ForeignKey("SettingId")]
public virtual SettingSqlModel Setting { get; set; }

Property Value

SettingSqlModel

SettingId

The setting id associated with this setting history.

public int SettingId { get; set; }

Property Value

int

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

string

Version

Represents the version of the setting.

public string Version { get; set; }

Property Value

string