ILiteRepositoryUpsertT(IEnumerableT, String) Method |
Insert or Update all documents based on _id key. Returns entity count that was inserted
Namespace: Internal.LiteDBAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxint Upsert<T>(
IEnumerable<T> entities,
string collectionName = null
)
Parameters
- entities IEnumerableT
-
- collectionName String (Optional)
-
Type Parameters
- T
Return Value
Int32
See Also