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 ​
Method | Summary |
---|---|
GetMethods | Gets the database methods for the specified database connection. |
SupportsConnection | Determines 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
GetType ​
csharp
void GetType()
ToString ​
csharp
void ToString()
Equals ​
csharp
void Equals()
GetHashCode ​
csharp
void GetHashCode()