SqlServerDataContext Class
.NET Standard 2.x
Represents the entry to the SqlServer database.
Namespace: SnapObjects.Data.SqlServer
Assembly: SnapObjects.Data.SqlServer.dll
Syntax
public class SqlServerDataContext : DataContext
Constructors
| Name | 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. |