Connection

Namespace: uModDatabase

Assembly: uMod.Core.dll

Inheritance Object Connection

Implements INameable

Summary

Connection class

Constructors

Name

Summary

Connection (Provider, Client, ConnectionInfo)

Create new connection

Properties

Name

Summary

Name

Gets connection name

State

Connection state

Methods

Name

Summary

CheckStatus (Action<ConnectionState>)

Check connection status

Close ()

Close connection

Execute (String, Object, Int32)

Create a new non-query with no return rows

Execute<T> (String, Object, Int32)

Create a new non-query with no return rows (but strongly-typed result)

ExecuteScalar (String, Object, Int32)

Create a new non-query that returns a scalar value

ExecuteScalar<T> (String, Object, Int32)

Create a new non-query that returns a scalar value

Migrate<T> (MigrationDirection)

Perform migration in specified direction

Migrate (Type, MigrationDirection)

Perform migration in the specified direction

Open ()

Open connection

Query (String, Object, Int32)

Create a new query

Query<T> (String, Object, Int32)

Create a new query that returns multiple strongly-typed results

Query<T> (String, IEnumerable<String>, String, Object, Int32)

Create a new query that returns multiple strongly-typed results with multi-mapping

QueryFirst (String, Object, Int32)

Create a new query that returns first result

QueryFirst<T> (String, Object, Int32)

Create a new query that returns first strongly-typed result

QuerySingle (String, Object, Int32)

Create a new query that returns a single result

QuerySingle<T> (String, Object, Int32)

Create a new query that returns a single strongly-typed result

Transaction (String)

Create transaction

Transaction<TTransaction> (String)

Create strongly-typed transaction