last ...
This commit is contained in:
@@ -12,7 +12,7 @@ namespace xDataService.Providers
|
||||
/// </summary>
|
||||
/// <typeparam name="TEntity"></typeparam>
|
||||
|
||||
public class XStringKeyGenerator<TEntity> : IXKeyGenerator<TEntity, string>
|
||||
public class XStringKeyGenerator<TEntity> : XKeyGenerator<TEntity, string>, IXKeyGenerator<TEntity, string>
|
||||
where TEntity : XBaseEntity<string>
|
||||
{
|
||||
private readonly IXSequentialGuid sequentialGuid;
|
||||
@@ -22,7 +22,7 @@ namespace xDataService.Providers
|
||||
this.sequentialGuid = sequentialGuid;
|
||||
}
|
||||
|
||||
public async Task<string> GenerateKey(
|
||||
public override async Task<string> GenerateKey(
|
||||
IXBaseRepository<TEntity, string> repository,
|
||||
CancellationToken cancellationToken = default
|
||||
)
|
||||
@@ -41,7 +41,7 @@ namespace xDataService.Providers
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsEmpty(string id)
|
||||
public override bool IsEmpty(string id)
|
||||
{
|
||||
return id.IsNullOrEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user