Skip to content

DatabaseMethodsFactoryBase

Namespace: MJCZone.DapperMatic.Providers

Assembly: MJCZone.DapperMatic

Summary

Provides a base class for creating database methods factories.

Inheritance

Implemented Interfaces:

abstract public

Note: This is an abstract base class. Concrete implementations can be found in provider-specific namespaces.

Contents

Methods (6)

Methods

MethodSummary
GetMethodsGets the database methods for the specified database connection.
SupportsConnectionDetermines whether the specified database connection is supported by this factory.
GetType
ToString
Equals
GetHashCode

GetMethods

Gets the database methods for the specified database connection.

csharp
IDatabaseMethods GetMethods(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: IDatabaseMethods

The database methods for the specified connection.

SupportsConnection

Determines whether the specified database connection is supported by this factory.

csharp
bool SupportsConnection(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: bool

if the connection is supported; otherwise, .

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()