Otter SDK Reference
Version:

SqlServerDatabaseContext Class

Database Context for SQL Server

Inheritance Hierarchy

Syntax

public class SqlServerDatabaseContext : DatabaseContext, System.IDisposable

Constructors

Name Description
SqlServerDatabaseContext

Initializes a new instance of the SqlServerDatabaseContext class.

SqlServerDatabaseContext(bool keepConnection)

Initializes a new instance of the SqlServerDatabaseContext class.

Methods

Name Description
CreateCommand(string storedProcName, GenericDbParameter[] parameters)

Creates the command.

CreateConnection

Creates the connection.

CreateConnectionAsync

Creates the connection.