Class SqlOptions
Inherited Members
Namespace: Slipe.Sql
Assembly: Slipe.Sql.dll
Syntax
public class SqlOptions
Properties
| Improve this Doc View SourceAutoReconnect
Whether the connection should automatically attempt to reconnect if connection is lost
Declaration
public bool AutoReconnect { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Batch
Whether the connection should batch multiple queries into one call
Declaration
public bool Batch { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Log
Whether the queries executed on the connection should be logged
Declaration
public bool Log { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Multi_statements
Whether the connection should support running multiple statements at once
Declaration
public bool Multi_statements { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Share
Whether the connection should be shared with other scripts
Declaration
public bool Share { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Surpress
List of errors / warnings to surpress
Declaration
public string[] Surpress { get; set; }
Property Value
Type | Description |
---|---|
String[] |
Tag
Tag for this connection to easily identify it in MySql server logs
Declaration
public string Tag { get; set; }
Property Value
Type | Description |
---|---|
String |