Represents a connection to a Microsoft SQL Server database.
- Namespace
- DbSyncKit
.MSSQL - Interfaces
- Base Types
-
- object
Syntax
public class Connection : IDatabase
Constructors
Name | Summary |
---|---|
Connection |
Initializes a new instance of the Connection class.
|
Connection |
Initializes a new instance of the Connection class with the specified parameters.
|
Properties
Name | Property Type | Summary |
---|---|---|
Provider | DatabaseProvider |
Gets the database provider type, which is MSSQL for this class.
|
Methods
Name | Return Value | Summary |
---|---|---|
ExecuteQuery |
DataSet |
Executes a SQL query and returns the result as a DataSet.
|
GetConnectionString |
string |
Gets the connection string based on the provided parameters.
|
TestConnection |
bool |
Tests the database connection.
|