26 lines
827 B
C#
26 lines
827 B
C#
using xCategoryService.Interfaces.Entities;
|
|
using xCategoryService.Models.Entities;
|
|
using xDataService.Configuration;
|
|
using xDataService.Db;
|
|
using xDataService.Interfaces;
|
|
using xDataService.Providers;
|
|
|
|
namespace xCategoryService.Providers.Entities
|
|
{
|
|
public class XCategoryEFRepository<TContext> : XBaseEFRepository<XCategory, int, TContext>, IXCategoryRepository
|
|
where TContext : XDbContext
|
|
{
|
|
public XCategoryEFRepository(
|
|
IXUnitOfWorks<TContext> unitOfWorks,
|
|
XDataServiceConfiguration configuration,
|
|
IXCategoryKeyGenerator keyGenerator = null,
|
|
IXCategoryRepositoryEvents baseRepositoryEvents = null
|
|
) : base(
|
|
unitOfWorks,
|
|
configuration,
|
|
keyGenerator,
|
|
baseRepositoryEvents
|
|
)
|
|
{ }
|
|
}
|
|
} |