ValueTypeProvider.GetById<T> Method
Note: This API is now obsolete.
Retrieves a single sub-entity of type T, returning null if the id is null.
Namespace: Ignition.Framework.RepositoriesAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
[ObsoleteAttribute("Use ConfigurationListProvider.GetEntityBasedListItem instead. (6.1)")]
public T GetById<T>(
NetForumId id
)
where T : new(), NetForumEntity
<ObsoleteAttribute("Use ConfigurationListProvider.GetEntityBasedListItem instead. (6.1)")>
Public Function GetById(Of T As {New, NetForumEntity}) (
id As NetForumId
) As T
public:
[ObsoleteAttribute(L"Use ConfigurationListProvider.GetEntityBasedListItem instead. (6.1)")]
generic<typename T>
where T : gcnew(), NetForumEntity
T GetById(
NetForumId^ id
)
[<ObsoleteAttribute("Use ConfigurationListProvider.GetEntityBasedListItem instead. (6.1)")>]
member GetById :
id : NetForumId -> 'T when 'T : new() and NetForumEntity
- id NetForumId
- The id if the sub-entity to retrieve or null
- T
TThe requested sub-entity if id was not null; otherwise null