Click or drag to resize

LiteCollectionTInsert(T) Method

Insert a new entity to this collection. Document Id must be a new value in collection - Returns document Id

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public BsonValue Insert(
	T entity
)

Parameters

entity  T
 

Return Value

BsonValue

Implements

ILiteCollectionTInsert(T)
See Also