ToolHelper..::..SaveDraftObject<(Of <(<'T>)>)> Method (String, T, List<(Of <(<'mscpDomain>)>)>)
Saves the draft object.
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public ToolHelperResult SaveDraftObject<T>( string serviceAccount, T businessObject, List<mscpDomain> publishDomains ) where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>
Type Parameters
- T
Parameters
- serviceAccount
- Type: String
The service account.
- businessObject
- Type: T
The business object.
- publishDomains
- Type: List<(Of <(<'mscpDomain>)>)>
The publish domains.
Return Value
ToolHelperResult.Exceptions
Exception | Condition |
---|---|
Exception | Proper constructor is not initialized ToolHelper(SQL sql, int domainId, int languageId) |