AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

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

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.

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

Syntax


public List<T> GetAllPublishedObjectsLight<T>(
	List<string> fieldNames
)
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

Return Value

A List of the speficied populated objects