{CompanyName} FlexyGo

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

Gets a template based on the TemplateType. If object does not have a template for that mode it will get a system default template definition

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

Syntax


public Template GetTemplateType(
	string TemplateType,
	int page,
	int pageSize,
	string additionalWhere,
	List<PropertyOrder> OrderBy,
	string ViewName,
	bool NoData,
	Dictionary<string, TemplateGroup> GroupsInfo
)
Public Function GetTemplateType ( _
	TemplateType As String, _
	page As Integer, _
	pageSize As Integer, _
	additionalWhere As String, _
	OrderBy As List(Of PropertyOrder), _
	ViewName As String, _
	NoData As Boolean, _
	GroupsInfo As Dictionary(Of String, TemplateGroup) _
) As Template

Parameters

TemplateType
Type: String
Type of the template.
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.
ViewName
Type: String
An specific Object ViewName
NoData
Type: Boolean
When template is based on a SQL sentence set tis value to true
GroupsInfo
Type: Dictionary<(Of <(<'String, TemplateGroup>)>)>

Return Value

Template.

Exceptions


ExceptionCondition
Exception