IUserSessionGetManagerT Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax T GetManager<T>(
Func<T> constructor
)
where T : TransactionalEntity
Function GetManager(Of T As TransactionalEntity) (
constructor As Func(Of T)
) As T
generic<typename T>
where T : TransactionalEntity
T GetManager(
Func<T>^ constructor
)
abstract GetManager :
constructor : Func<'T> -> 'T when 'T : TransactionalEntity
Parameters
- constructor
- Type: SystemFuncT
[Missing <param name="constructor"/> documentation for "M:Ingeniux.CMS.IUserSession.GetManager``1(System.Func{``0})"]
Type Parameters
- T
- An entity manager type, which must implement ITransactionalEntity.
Return Value
Type:
TReturns the object with matching ID.
If an object with a matching ID doesn't exist, the object's type doesn't match the type parameters,
or the object's manager type doesn't match the given manager type,
returns null.
Remarks It is better to use the corresponding manager to retrieve the object.
See Also