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(IEnumerable
T
) Method
Insert or Update all documents
Namespace:
Internal.LiteDB
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
Copy
public
int
Upsert
(
IEnumerable
<T>
entities
)
Parameters
entities
IEnumerable
T
Return Value
Int32
Implements
ILiteCollection
T
Upsert(IEnumerable
T
)
See Also
Reference
LiteCollection
T
Class
Upsert Overload
Internal.LiteDB Namespace
Copyright 2026 NeoAxis Group. All rights reserved.