This commit is contained in:
2026-05-08 04:30:04 +03:30
parent afe5c74d09
commit 34afd95640
20 changed files with 1022 additions and 713 deletions
+8 -2
View File
@@ -7,7 +7,13 @@ using xModels.Base;
namespace xDataService.Providers
{
public class XStringKeyGenerator : IXKeyGenerator<XBaseEntity<string>, string>
/// <summary>
/// Default Guid Key Generator ...
/// </summary>
/// <typeparam name="TEntity"></typeparam>
public class XStringKeyGenerator<TEntity> : IXKeyGenerator<TEntity, string>
where TEntity : XBaseEntity<string>
{
private readonly IXSequentialGuid sequentialGuid;
@@ -17,7 +23,7 @@ namespace xDataService.Providers
}
public async Task<string> GenerateKey(
IXBaseRepository<XBaseEntity<string>, string> repository,
IXBaseRepository<TEntity, string> repository,
CancellationToken cancellationToken = default
)
{