RepositoryTKey, TValueAddOrUpdate Method |
Adds or updates the entity TValue with key TKey
Namespace:
Crosser.Common.Utilities.Persistence
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax public static TValue AddOrUpdate(
TKey key,
TValue entity
)
Parameters
- key
- Type: TKey
the generic key - entity
- Type: TValue
the generic entity to add or update
Return Value
Type:
TValuethe generic entity that was added
See Also