4 ms·
I don't follow this. My assumption for the repository interface is something like (language, error and domain agnostic): interface Repository<T> { Fet
by wlamartin 5y ago
I don't follow this. My assumption for the repository interface is something like (language, error and domain agnostic):
interface Repository<T> {
FetchAll() T[]
Fetch(id) T
Persist(T) id
}
Why would the SQL statements be reflected in the behaviour that the interface is providing?