mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 18:14:44 +00:00
Removes the USP_* stored procedures for Auth, Location, and Brewery data access in favour of services built with Dapper. Adds a new Features.Locations slice and optimistic concurrency support for the Brewery slice.
13 lines
383 B
C#
13 lines
383 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Infrastructure.Sql.DependencyInjection;
|
|
|
|
public static class InfrastructureSqlServiceCollectionExtensions
|
|
{
|
|
public static IServiceCollection AddInfrastructureSql(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<ISqlConnectionFactory, DefaultSqlConnectionFactory>();
|
|
return services;
|
|
}
|
|
}
|