Click or drag to resize

ILiteRepositoryInsertT(T, String) Method

Insert a new document into 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#
BsonValue Insert<T>(
	T entity,
	string collectionName = null
)

Parameters

entity  T
 
collectionName  String  (Optional)
 

Type Parameters

T

Return Value

BsonValue
See Also