AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

BusinessObjectHelper..::..GetDraftObjectByMasterId<(Of <(<'T>)>)> Method

Returns the specified draft business object from the masterId passed.

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

Syntax


public T GetDraftObjectByMasterId<T>(
	Guid masterId,
	int version
)
where T : BusinessObject<T>

Type Parameters

T
A valid object inherited from BusinessObject

Parameters

masterId
Type: Guid
Unique identifier of the BusinessObject
version
Type: Int32
Unique version number of the BusinessObject

Return Value

The filled business object