Class SqlTemplates
Inheritance
System.Object
Namespace: Umbraco.Core.Persistence
Assembly: Umbraco.Core.dll
Syntax
public class SqlTemplates
Constructors
View SourceSqlTemplates(ISqlContext)
Declaration
public SqlTemplates(ISqlContext sqlContext)
Parameters
Type | Name | Description |
---|---|---|
ISqlContext | sqlContext |
Methods
View SourceGet(String, Func<Sql<ISqlContext>, Sql<ISqlContext>>)
Declaration
public SqlTemplate Get(string key, Func<Sql<ISqlContext>, Sql<ISqlContext>> sqlBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Func<Sql<ISqlContext>, Sql<ISqlContext>> | sqlBuilder |
Returns
Type | Description |
---|---|
SqlTemplate |