Skip to content

Instantly share code, notes, and snippets.

@aidanmorgan
Created June 16, 2011 15:01
Show Gist options
  • Save aidanmorgan/1029426 to your computer and use it in GitHub Desktop.
Save aidanmorgan/1029426 to your computer and use it in GitHub Desktop.
namespace WhiskeyRecommender.Persistence
{
/// <summary>
/// A simple factory interface that is used for creating implementations of the <see cref="IUnitOfWork"/> interface.
/// </summary>
public interface IUnitOfWorkFactory
{
/// <summary>
/// Create a new <see cref="IUnitOfWork"/> with the provided name.
/// </summary>
IUnitOfWork Create(string Name);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment