Added ef core integration
This commit is contained in:
@@ -8,18 +8,23 @@ namespace HopFrame.Tests.Core.Configurators;
|
||||
|
||||
public class HopFrameConfiguratorTests {
|
||||
private class TestRepository : IHopFrameRepository {
|
||||
public Task<IEnumerable> LoadPageGenericAsync(int page, int perPage, CancellationToken ct = default) {
|
||||
public Task<IEnumerable> LoadPageGenericAsync(int page, int perPage, CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public Task<int> CountAsync(CancellationToken ct = default) {
|
||||
public Task<int> CountAsync(CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public Task<IEnumerable> SearchGenericAsync(string searchTerm, int page, int perPage, CancellationToken ct = default) {
|
||||
public Task<IEnumerable> SearchGenericAsync(string searchTerm, int page, int perPage, CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
public Task CreateGenericAsync(object entry, CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task UpdateGenericAsync(object entry, CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task DeleteGenericAsync(object entry, CancellationToken ct) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
@@ -41,7 +46,8 @@ public class HopFrameConfiguratorTests {
|
||||
Identifier = "Id",
|
||||
DisplayName = "Id",
|
||||
Type = typeof(int),
|
||||
OrderIndex = 0
|
||||
OrderIndex = 0,
|
||||
PropertyType = PropertyType.Numeric
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user