MySqlDataContext.MySqlDataContext Constructor
.NET Standard 2.x
Initializes a new instance of the MySqlDataContext class.
Namespace: SnapObjects.Data.MySql
Assembly: SnapObjects.Data.MySql.dll
Overloads
| Constructor | Description |
|---|---|
| MySqlDataContext(IDataContextOptions dataContextOptions) | Initializes a new instance of the MySqlDataContext class by passing the MySqlDataContextOptions type object as a parameter. |
| MySqlDataContext(MySqlConnection dbConnection) | Initializes a new instance of the MySqlDataContext class by passing the MySqlConnection type object as a parameter. |