Table of Contents

Class SqlConnectionExtensions

Namespace
Innova.Data.Entity.Configuration
Assembly
Innova.Data.dll
public static class SqlConnectionExtensions
Inheritance
SqlConnectionExtensions

Methods

SetApplicationRole(SqlConnection, string, string)

Sets the application role on the connection

SetApplicationRoleAsync(SqlConnection, string, string)
SetApplicationRoleAsync(DbConnection, ISqlConnectionOption, ConcurrentDictionary<Guid, SqlBinary>)
SetApplicationRoleAsync(DbConnection, string, string, ConcurrentDictionary<Guid, SqlBinary>)
SetContextUserName(IDbConnection, string)

Sets the name of the context user.

SetContextUserNameAsync(IDbConnection, string)

Sets the name of the context user asynchronously.

UnsetApplicationRole(SqlConnection, SqlBinary)

Unsets the application role identified by cookie on the connection.

UnsetApplicationRoleAsync(SqlConnection, SqlBinary)

Unsets the application role identified by cookie on the connection async.

UnsetApplicationRoleAsync(DbConnection, ConcurrentDictionary<Guid, SqlBinary>)