Appearance
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
| Name | Description |
|---|---|
ConnectionString | Gets the raw provider-specific connection string used to create |
DatabaseConfig | Gets the structured database configuration used to create |
DbType | Gets the database provider type associated with this registration. |
LogConfig | Gets the logging configuration to apply when creating |
Name | Gets the unique logical name for this database registration. |
OpenOnConnect | Gets a value indicating whether the underlying database |
SqlGeneratorOptions | Gets 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.