IDatabaseMethodsFactory ​
Namespace: MJCZone.DapperMatic.Interfaces
Assembly: MJCZone.DapperMatic
Summary ​
Factory interface for creating database methods.
abstract
public
Note: This is an interface that defines a contract. Look for implementing classes in the same or related namespaces.
Contents ​
Methods (2)
Methods ​
SupportsConnection ​
Determines whether the factory supports the specified database connection.
csharp
bool SupportsConnection(IDbConnection db)
Parameters ​
- db (IDbConnection) - The database connection.
Returns ​
Type: bool
GetMethods ​
Gets the database methods for the specified database connection.
csharp
IDatabaseMethods GetMethods(IDbConnection db)
Parameters ​
- db (IDbConnection) - The database connection.
Returns ​
Type: IDatabaseMethods
An instance of for the specified database connection.