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