Click or drag to resize

RepositoryInstanceTKey, TValueAddOrUpdate Method

Adds or updates the entity T with key TK

Namespace:  Crosser.Common.Utilities.Persistence
Assembly:  Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax
C#
public TValue AddOrUpdate(
	TKey key,
	TValue entity
)

Parameters

key
Type: TKey
the generic key to use
entity
Type: TValue
the generic entity to add or update

Return Value

Type: TValue
the generic entity that was added/updated
See Also