Exemple #1
0
        public void BulkInsertDocuments(string tenantId, IEnumerable <object> documents, BulkInsertMode mode = BulkInsertMode.InsertsOnly,
                                        int batchSize = 1000)
        {
            var bulkInsertion = new BulkInsertion(Tenancy[tenantId], Options);

            bulkInsertion.BulkInsertDocuments(documents, mode, batchSize);
        }
Exemple #2
0
        public void BulkInsertDocuments(IEnumerable <object> documents, BulkInsertMode mode = BulkInsertMode.InsertsOnly, int batchSize = 1000)
        {
            var bulkInsertion = new BulkInsertion(Tenancy.Default, Options, _writerPool);

            bulkInsertion.BulkInsertDocuments(documents, mode, batchSize);
        }