last ...
This commit is contained in:
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user