Skip to content

DbSessionRegistration Class ​

Definition ​

Represents a named database session registration used by DbSessionFactoryOptionsBuilder and IDbSessionFactory to create IDatabaseSession instances.

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

Properties ​

NameDescription
ConnectionStringGets the raw provider-specific connection string used to create
DatabaseConfigGets the structured database configuration used to create
DbTypeGets the database provider type associated with this registration.
LogConfigGets the logging configuration to apply when creating
NameGets the unique logical name for this database registration.
OpenOnConnectGets a value indicating whether the underlying database
SqlGeneratorOptionsGets SQL generator options to apply when creating

Remarks ​

A registration defines exactly one configuration source: either DatabaseConfig or ConnectionString. When ConnectionString is used, DbType identifies the target database provider for the registration.