Mineplex2018-withcommit/Website/LOC.Website.Common/Contexts/IRepositoryFactory.cs

12 lines
294 B
C#
Raw Normal View History

2013-08-27 17:14:08 +02:00
namespace LOC.Core.Data
{
using System.Data.Entity;
using StructureMap;
[PluginFamily(IsSingleton = true, Scope = InstanceScope.Singleton)]
public interface IRepositoryFactory
{
IRepository CreateRepository<TContext>() where TContext : DbContext, new();
}
}