Skip to content

GetAsync Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
Task<IDatabaseSession> GetAsync()Asynchronously creates, tracks, and returns an additional database session using the default registration.
Task<IDatabaseSession> GetAsync(string name)Asynchronously creates, tracks, and returns an additional database session using the specified registration.

Task<IDatabaseSession> GetAsync() ​

csharp
Task<IDatabaseSession> GetAsync()

Asynchronously creates, tracks, and returns an additional database session using the default registration.

Remarks ​

This method does not return Session. Each call creates a new tracked session that will be disposed with the current context.

Task<IDatabaseSession> GetAsync(string name) ​

csharp
Task<IDatabaseSession> GetAsync(string name)

Asynchronously creates, tracks, and returns an additional database session using the specified registration.