/// Set true to automatically save changes to database.
/// This is useful for ORMs / database APIs those only save changes with an explicit method call, but you need to immediately save changes to the database.
/// </param>
voidDelete([NotNull]TEntityentity,boolautoSave=false);//TODO: Return true if deleted
/// This is useful for ORMs / database APIs those only save changes with an explicit method call, but you need to immediately save changes to the database.
/// </param>
/// <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
TaskDeleteAsync([NotNull]TEntityentity,boolautoSave=false,CancellationTokencancellationToken=default);//TODO: Return true if deleted