コード例 #1
0
        public RepositoryBase(PauloContext context)
        {
            _db = context;

            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(typeof(Mappings.MappingProfile));
            });

            _mapper = config.CreateMapper();
        }
コード例 #2
0
 public UnitOfWork(PauloContext context)
 {
     _context = context;
 }
コード例 #3
0
 public CarroRepository(PauloContext context) : base(context)
 {
 }
コード例 #4
0
 public ExemploRepository(PauloContext context) : base(context)
 {
 }
コード例 #5
0
 public BatataRepository(PauloContext context) : base(context)
 {
 }
コード例 #6
0
 public QueijoRepository(PauloContext context) : base(context)
 {
 }