Skip to content

Instantly share code, notes, and snippets.

@mizrael
Created December 29, 2015 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizrael/9ed040b8fe7fe1aa921c to your computer and use it in GitHub Desktop.
Save mizrael/9ed040b8fe7fe1aa921c to your computer and use it in GitHub Desktop.
basic C# interface for a MongoDB Repository Factory
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