StoreProductRepositoryGetByIdT(NetForumId) Method
Retrieves a given Store Product by ID.
Note that products that are not Store Products will not be retrieved.
See the Ignition User Guide for more information on what criteria a product must meet to be included.
Namespace: Ignition.Commerce.ProductsAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public T GetById<T>(
NetForumId productId
)
where T : StoreProduct
Public Function GetById(Of T As StoreProduct) (
productId As NetForumId
) As T
public:
generic<typename T>
where T : StoreProduct
virtual T GetById(
NetForumId^ productId
) sealed
abstract GetById :
productId : NetForumId -> 'T when 'T : StoreProduct
override GetById :
productId : NetForumId -> 'T when 'T : StoreProduct
- productId NetForumId
- The product Id of the Store Product to be retrieved
- T
- An overridden entity type, as registered with the CustomEntityRegistrar
TThe requested Store Product