AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageModuleEngine..::..GetPublishedObjectsByMasterIdsLight<(Of <(<'T>)>)> Method

Returns lightweight business objects by MasterIDs, populated only with the specified properties for better performance.

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

Syntax


public List<T> GetPublishedObjectsByMasterIdsLight<T>(
	List<Guid> masterIds,
	List<string> fieldNames
)
where T : BusinessObject<T>

Type Parameters

T
A valid object inherited from BusinessObject.

Parameters

masterIds
Type: List<(Of <(<'Guid>)>)>
List of MasterIDs to retrieve.
fieldNames
Type: List<(Of <(<'String>)>)>
Optional list of property names to populate. If null, falls back to full object retrieval.

Return Value

A list of lightweight business objects matching the specified MasterIDs.