Files
2026-05-05 11:34:32 +02:00

16 lines
513 B
C#

namespace Mixtape.Raven;
public partial class RavenOperations : IRavenOperations
{
/// <inheritdoc />
public virtual Task<T> Empty<T>(string flavorAlias = null) where T : MixtapeIdEntity, ISupportsFlavors, new() => Empty<T, T>(flavorAlias);
/// <inheritdoc />
public virtual Task<TFlavor> Empty<T, TFlavor>(string flavorAlias = null)
where T : MixtapeIdEntity, ISupportsFlavors, new()
where TFlavor : T, new()
{
return Task.FromResult(Flavors.Construct<T, TFlavor>(flavorAlias));
}
}