ISqlSession Members
Include Protected Members
Include Inherited Members
Provides an interface to access databases by using the .NET Data Provider for SQL Server.
The ISqlSession type exposes the following members.
Methods
Name | Description | |
---|---|---|
ChangeToOriginalDatabase | Switches the context to the original database being upgraded. | |
Commit | Commits the Microsoft SQL Server session. | |
Dispose | (Inherited from IDisposable.) | |
ExecuteNonQuery | Executes a Transact-SQL query that does not return any rows. | |
ExecuteReader(SqlCommand) | Executes a Transact-SQL query that returns a rowset based on the specified SQL command. | |
ExecuteReader(SqlCommand, CommandBehavior) | Executes a Transact-SQL query that returns a rowset based on the specified SQL command and behavior. | |
ExecuteScript(String) | Executes a series of Transact-SQL queries from a text file based on the specified path. | |
ExecuteScript(TextReader, Int32) | Executes a series of Transact-SQL queries from a text File. | |
ExecuteScript(String, Int32) | Executes a series of Transact-SQL queries from a text file based on the specified path and time allotted for each command to execute. | |
Rollback | Rolls back the Microsoft SQL Server session. This class and its members are reserved for internal use and are not intended to be used in your code. |
Top