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
AppId
The app id associated with this instance.
public int AppId { get; set; }
Property Value
DataAccessType
If service type is Consumer this property will be null. Specifies provider's data access type.
public DataAccessType? DataAccessType { get; set; }
Property Value
DynamicId
The unique identifier of the instance.
public string DynamicId { get; set; }
Property Value
Environment
The environment of the instance.
public string Environment { get; set; }
Property Value
Identifier
The app associated with this identifier.
[ForeignKey("IdentifierId")]
public virtual IdentifierSqlModel Identifier { get; set; }
Property Value
IdentifierId
The identifier id associated with this instance.
public int IdentifierId { get; set; }
Property Value
IpAddress
The ip address of the instance.
public string IpAddress { get; set; }
Property Value
IsActive
Indicates whether the instance is active.
public bool IsActive { get; set; }
Property Value
MachineName
The machine name of the instance.
public string MachineName { get; set; }
Property Value
Name
The name of the instance.
public string Name { get; set; }
Property Value
NameLowercase
The lowercase version of the Name, typically used for case-insensitive comparisons.
public string NameLowercase { get; set; }
Property Value
ReloadStrategies
A collection of reload strategies that instance support
public List<ReloadStrategy> ReloadStrategies { get; set; }
Property Value
ServiceType
The service type of the instance (e.g. Provider or Consumer ).
public ServiceType ServiceType { get; set; }
Property Value
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
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; }