using System.Threading; using System.Threading.Tasks; using xModels.Base; namespace xDataService.Interfaces { /// /// Typed Base Key Generator ... /// /// /// public interface IXKeyGenerator where TEntity : XBaseEntity { bool IsEmpty(TKey id); Task GenerateKey( IXBaseRepository repository, CancellationToken cancellationToken = default ); } }