Class AbstractEndpointOptions
Inheritance
IDisposable
AbstractEndpointOptions
Inherited Members
Namespace: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
public abstract class AbstractEndpointOptions : AbstractOptions
Constructors
AbstractEndpointOptions()
Declaration
protected AbstractEndpointOptions()
Fields
DefaultDatabase
Declaration
protected const string DefaultDatabase = null
Field Value
Type | Description |
---|---|
System.String |
DefaultHost
Declaration
protected const string DefaultHost = null
Field Value
Type | Description |
---|---|
System.String |
Properties
ConnectionTimeout
Gets or sets the time out to wait for successful
connection to the Host.
Default is 30 minute
Declaration
public TimeSpan ConnectionTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
DatabaseName
Gets or sets the database or schema name to used.
Default is the name of the model Name.
Declaration
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
public bool DistinctTable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Host
Gets or sets the host of the target output
Declaration
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
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
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
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
public bool OverrideByConflict { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Port
Gets or sets the target port on which to connect
Declaration
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
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
public bool UsingInMemory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |