Class AbstractEndpointOptions
Inheritance
System.Object
AbstractEndpointOptions
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
public abstract class AbstractEndpointOptions : AbstractOptions, IDisposable
Constructors
| Improve this Doc View SourceAbstractEndpointOptions()
Declaration
protected AbstractEndpointOptions()
Fields
| Improve this Doc View SourceDefaultDatabase
Declaration
protected const string DefaultDatabase = "mars"
Field Value
Type | Description |
---|---|
System.String |
DefaultHost
Declaration
protected const string DefaultHost = "127.0.0.1"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceConnectionTimeout
Gets or sets the time out to wait for successful
connection to the Host.
Default is 30 minute
Declaration
[JsonProperty("connectionTimeout", NullValueHandling = NullValueHandling.Ignore)]
public TimeSpan ConnectionTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
DatabaseName
Gets or sets the database or schema name to used.
Default is the name of the model Name.
Declaration
[JsonProperty("databaseName", NullValueHandling = NullValueHandling.Ignore)]
public string DatabaseName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DistinctTable
Gets or sets the option to create new tables with a simulation execution specific suffix,
to distinguish multiple results.
Declaration
[JsonProperty("distinctTable", NullValueHandling = NullValueHandling.Ignore)]
public bool DistinctTable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Host
Gets or sets the host of the target output
Declaration
[JsonProperty("host", NullValueHandling = NullValueHandling.Ignore)]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HostPassword
Gets or sets the password of the HostUserName
to be used when connecting to the Host.
Declaration
[JsonProperty("password", NullValueHandling = NullValueHandling.Ignore)]
public string HostPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HostUserName
Gets or sets the privileged username to be used
when connecting to the Host.
Declaration
[JsonProperty("user", NullValueHandling = NullValueHandling.Ignore)]
public string HostUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OutputPath
Gets or sets the relative output path used to create simulation results.
Declaration
[JsonProperty("outputPath", NullValueHandling = NullValueHandling.Ignore)]
public string OutputPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OverrideByConflict
Gets or sets the option, whether the relational mapper shall drop and apply a new migration when existing table
does not exists;
When this flag is set to false, a migration is always applied when the simulation is initializing.
Declaration
[JsonProperty("overrideByConflict", NullValueHandling = NullValueHandling.Ignore)]
public bool OverrideByConflict { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Port
Gets or sets the target port on which to connect
Declaration
[JsonProperty("port", NullValueHandling = NullValueHandling.Ignore)]
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TryNormalize
Specifies, whether the relational mapper shall try to map each element in a normalized fashion
or to use packed format of 1:1, 1:n, n:m relationships
Default is false, since this make mapping and querying often much easier
Declaration
[JsonProperty("normalize", NullValueHandling = NullValueHandling.Ignore)]
public bool TryNormalize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UsingInMemory
Gets or sets the flag whether this SQLite shall be used as in memory database.
Declaration
[JsonProperty("isInMemory", NullValueHandling = NullValueHandling.Ignore)]
public bool UsingInMemory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.IDisposable