RepositoryInstanceTKey, TValueGetById Method |
Get a single entity T with the key TK
Namespace:
Crosser.Common.Utilities.Persistence
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax public TValue GetById(
TKey key
)
Parameters
- key
- Type: TKey
the generic key to use in the lookup
Return Value
Type:
TValueThe value matching the key. If not found the default value of TValue will be returned
See Also