Skip to main content
.NET 6.0+

UnitOfWork(XPDictionary) Constructor

Initializes a new instance of the UnitOfWork class with the specified dictionary.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public UnitOfWork(
    XPDictionary dictionary
)

Parameters

Name Type Description
dictionary XPDictionary

An XPDictionary descendant that provides metadata on persistent objects in a data store.

Remarks

Use the XpoDefault.ConnectionString property to specify the connection string used by the newly created units of work when they are connected to a data store.

See Also