Click or drag to resize

ReaderWriterLockingDataContext(IDbProvider, IDbConnection) Constructor

Creates a new data context.

Namespace: SanteDB.OrmLite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public ReaderWriterLockingDataContext(
	IDbProvider provider,
	IDbConnection connection
)

Parameters

provider  IDbProvider
The underlying provider for this context.
connection  IDbConnection
The connection created by the provider for this context.
Remarks
This constructor will mark the data context as writable and lock the provider.
See Also