Table of Contents

Class DuckDBClientFactory

Namespace
DuckDB.NET.Data
Assembly
DuckDB.NET.Data.dll
public class DuckDBClientFactory : DbProviderFactory
Inheritance
DuckDBClientFactory
Inherited Members

Fields

Instance

public static readonly DuckDBClientFactory Instance

Field Value

DuckDBClientFactory

ProviderInvariantName

public const string ProviderInvariantName = "DuckDB.NET.Data"

Field Value

string

Properties

CanCreateDataSourceEnumerator

Gets a value that indicates whether this DbProviderFactory instance supports the DbDataSourceEnumerator class.

public override bool CanCreateDataSourceEnumerator { get; }

Property Value

bool

true if the instance supports the DbDataSourceEnumerator class; otherwise, false.

Methods

CreateCommand()

Returns a new instance of the provider's class that implements the DbCommand class.

public override DbCommand CreateCommand()

Returns

DbCommand

A new instance of DbCommand.

CreateCommandBuilder()

Returns a new instance of the provider's class that implements the DbCommandBuilder class.

public override DbCommandBuilder CreateCommandBuilder()

Returns

DbCommandBuilder

A new instance of DbCommandBuilder.

CreateConnection()

Returns a new instance of the provider's class that implements the DbConnection class.

public override DbConnection CreateConnection()

Returns

DbConnection

A new instance of DbConnection.

CreateConnectionStringBuilder()

Returns a new instance of the provider's class that implements the DbConnectionStringBuilder class.

public override DbConnectionStringBuilder CreateConnectionStringBuilder()

Returns

DbConnectionStringBuilder

A new instance of DbConnectionStringBuilder.

CreateDataAdapter()

Returns a new instance of the provider's class that implements the DbDataAdapter class.

public override DbDataAdapter CreateDataAdapter()

Returns

DbDataAdapter

A new instance of DbDataAdapter.

CreateParameter()

Returns a new instance of the provider's class that implements the DbParameter class.

public override DbParameter CreateParameter()

Returns

DbParameter

A new instance of DbParameter.