Service Registeration
services.AddScoped<IDapperDriver, DapperDriver>(sp => new DapperDriver(appOptions.connectionString));
Query
var res = await dapperDriver.QueryAsync("SELECT * FROM [Profile].[User]" , System.Data.CommandType.Text);
Command
var res = await dapperDriver.CommandAsync("DELETE FROM Profile.UserFollower", System.Data.CommandType.Text); res.ModifiedCount; -- > deleted records count
StoredProcdure Query
var res = await dapperDriver.QueryAsync(input, "[Profile].[S_User_List]");
StoredProcdure Command
var res = await dapperDriver.CommandAsync(input, "[Profile].[S_User_Save]");
StoredProcdure Parameter With OutputParams
var res = await dapperDriver.CommandAsync(input, "[Profile].[S_User_Save]" , cancellationToken, "Id");