예제 #1
0
        public SmartSqlMapper(SmartSqlOptions options)
        {
            SmartSqlOptions = options;
            SmartSqlOptions.Setup();
            _logger = LoggerFactory.CreateLogger <SmartSqlMapper>();
            _dataReaderDeserializer = DeserializerFactory.Create();
            NestedObjectConvertFactory convertFactory = new NestedObjectConvertFactory();

            _nestedObjectConverter = new NestedObjectConverter(convertFactory);
        }
예제 #2
0
 public SmartSqlMapper(SmartSqlOptions options)
 {
     _smartSqlOptions = options;
     _smartSqlOptions.Setup();
     _logger = LoggerFactory.CreateLogger <SmartSqlMapper>();
 }