Class KormConnectionSettings
Settings for KORM database.
Inheritance
System.Object
KormConnectionSettings
Namespace: Kros.KORM
Assembly: Kros.KORM.dll
Syntax
public class KormConnectionSettings
Properties
AutoMigrate
Automatic migration value. Default is false.
Declaration
public bool AutoMigrate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ConnectionString
Connection string for database. This connection string is the same as input connection string, just without KORM keys.
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KormProvider
KORM provider. If the value is not set, default value Microsoft SQL Server will be used.
Declaration
public string KormProvider { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Returns info about KORM connection.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()