Table of Contents

Class AppSqlModel

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

Represents an app entity.

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

Properties

AppIdentifierMappings

A collection of app-identifier mappings for this app.

public virtual ICollection<AppIdentifierMappingSqlModel> AppIdentifierMappings { get; set; }

Property Value

ICollection<AppIdentifierMappingSqlModel>

AppTagMappings

A collection of app-tag mappings for this app.

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

Property Value

ICollection<AppTagMappingSqlModel>

ClientId

The unique identifier of the app.

public Guid ClientId { get; set; }

Property Value

Guid

ClientIdLowercase

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

public string ClientIdLowercase { get; set; }

Property Value

string

ClientName

The name of the client associated with the app.

public string ClientName { get; set; }

Property Value

string

ClientNameLowercase

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

public string ClientNameLowercase { get; set; }

Property Value

string

Configurations

A collection of configurations for this app.

public virtual ICollection<ConfigurationSqlModel> Configurations { get; set; }

Property Value

ICollection<ConfigurationSqlModel>

CreatedBy

The user who created this app.

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

Property Value

UserSqlModel

CreatedById

The id of the user who created this app.

public Guid? CreatedById { get; set; }

Property Value

Guid?

Description

The description of the app, typically used for open settings spa.

public string Description { get; set; }

Property Value

string

DisplayName

The display name of the app, typically used for open settings spa.

public string DisplayName { get; set; }

Property Value

string

DisplayNameLowercase

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

public string DisplayNameLowercase { get; set; }

Property Value

string

Group

The group which associated with this app.

[ForeignKey("GroupId")]
public AppGroupSqlModel Group { get; set; }

Property Value

AppGroupSqlModel

GroupId

The id of the group which associated with this app.

public int? GroupId { get; set; }

Property Value

int?

HashedClientSecret

The hashed secret key of the app.

public string HashedClientSecret { get; set; }

Property Value

string

ImageUrl

The image url of the app, typically used for open settings spa.

public string ImageUrl { get; set; }

Property Value

string

Instances

A collection of instances for this app.

public virtual ICollection<InstanceSqlModel> Instances { get; set; }

Property Value

ICollection<InstanceSqlModel>

RowVersion

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

public byte[] RowVersion { get; set; }

Property Value

byte[]

Settings

A collection of settings for this app.

public virtual ICollection<SettingSqlModel> Settings { get; set; }

Property Value

ICollection<SettingSqlModel>

Slug

An url friendly version of the ClientName, 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 app in a list.

public int SortOrder { get; set; }

Property Value

int

Type

The type of the app.

public AppType Type { get; set; }

Property Value

AppType

UpdatedBy

The user who last updated this app.

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

Property Value

UserSqlModel

UpdatedById

The id of the user who last updated this app.

public Guid? UpdatedById { get; set; }

Property Value

Guid?

WikiUrl

The wiki url of the app, typically used for open settings spa.

public string WikiUrl { get; set; }

Property Value

string