View Source
Class SqlTemplate
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
Methods
View Source
Arg(String)
Declaration
public static object Arg(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
View Source
Arg<T>(String)
Gets a WHERE expression argument.
Declaration
public static T Arg<T>(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type Parameters
View Source
ArgIn<T>(String)
Gets a WHERE IN expression argument.
Declaration
public static IEnumerable<T> ArgIn<T>(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters
View Source
Sql()
Declaration
public Sql<ISqlContext> Sql()
Returns
View Source
Sql(Object[])
Declaration
public Sql<ISqlContext> Sql(params object[] args)
Parameters
Type |
Name |
Description |
System.Object[] |
args |
|
Returns
View Source
SqlNamed(Object)
Declaration
public Sql<ISqlContext> SqlNamed(object nargs)
Parameters
Type |
Name |
Description |
System.Object |
nargs |
|
Returns