UnitOfWork constructor

namespace: Serenity.Data   assemblySerenity.Net.Data

Initializes a new instance of the UnitOfWork class.

public UnitOfWork(IDbConnection connection)
parameter description
connection The connection.

Exceptions

exception condition
ArgumentNullException connection

See Also