public DataContext(IOrmDataComponentFactory factory) { _repo = new Repository(factory); }
public Repository(IOrmDataComponentFactory ormDataComponentFactory) : base() { _ormDataComponentFactory = ormDataComponentFactory ?? throw new ArgumentNullException(nameof(ormDataComponentFactory)); }