AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ToolListBaseControl..::..GetPrimaryObjectByMasterId<(Of <(<'T>)>)> Method

Returns the Primary record for the item. It may be Draft, Publish, Historical Status.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public T GetPrimaryObjectByMasterId<T>(
	Guid masterId
)
where T : BusinessObject<T>

Type Parameters

T
A valid object inherited from BusinessObject

Parameters

masterId
Type: Guid
Unique identifier of the BusinessObject

Return Value

The filled business object