UnitOfWork Constructor
- Last UpdatedApr 08, 2026
- 1 minute read
The normal constructor requiring the database context and default lock type.
public UnitOfWork(
IDataContext context,
LockType defaultLockType
)
public:
UnitOfWork(
IDataContext^ context,
LockType defaultLockType
)
Parameters
- context
- The database context.
- defaultLockType
- The default lock type.