Skip to content

Get Method ​

Definition ​

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

Overloads ​

NameDescription
IDatabaseSession Get()Creates, tracks, and returns an additional database session using the default registration.
IDatabaseSession Get(string name)Creates, tracks, and returns an additional database session using the specified registration.

IDatabaseSession Get() ​

csharp
IDatabaseSession Get()

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.

IDatabaseSession Get(string name) ​

csharp
IDatabaseSession Get(string name)

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