Skip to content

SqlServerMethodsFactory

Namespace: MJCZone.DapperMatic.Providers.SqlServer

Assembly: MJCZone.DapperMatic

Summary

Factory class for creating SQL Server specific database methods.

Inheritance

Base Class: DatabaseMethodsFactoryBase

public

Contents

Constructors (1) | Methods (7)

Constructors

SqlServerMethodsFactory

csharp
SqlServerMethodsFactory()

Methods

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

SupportsConnectionCustom

Determines whether the specified connection supports custom handling.

csharp
bool SupportsConnectionCustom(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: bool

if the connection supports custom handling; otherwise, .

SupportsConnection

Determines whether the specified connection is supported.

csharp
bool SupportsConnection(IDbConnection db)

Parameters

  • db (IDbConnection) - The database connection.

Returns

Type: bool

if the connection is supported; 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()