using System; using System.Collections.Generic; using System.Text; namespace SharedDATA.Api { /// /// Defines the interfaces for interfaces. /// public interface IRepositoryFactory { /// /// Gets the specified repository for the . /// /// True if providing custom repositry /// The type of the entity. /// An instance of type inherited from interface. IRepository GetRepository(bool hasCustomRepository = false) where TEntity : class; } }