Ejemplo n.º 1
0
        public AtsQueryContext(
            [NotNull] ILogger logger,
            [NotNull] IQueryBuffer queryBuffer,
            [NotNull] AtsConnection connection,
            [NotNull] AtsValueReaderFactory readerFactory)
            : base(
                Check.NotNull(logger, "logger"),
                Check.NotNull(queryBuffer, "queryBuffer"))
        {
            Check.NotNull(logger, "logger");
            Check.NotNull(readerFactory, "readerFactory");

            _connection         = connection;
            ValueReaderFactory  = readerFactory;
            TableQueryGenerator = new TableQueryGenerator();
        }
Ejemplo n.º 2
0
        public AtsQueryContext(
            [NotNull] IModel model,
            [NotNull] ILogger logger,
            [NotNull] StateManager stateManager,
            [NotNull] AtsConnection connection,
            [NotNull] AtsValueReaderFactory readerFactory)
            : base(model, logger, stateManager)
        {
            Check.NotNull(model, "model");
            Check.NotNull(logger, "logger");
            Check.NotNull(stateManager, "stateManager");
            Check.NotNull(readerFactory, "readerFactory");

            _connection         = connection;
            ValueReaderFactory  = readerFactory;
            TableQueryGenerator = new TableQueryGenerator();
        }
        public AtsQueryFactory([NotNull] AtsValueReaderFactory valueReaderFactory)
        {
            Check.NotNull(valueReaderFactory, "valueReaderFactory");

            _valueReaderFactory = valueReaderFactory;
        }
Ejemplo n.º 4
0
 public AtsQueryFactory([NotNull] AtsValueReaderFactory valueReaderFactory)
 {
     Check.NotNull(valueReaderFactory, "valueReaderFactory");
     _valueReaderFactory = valueReaderFactory;
 }