AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageModuleEngine..::..GetAllPublishedObjectsLight<(Of <(<'T>)>)> Method (List<(Of <(<'String>)>)>, Boolean)

Returns a list of BusinessObjects that are filled only with the properties specified in the parameter list Items that DO NOT need to be specified are:ObjectTypeName, ObjectTypeID, MasterID, DomainID, LanguageID, Version, PublishStatus, SEOName, LastModifiedBy, LastModifiedDate, CreatedBy, CreatedDate, SEOKeywords, SEOContent

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

Syntax


public List<T> GetAllPublishedObjectsLight<T>(
	List<string> fieldNames,
	bool includeSEO
)
where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>

Type Parameters

T
A valid object inherited from BusinessObject

Parameters

fieldNames
Type: List<(Of <(<'String>)>)>
A list of strings that map to public properties on the business object
includeSEO
Type: Boolean
if set to true [include seo].

Return Value

A List of the speficied populated objects