Пример #1
0
        public QueryResult(IDbCommand command, IAdoMapper <T> mapper)
        {
            Command = command;
            Mapper  = mapper;

            MapToList();
        }
Пример #2
0
        protected AdoRepository(IAdoContext context, IAdoMapper <T> mapper)
        {
            Context = context;
            Mapper  = mapper;

            Uow             = context;
            _queryGenerator = context.QueryGenerator(mapper);
        }