Click or drag to resize

LiteCollectionTInsertBulk Method

Note: This API is now obsolete.

Implements bulk insert documents in a collection. Usefull when need lots of documents.

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
[ObsoleteAttribute("Use normal Insert()")]
public int InsertBulk(
	IEnumerable<T> entities,
	int batchSize = 5000
)

Parameters

entities  IEnumerableT
 
batchSize  Int32  (Optional)
 

Return Value

Int32

Implements

ILiteCollectionTInsertBulk(IEnumerableT, Int32)
See Also