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
IDbConnectionThe connection.
userName
stringName of the user.
Returns
- Task
A task representing the asynchronous operation.