get

inline fun <T : Any> CurrentSession.get(): T?(source)
fun <T : Any> CurrentSession.get(klass: KClass<T>): T?(source)

Gets a session instance with the type T.

Report a problem

Throws

if no session provider is registered for the type T