/// <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 CreateCollectionAsync <T>(Action <CreateCollectionOptions <T> > options, CancellationToken cancellation = default) where T : IEntity { return(DB.CreateCollectionAsync(options, cancellation, Session)); }