Skip to main content

OrmLiteAuthRepository<TUserAuth, TUserAuthDetails>

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class OrmLiteAuthRepository<TUserAuth, TUserAuthDetails> : OrmLiteAuthRepositoryBase<TUserAuth, TUserAuthDetails>, IUserAuthRepository, IAuthRepository, IRequiresSchema, IClearable, IManageRoles, IManageApiKeys, ICustomUserAuth, IQueryUserAuth, IUserAuthRepositoryAsync, IAuthRepositoryAsync, IClearableAsync, IManageRolesAsync, IManageApiKeysAsync, IQueryUserAuthAsync, IManageSourceRolesAsync where TUserAuth : class, IUserAuth where TUserAuthDetails : class, IUserAuthDetails

Properties

NamedConnection

View Source
Declaration
public string NamedConnection { get; }

Methods

OpenDbConnection()

View Source
Declaration
protected IDbConnection OpenDbConnection()
Returns

IDbConnection

Exec(Action<IDbConnection>)

View Source
Declaration
public override void Exec(Action<IDbConnection> fn)
Parameters
TypeName
Action<IDbConnection>fn

Exec<T>(Func<IDbConnection, T>)

View Source
Declaration
public override T Exec<T>(Func<IDbConnection, T> fn)
Returns

<T>

Parameters
TypeName
Func<IDbConnection,<T>>fn
Type Parameters
  • T

OpenDbConnectionAsync()

View Source
Declaration
protected async Task<IDbConnection> OpenDbConnectionAsync()
Returns

Task<IDbConnection>

ExecAsync(Func<IDbConnection, Task>)

View Source
Declaration
public override async Task ExecAsync(Func<IDbConnection, Task> fn)
Returns

Task

Parameters
TypeName
Func<IDbConnection,Task>fn

ExecAsync<T>(Func<IDbConnection, Task<T>>)

View Source
Declaration
public override async Task<T> ExecAsync<T>(Func<IDbConnection, Task<T>> fn)
Returns

Task<<T>>

Parameters
TypeName
Func<IDbConnection,Task<<T>>>fn
Type Parameters
  • T

Implements