NeoAxis Documentation
NeoAxis Documentation
API Reference
NeoAxis.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:
NeoAxis.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
NeoAxis.LiteDB Namespace
Translate by Google:
Amharic
Arabic
Bengali
Burmese
Chinese
Dutch
French
German
Hindi
Indonesian
Italian
Japanese
Javanese
Korean
Malay
Nepali
Oriya
Pashto
Polish
Portuguese
Punjabi
Russian
Sindhi
Sinhala
Somali
Spanish
Swahili
Baidu:
Amharic
Arabic
Bengali
Burmese
Chinese
Dutch
French
German
Hindi
Indonesian
Italian
Japanese
Javanese
Korean
Malay
Nepali
Oriya
Pashto
Polish
Portuguese
Punjabi
Russian
Sindhi
Sinhala
Somali
Spanish
Swahili
Copyright 2026 NeoAxis Group. All rights reserved.