Skip to content

PostgreSqlMethodsFactory

Namespace: MJCZone.DapperMatic.Providers.PostgreSql

Assembly: MJCZone.DapperMatic

Summary

Factory class for creating PostgreSQL specific database methods.

Inheritance

Base Class: DatabaseMethodsFactoryBase

public

Contents

Constructors (1) | Methods (7)

Constructors

PostgreSqlMethodsFactory

csharp
PostgreSqlMethodsFactory()

Methods

MethodSummary
SupportsConnectionCustomDetermines whether the specified database connection supports custom PostgreSQL connection.
SupportsConnectionDetermines whether the specified database connection is a PostgreSQL connection.
GetMethodsGets the database methods for the specified database connection.
GetType
ToString
Equals
GetHashCode

SupportsConnectionCustom

Determines whether the specified database connection supports custom PostgreSQL connection.

csharp
bool SupportsConnectionCustom(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: bool

if the connection supports custom PostgreSQL connection; otherwise, .

SupportsConnection

Determines whether the specified database connection is a PostgreSQL connection.

csharp
bool SupportsConnection(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: bool

if the connection is a PostgreSQL connection; otherwise, .

GetMethods

Gets the database methods for the specified database connection.

csharp
GetMethods(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

The database methods for the specified connection.

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()