SqliteBlobCache(string, IScheduler?, bool) constructor¶
Defined in
Type: SqliteBlobCache
Namespace: ReactiveMarbles.CacheDatabase.Sqlite3
Assembly: ReactiveMarbles.CacheDatabase.Sqlite3.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public SqliteBlobCache(string fileName, IScheduler? scheduler = null, bool storeDateTimeAsTicks = true) - 2.
public SqliteBlobCache(SQLiteConnectionString connectionString, IScheduler? scheduler = null)
1. Overload¶
public SqliteBlobCache(string fileName, IScheduler? scheduler = null, bool storeDateTimeAsTicks = true)
Summary: Initializes a new instance of the SqliteBlobCache class.
Parameters
| Name | Type | Description |
|---|---|---|
fileName | string | The database file name. |
scheduler = null | [IScheduler?](# | The scheduler. |
storeDateTimeAsTicks = true | bool | Specifies whether to store DateTime properties as ticks (true) or strings (false). You absolutely do want to store them as Ticks in all new projects. The value of false is only here for backwards compatibility. There is a significant speed advantage, with no down sides, when setting storeDateTimeAsTicks = true. If you use DateTimeOffset properties, it will be always stored as ticks regardingless the storeDateTimeAsTicks parameter. |
2. Overload¶
public SqliteBlobCache(SQLiteConnectionString connectionString, IScheduler? scheduler = null)
Summary: Initializes a new instance of the SqliteBlobCache class.
Parameters
| Name | Type | Description |
|---|---|---|
connectionString | SQLiteConnectionString | The connection string. |
scheduler = null | [IScheduler?](# | The scheduler. |