Interface Connection
Namespace: Telerik.OpenAccess.RT.sql
Assembly: Telerik.OpenAccess.Runtime.dll
Syntax
public interface Connection
Properties
CommandTimeout
Declaration
int CommandTimeout { get; set; }
Property Value
|
System.Int32
|
ContextId
Declaration
int ContextId { get; set; }
Property Value
|
System.Int32
|
CurrentTransaction
Declaration
DbTransaction CurrentTransaction { get; }
Property Value
|
System.Data.Common.DbTransaction
|
ExplicitTransactionBegin
Declaration
bool ExplicitTransactionBegin { get; set; }
Property Value
|
System.Boolean
|
IsolationLevel
Declaration
IsolationLevel? IsolationLevel { get; set; }
Property Value
|
System.Nullable<System.Data.IsolationLevel>
|
ProviderFactory
Declaration
DbProviderFactory ProviderFactory { get; }
Property Value
|
System.Data.Common.DbProviderFactory
|
RealConnection
Declaration
DbConnection RealConnection { get; }
Property Value
|
System.Data.Common.DbConnection
|
Methods
begin()
Declaration
void begin()
close(Boolean)
Declaration
void close(bool fromFinalizer)
Parameters
|
System.Boolean
fromFinalizer
|
commit()
Declaration
void commit()
createStatement()
createStatement(Int32, Int32)
Declaration
Statement createStatement(int resultSetType, int resultSetConcurrency)
Parameters
|
System.Int32
resultSetType
|
|
System.Int32
resultSetConcurrency
|
Returns
|
Statement
|
createStatement(Int32, Int32, Int32)
Declaration
Statement createStatement(int i1, int i2, int i3)
Parameters
|
System.Int32
i1
|
|
System.Int32
i2
|
|
System.Int32
i3
|
Returns
|
Statement
|
getAutoCommit()
Declaration
bool getAutoCommit()
Returns
|
System.Boolean
|
GetConverters(Dictionary<String, TypeConverterName>)
Declaration
void GetConverters(Dictionary<string, TypeConverterName> converterMap)
Parameters
|
System.Collections.Generic.Dictionary<System.String, TypeConverterName>
converterMap
|
getMetaData()
isClosed()
Declaration
bool isClosed()
Returns
|
System.Boolean
|
nativeSQL(String)
Declaration
string nativeSQL(string sql)
Parameters
|
System.String
sql
|
Returns
|
System.String
|
prepareCall(String, Int32, Int32, Int32)
Declaration
CallableStatement prepareCall(string s, int i1, int i2, int i3)
Parameters
|
System.String
s
|
|
System.Int32
i1
|
|
System.Int32
i2
|
|
System.Int32
i3
|
Returns
|
CallableStatement
|
prepareCall(String, String[])
Declaration
CallableStatement prepareCall(string sql, string[] paramNames)
Parameters
|
System.String
sql
|
|
System.String[]
paramNames
|
Returns
|
CallableStatement
|
prepareCall(String, String[], Int32, Int32)
Declaration
CallableStatement prepareCall(string sql, string[] paramNames, int resultSetType, int resultSetConcurrency)
Parameters
|
System.String
sql
|
|
System.String[]
paramNames
|
|
System.Int32
resultSetType
|
|
System.Int32
resultSetConcurrency
|
Returns
|
CallableStatement
|
prepareStatement(String)
Declaration
PreparedStatement prepareStatement(string sql)
Parameters
|
System.String
sql
|
Returns
|
PreparedStatement
|
prepareStatement(String, Int32)
Declaration
PreparedStatement prepareStatement(string s, int i1)
Parameters
|
System.String
s
|
|
System.Int32
i1
|
Returns
|
PreparedStatement
|
prepareStatement(String, Int32, Int32)
Declaration
PreparedStatement prepareStatement(string sql, int resultSetType, int resultSetConcurrency)
Parameters
|
System.String
sql
|
|
System.Int32
resultSetType
|
|
System.Int32
resultSetConcurrency
|
Returns
|
PreparedStatement
|
prepareStatement(String, Int32, Int32, Int32)
Declaration
PreparedStatement prepareStatement(string s, int i1, int i2, int i3)
Parameters
|
System.String
s
|
|
System.Int32
i1
|
|
System.Int32
i2
|
|
System.Int32
i3
|
Returns
|
PreparedStatement
|
prepareStatement(String, Int32[])
Declaration
PreparedStatement prepareStatement(string s, int[] i1)
Parameters
|
System.String
s
|
|
System.Int32[]
i1
|
Returns
|
PreparedStatement
|
prepareStatement(String, String[])
Declaration
PreparedStatement prepareStatement(string s, string[] s2)
Parameters
|
System.String
s
|
|
System.String[]
s2
|
Returns
|
PreparedStatement
|
rollback()
Declaration
void rollback()
setAutoCommit(Boolean)
Declaration
void setAutoCommit(bool value)
Parameters
|
System.Boolean
value
|