Click or drag to resize

ILiteRepositoryInsertT(IEnumerableT, String) Method

Insert an array of new documents into collection. Document Id must be a new value in collection. Can be set buffer size to commit at each N documents

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
int Insert<T>(
	IEnumerable<T> entities,
	string collectionName = null
)

Parameters

entities  IEnumerableT
 
collectionName  String  (Optional)
 

Type Parameters

T

Return Value

Int32
See Also