DataContext.DataContext Constructor
.NET Standard 2.x
Initializes a new instance of the DataContext class by an object.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Overloads
| Constructor | Description |
|---|---|
| DataContext(IDataContextOptions dataContextOptions) | Initializes a new instance of the DataContext class by an IDataContextOptions object. |
| DataContext(DbConnection dbConnection, IDataContextOptions dataContextOptions) | Initializes a new instance of the DataContext class by a DbConnnection object and an IDataContextOptions object. |