Method AddNewObjectsAsync<TProps>(IEnumerable<IRedbObject<TProps>>, CancellationToken)
BULK INSERT: Create many new objects in one operation (does NOT check permissions).
Creates schemes if missing (similar to SaveAsync)
Generates IDs for objects with id == 0 via GetNextKey
Fully processes recursive nested objects, arrays, Class fields
Uses BulkInsert for maximum performance
If id != 0, relies on DB errors for duplicates (does not check in advance)
An object the given ones refer to that is already in the database is a reference: its id is written, the
object itself is neither inserted nor changed
A nested new object keeps the ParentId it carries (null when none was set), as in SaveAsync: a reference
is not a place in the tree
Task<List<long>> AddNewObjectsAsync<TProps>(IEnumerable<IRedbObject<TProps>> objects, CancellationToken cancellationToken = default) where TProps : class, new()