Class DuckDBConnectionStringBuilder
public class DuckDBConnectionStringBuilder : DbConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor
- Inheritance
-
DuckDBConnectionStringBuilder
- Implements
- Inherited Members
Fields
InMemoryConnectionString
public const string InMemoryConnectionString = "DataSource=:memory:"
Field Value
InMemoryDataSource
public const string InMemoryDataSource = ":memory:"
Field Value
InMemorySharedConnectionString
public const string InMemorySharedConnectionString = "DataSource=:memory:?cache=shared"
Field Value
InMemorySharedDataSource
public const string InMemorySharedDataSource = ":memory:?cache=shared"
Field Value
Properties
DataSource
public string DataSource { get; set; }
Property Value
this[string]
Gets or sets the value associated with the specified key.
[AllowNull]
public override object this[string keyword] { get; set; }
Parameters
keywordstringThe key of the item to get or set.
Property Value
- object
The value associated with the specified key. If the specified key is not found, trying to get it returns a null reference (
Nothingin Visual Basic), and trying to set it creates a new element using the specified key.Passing a null (
Nothingin Visual Basic) key throws an ArgumentNullException. Assigning a null value removes the key/value pair.
Exceptions
- ArgumentNullException
keywordis a null reference (Nothingin Visual Basic).- NotSupportedException
The property is set, and the DbConnectionStringBuilder is read-only.
-or-
The property is set,
keyworddoes not exist in the collection, and the DbConnectionStringBuilder has a fixed size.