Interface ISqlContext
Specifies the Sql context.
Assembly: cs.temp.dll.dll
Syntax
public interface ISqlContext
Properties
DatabaseType
Declaration
DatabaseType DatabaseType { get; }
Property Value
| Type |
Description |
| DatabaseType |
|
Mappers
Declaration
IMapperCollection Mappers { get; }
Property Value
| Type |
Description |
| IMapperCollection |
|
PocoDataFactory
Gets the Poco data factory.
Declaration
IPocoDataFactory PocoDataFactory { get; }
Property Value
| Type |
Description |
| IPocoDataFactory |
|
SqlSyntax
Gets the Sql syntax provider.
Declaration
ISqlSyntaxProvider SqlSyntax { get; }
Property Value
| Type |
Description |
| ISqlSyntaxProvider |
|
Templates
Declaration
SqlTemplates Templates { get; }
Property Value
Methods
Query<T>()
Creates a new query expression.
Declaration
Returns
| Type |
Description |
| IQuery<T> |
|
Type Parameters
Sql()
Creates a new Sql expression.
Declaration
Returns
Sql(String, Object[])
Creates a new Sql expression.
Declaration
Sql<ISqlContext> Sql(string sql, params object[] args)
Parameters
| Type |
Name |
Description |
| System.String |
sql |
|
| System.Object[] |
args |
|
Returns