Class SqlTemplates
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Persistence
Assembly: Umbraco.Infrastructure.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 | |
Func<Sql<ISqlContext>, Sql<ISqlContext>> | sqlBuilder |
Returns
Type | Description |
---|---|
SqlTemplate |