Table of Contents

Class InstanceSqlModel

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

Represents an instance entity.

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

Properties

App

The app associated with this instance.

[ForeignKey("AppId")]
public virtual AppSqlModel App { get; set; }

Property Value

AppSqlModel

AppId

The app id associated with this instance.

public int AppId { get; set; }

Property Value

int

DataAccessType

If service type is Consumer this property will be null. Specifies provider's data access type.

public DataAccessType? DataAccessType { get; set; }

Property Value

DataAccessType?

DynamicId

The unique identifier of the instance.

public string DynamicId { get; set; }

Property Value

string

Environment

The environment of the instance.

public string Environment { get; set; }

Property Value

string

Identifier

The app associated with this identifier.

[ForeignKey("IdentifierId")]
public virtual IdentifierSqlModel Identifier { get; set; }

Property Value

IdentifierSqlModel

IdentifierId

The identifier id associated with this instance.

public int IdentifierId { get; set; }

Property Value

int

IpAddress

The ip address of the instance.

public string IpAddress { get; set; }

Property Value

string

IsActive

Indicates whether the instance is active.

public bool IsActive { get; set; }

Property Value

bool

MachineName

The machine name of the instance.

public string MachineName { get; set; }

Property Value

string

Name

The name of the instance.

public string Name { get; set; }

Property Value

string

NameLowercase

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

public string NameLowercase { get; set; }

Property Value

string

ReloadStrategies

A collection of reload strategies that instance support

public List<ReloadStrategy> ReloadStrategies { get; set; }

Property Value

List<ReloadStrategy>

ServiceType

The service type of the instance (e.g. Provider or Consumer ).

public ServiceType ServiceType { get; set; }

Property Value

ServiceType

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

string

Urls

The urls associated with the instance.

public string[] Urls { get; set; }

Property Value

string[]

Version

The version of the instance.

public string Version { get; set; }

Property Value

string