AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageModuleEngine..::..FindPublishedObjectsByNode<(Of <(<'T>)>)> Method (String, eComparison, Int32)

Performs a non-indexed search of all business objects of the specified type and returns a list of objects matching the conditional statement This function works well with small sets of typed published items. Performance may be impacted on larger object sets, and "GetByKey" should be implemented.

Namespace:  AdvantageCMS.Core.Common.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public List<T> FindPublishedObjectsByNode<T>(
	string node,
	eComparison comparison,
	int keyValue
)
where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>

Type Parameters

T
A valid object inherited from BusinessObject

Parameters

node
Type: String
The name of the property to search
comparison
Type: AdvantageCMS.Core.Common.Enums..::..eComparison
The type of comparison to execute
keyValue
Type: Int32
The integer comparision value

Return Value

A list of business objects