Added ef core integration
All checks were successful
HopFrame CI / build (push) Successful in 46s
HopFrame CI / test (push) Successful in 50s

This commit is contained in:
2026-02-23 16:20:32 +01:00
parent e8ac7eb88a
commit 6730d57771
25 changed files with 929 additions and 63 deletions

View File

@@ -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
}
}
};