public IMappingRunner FindRunner(Type type)
        {
            IMappingRunner runner = new PlainObjectMappingRunner();

            if (type == typeof(IDataReader))
            {
                runner = new DataReaderMappingRunner();
            }

            return runner;
        }
Example #2
0
        public IMappingRunner FindRunner(Type type)
        {
            IMappingRunner runner = new PlainObjectMappingRunner();

            if (type == typeof(IDataReader))
            {
                runner = new DataReaderMappingRunner();
            }

            return(runner);
        }