Click or drag to resize

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
C#
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: TValue
the generic entity that was added
See Also