The Factory pattern is for creating objects, while the Repository pattern describes a general method of encapsulating CRUD operations against a data source.
The Factory pattern is for creating objects, while the Repository pattern describes a general method of encapsulating CRUD operations against a data source.