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