/// <summary> /// Creates a collection for an Entity type explicitly using the given options /// </summary> /// <typeparam name="T">The type of entity that will be stored in the created collection</typeparam> /// <param name="options">The options to use for collection creation</param> /// <param name="cancellation">An optional cancellation token</param> public Task CreateCollection <T>(CreateCollectionOptions <T> options, CancellationToken cancellation = default) where T : IEntity { return(DB.CreateCollection <T>(options, cancellation, session)); }