ServiceCollectionExtensions
Namespace: MJCZone.DapperMatic.AspNetCore
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
Extension methods for registering DapperMatic services with the DI container.
static public
Contents
Methods (5)
Methods
AddDapperMatic
Adds DapperMatic ASP.NET Core services with configuration to the specified IServiceCollection.
csharp
IServiceCollection AddDapperMatic(
IServiceCollection services,
DapperMaticConfigurationBuilder} configure)Parameters
- services (IServiceCollection) - The IServiceCollection to add services to.
- configure (DapperMaticConfigurationBuilder}) - Configuration action for the DapperMatic configuration builder.
Returns
Type: IServiceCollection
The service collection for further configuration.
GetType
csharp
GetType()ToString
csharp
ToString()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()