コード例 #1
0
        public IMappingRunner FindRunner(Type type)
        {
            IMappingRunner runner = new PlainObjectMappingRunner();

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

            return runner;
        }
コード例 #2
0
        public IMappingRunner FindRunner(Type type)
        {
            IMappingRunner runner = new PlainObjectMappingRunner();

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

            return(runner);
        }