Table of Contents

Enum DatabaseConnectionMode

Namespace
TimeCockpit.Data.Database
Assembly
TimeCockpit.Data.dll

Defines how the data access library handles database connections

public enum DatabaseConnectionMode

Fields

CloseAndReopen = 1

The data access library closes and reopens the underlying database connection whenever it needs a connection to the db.

KeepOpen = 0

The data access library opens one database connection and tries to keep it open as long as the DataContext is alive.