NeoAxis Documentation
NeoAxis Documentation
API Reference
Internal.LiteDB
LiteCollection<T> Class
LiteCollection<T> Methods
Upsert Method
Upsert(IEnumerable<T>) Method
Upsert(T) Method
Upsert(BsonValue, T) Method
Lite
Collection
T
Upsert(
T
) Method
Insert or Update a document in this collection.
Namespace:
Internal.LiteDB
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
Copy
public
bool
Upsert
( T
entity
)
Parameters
entity
T
Return Value
Boolean
Implements
ILiteCollection
T
Upsert(T)
See Also
Reference
LiteCollection
T
Class
Upsert Overload
Internal.LiteDB Namespace
Copyright 2026 NeoAxis Group. All rights reserved.