Method CloseAsync
CloseAsync()
Close all resources used in this Session. If any transaction is left open in this session without commit or rollback, then this method will rollback the transaction.
Task CloseAsync()
Returns
- Task
A task representing the completion of successfully closed the session.