{CompanyName} FlexyGo

EntityCollection..::..GetTemplate Method (String, Boolean, Int32, Int32, String, List<(Of <(<'PropertyOrder>)>)>%, Dictionary<(Of <(<'String, TemplateGroup>)>)>)

Gets a template based on the Template Id.

Namespace:  FLEXYGO.Objects
Assembly:  flxEntity (in flxEntity.dll)

Syntax


public Template GetTemplate(
	string TemplateId,
	bool noData,
	int page,
	int pageSize,
	string additionalWhere,
	ref List<PropertyOrder> orderby,
	Dictionary<string, TemplateGroup> GroupsInfo
)
Public Function GetTemplate ( _
	TemplateId As String, _
	noData As Boolean, _
	page As Integer, _
	pageSize As Integer, _
	additionalWhere As String, _
	ByRef orderby As List(Of PropertyOrder), _
	GroupsInfo As Dictionary(Of String, TemplateGroup) _
) As Template

Parameters

TemplateId
Type: String
Template id.
noData
Type: Boolean
if True then just loads template with no data
page
Type: Int32
Page order
pageSize
Type: Int32
Page size
additionalWhere
Type: String
Optional additional filter
orderby
Type: List<(Of <(<'PropertyOrder>)>)>%
The order by sentence.
GroupsInfo
Type: Dictionary<(Of <(<'String, TemplateGroup>)>)>

Return Value

Template.

Exceptions


ExceptionCondition
Exception