Created
December 29, 2015 09:57
-
-
Save mizrael/9ed040b8fe7fe1aa921c to your computer and use it in GitHub Desktop.
basic C# interface for a MongoDB Repository Factory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IRepositoryFactory | |
{ | |
IRepository<TEntity> Create<TEntity>(RepositoryOptions options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment