Table of Contents

Method SetContextUserNameAsync

Namespace
Innova.Data.Entity.Configuration
Assembly
Innova.Data.dll

SetContextUserNameAsync(IDbConnection, string)

Sets the name of the context user asynchronously.

public static Task SetContextUserNameAsync(this IDbConnection connection, string userName)

Parameters

connection IDbConnection

The connection.

userName string

Name of the user.

Returns

Task

A task representing the asynchronous operation.