Initial Commit ...
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using xModels.Base;
|
||||
|
||||
namespace xDataService.Interfaces {
|
||||
public interface IXKeyGenerator<TEntity, TKey>
|
||||
where TEntity : XBaseEntity<TKey> {
|
||||
bool IsEmpty (TKey id);
|
||||
Task<TKey> GenerateKey (
|
||||
IXBaseRepository<TEntity, TKey> repository
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user