Class SpannerProviderFactory (3.12.0)

public sealed class SpannerProviderFactory : DbProviderFactory

Represents a set of methods for creating instances of the Spanner data provider's implementation of the data source classes.

Inheritance

Object > DbProviderFactory > SpannerProviderFactory

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Fields

Instance

public static readonly SpannerProviderFactory Instance

The default SpannerProviderFactory instance. This public static field is required for the providerfactory to work properly.

Field Value
TypeDescription
SpannerProviderFactory

Methods

CreateCommand()

public override DbCommand CreateCommand()
Returns
TypeDescription
DbCommand
Overrides

CreateConnection()

public override DbConnection CreateConnection()
Returns
TypeDescription
DbConnection
Overrides

CreateConnectionStringBuilder()

public override DbConnectionStringBuilder CreateConnectionStringBuilder()
Returns
TypeDescription
DbConnectionStringBuilder
Overrides

CreateDataAdapter()

public override DbDataAdapter CreateDataAdapter()
Returns
TypeDescription
DbDataAdapter
Overrides

CreateParameter()

public override DbParameter CreateParameter()
Returns
TypeDescription
DbParameter
Overrides