Table of Contents

Class LicenseSqlModel

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

Represents a license entity.

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

Properties

Edition

The edition of the license, defining its features and scope.

public LicenseEdition Edition { get; set; }

Property Value

LicenseEdition

ExpiredOn

The date and time when the license was marked as expired.

public DateTime? ExpiredOn { get; set; }

Property Value

DateTime?

ExpiryDate

The date and time when the license expires, if applicable.

public DateTime? ExpiryDate { get; set; }

Property Value

DateTime?

Features

The list of features enabled by this license.

public string[] Features { get; set; }

Property Value

string[]

Holder

The name of the license holder.

public string Holder { get; set; }

Property Value

string

HolderLowercase

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

public string HolderLowercase { get; set; }

Property Value

string

IsExpired

Indicates whether the license is expired.

public bool IsExpired { get; set; }

Property Value

bool

IsRevoked

Indicates whether the license has been revoked.

public bool IsRevoked { get; set; }

Property Value

bool

IssuedAt

The date and time when the license was issued.

public DateTime IssuedAt { get; set; }

Property Value

DateTime

Key

The key associated with the license.

public string Key { get; set; }

Property Value

string

NotBefore

The date and time before which the license is not valid.

public DateTime NotBefore { get; set; }

Property Value

DateTime

ReferenceId

The unique reference identifier for the license.

public string ReferenceId { get; set; }

Property Value

string

ReferenceIdLowercase

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

public string ReferenceIdLowercase { get; set; }

Property Value

string

RevokedOn

The date and time when the license was revoked.

public DateTime? RevokedOn { get; set; }

Property Value

DateTime?